Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 193.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00199/0.00199, allocations: 283 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9191/0.9191, allocations: 169.3 MB / 0.4982 GB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 97.72 kB / 0.5952 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.147, allocations: 86.98 MB / 0.6802 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.4669/0.6139, allocations: 193.8 MB / 0.8694 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008387/0.6224, allocations: 5.143 MB / 0.8745 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007966/0.6232, allocations: 47 kB / 0.8745 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00169/0.6249, allocations: 0.8038 MB / 0.8753 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005725/0.6307, allocations: 2.607 MB / 0.8778 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002455/0.6331, allocations: 1.099 MB / 0.8789 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002798/0.6359, allocations: 2.605 MB / 0.8815 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.637, allocations: 0.9001 MB / 0.8823 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001566/0.6386, allocations: 1.075 MB / 0.8834 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009905/0.6396, allocations: 0.9439 MB / 0.8843 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.6397, allocations: 78.97 kB / 0.8844 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003148/0.6429, allocations: 1.778 MB / 0.8861 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003797/0.6433, allocations: 437 kB / 0.8865 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006227/0.6439, allocations: 0.6429 MB / 0.8872 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002712/0.6466, allocations: 2.14 MB / 0.8893 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.6466, allocations: 0 / 0.8893 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.344e-06/0.6467, allocations: 3.312 kB / 0.8893 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.474e-05/0.6467, allocations: 3.938 kB / 0.8893 GB, free: 15.74 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.00457/0.6512, allocations: 1.932 MB / 0.8912 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.6513, allocations: 10.09 kB / 0.8912 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003813/0.6551, allocations: 0.658 MB / 0.8918 GB, free: 14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.6564, allocations: 0.8809 MB / 0.8927 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.8e-05/0.6565, allocations: 65.06 kB / 0.8927 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.6566, allocations: 92.61 kB / 0.8928 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002961/0.6596, allocations: 1.472 MB / 0.8943 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.6596, allocations: 4 kB / 0.8943 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.6598, allocations: 40 kB / 0.8943 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.493e-05/0.6598, allocations: 41.98 kB / 0.8943 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004064/0.6639, allocations: 1.522 MB / 0.8958 GB, free: 10.56 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00703/0.6709, allocations: 5.503 MB / 0.9012 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003602/0.6745, allocations: 1.273 MB / 0.9024 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001712/0.6763, allocations: 0.6552 MB / 0.9031 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000853/0.6771, allocations: 0.5773 MB / 0.9036 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001823/0.679, allocations: 0.7224 MB / 0.9043 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 2.585e-06/0.679, allocations: 0 / 0.9043 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.005546/0.6845, allocations: 1.87 MB / 0.9062 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.6846, allocations: 60.06 kB / 0.9062 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.686, allocations: 1.246 MB / 0.9074 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.896e-05/0.6861, allocations: 45.64 kB / 0.9075 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004644/0.6866, allocations: 0.583 MB / 0.9081 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002357/0.6868, allocations: 276.1 kB / 0.9083 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003039/0.6871, allocations: 182.5 kB / 0.9085 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.6873, allocations: 341.9 kB / 0.9088 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/0.6888, allocations: 0.5388 MB / 0.9094 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/0.6906, allocations: 0.818 MB / 0.9101 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003292/0.694, allocations: 1.328 MB / 0.9114 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.694, allocations: 4 kB / 0.9115 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003735/0.6977, allocations: 1.487 MB / 0.9129 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.6977, allocations: 15.94 kB / 0.9129 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.6978, allocations: 8 kB / 0.9129 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.6978, allocations: 12 kB / 0.9129 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.6992, allocations: 291.6 kB / 0.9132 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.392e-05/0.6992, allocations: 15.94 kB / 0.9132 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.7004, allocations: 198.8 kB / 0.9134 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.7006, allocations: 51.97 kB / 0.9135 GB, free: 7.797 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004731/0.701, allocations: 337.1 kB / 0.9138 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002059/0.7013, allocations: 138.2 kB / 0.9139 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003807/0.7051, allocations: 1.407 MB / 0.9153 GB, free: 5.914 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.7051, allocations: 11.94 kB / 0.9153 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.7051, allocations: 7.922 kB / 0.9153 GB, free: 5.895 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.7051, allocations: 7.984 kB / 0.9153 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005572/0.7107, allocations: 2.803 MB / 0.9181 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.7107, allocations: 7.938 kB / 0.9181 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/0.7119, allocations: 228.2 kB / 0.9183 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.7119, allocations: 7.938 kB / 0.9183 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.172e-05/0.712, allocations: 27.97 kB / 0.9183 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/0.712, allocations: 11.98 kB / 0.9183 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.712, allocations: 7.938 kB / 0.9183 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005381/0.7174, allocations: 2.248 MB / 0.9205 GB, free: 396 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004158/0.7178, allocations: 291.2 kB / 0.9208 GB, free: 84 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/0.718, allocations: 23.98 kB / 0.9208 GB, free: 60 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.7191, allocations: 107.9 kB / 0.9209 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.7192, allocations: 64.36 kB / 0.921 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.508e-05/0.7193, allocations: 41.66 kB / 0.921 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001007/0.7203, allocations: 0.8522 MB / 0.9219 GB, free: 15 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7203, allocations: 0 / 0.9219 GB, free: 15 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009868/0.7213, allocations: 311.7 kB / 0.9222 GB, free: 14.69 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001236/0.7226, allocations: 0.5371 MB / 0.9227 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004014/0.7266, allocations: 1.407 MB / 0.9241 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7266, allocations: 4 kB / 0.9241 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001792/0.7284, allocations: 0.6404 MB / 0.9247 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/0.731, allocations: 0.5977 MB / 0.9253 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00496/0.736, allocations: 2.589 MB / 0.9278 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007792/0.7368, allocations: 1.181 MB / 0.929 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001331/0.7381, allocations: 345.9 kB / 0.9293 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003695/0.7385, allocations: 107.4 kB / 0.9294 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of SimCode: time 3.31e-07/0.7385, allocations: 0 / 0.9294 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of Templates: time 0.03587/0.7744, allocations: 22.23 MB / 0.9511 GB, free: 1.469 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)