Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000775/0.0007749, allocations: 91.3 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005203/0.005203, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.403/1.403, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.903/2.903, allocations: 473.4 MB / 0.7469 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003689, allocations: 11.38 kB / 0.9158 GB, free: 33.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3703, allocations: 162.2 MB / 1.074 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet): time 0.06262/0.4329, allocations: 60.7 MB / 1.133 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02233/0.4553, allocations: 11.45 MB / 1.145 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003121/0.4585, allocations: 67.5 kB / 1.145 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002673/0.4612, allocations: 0.6526 MB / 1.145 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006565/0.4678, allocations: 1.796 MB / 1.147 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005969/0.4738, allocations: 1.772 MB / 1.149 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.008348/0.4821, allocations: 5.222 MB / 1.154 GB, free: 5.598 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003012/0.4852, allocations: 1.052 MB / 1.155 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005917/0.4912, allocations: 1.664 MB / 1.157 GB, free: 2.836 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003478/0.4947, allocations: 1.229 MB / 1.158 GB, free: 1.602 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0006744/0.4954, allocations: 60 kB / 1.158 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004505/0.4999, allocations: 1.423 MB / 1.159 GB, free: 120 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007903/0.5007, allocations: 306.5 kB / 1.159 GB, free: 15.82 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002344/0.5031, allocations: 0.8369 MB / 1.16 GB, free: 14.97 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.006395/0.5095, allocations: 2.515 MB / 1.163 GB, free: 12.45 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.5095, allocations: 0 / 1.163 GB, free: 12.45 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.415e-06/0.5095, allocations: 0 / 1.163 GB, free: 12.45 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001146/0.5097, allocations: 0 / 1.163 GB, free: 12.45 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.004391/0.5141, allocations: 1.863 MB / 1.165 GB, free: 10.51 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.5141, allocations: 8.031 kB / 1.165 GB, free: 10.5 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003744/0.5179, allocations: 0.6494 MB / 1.165 GB, free: 9.848 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002964/0.5209, allocations: 1.222 MB / 1.166 GB, free: 8.57 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.521, allocations: 81.94 kB / 1.166 GB, free: 8.492 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003898/0.5214, allocations: 111.9 kB / 1.167 GB, free: 8.383 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003814/0.5252, allocations: 1.355 MB / 1.168 GB, free: 6.961 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.289e-05/0.5253, allocations: 4 kB / 1.168 GB, free: 6.957 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.5254, allocations: 43.98 kB / 1.168 GB, free: 6.914 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.081e-05/0.5255, allocations: 28 kB / 1.168 GB, free: 6.887 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00388/0.5294, allocations: 1.272 MB / 1.169 GB, free: 5.613 MB / 0.92 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.01046/0.5398, allocations: 6.393 MB / 1.175 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00339/0.5433, allocations: 1.262 MB / 1.177 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001687/0.545, allocations: 0.6836 MB / 1.177 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002282/0.5473, allocations: 2.26 MB / 1.18 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002042/0.5494, allocations: 0.8289 MB / 1.18 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=100): time 5.47e-06/0.5494, allocations: 3.984 kB / 1.18 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of matching and sorting (n=100): time 0.006022/0.5554, allocations: 2.182 MB / 1.183 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/0.5556, allocations: 145.5 kB / 1.183 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002316/0.5579, allocations: 1.217 MB / 1.184 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001523/0.5581, allocations: 45.7 kB / 1.184 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007267/0.5588, allocations: 0.6861 MB / 1.185 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004479/0.5593, allocations: 323.3 kB / 1.185 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.5595, allocations: 97.59 kB / 1.185 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.5596, allocations: 341.9 kB / 1.185 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/0.5613, allocations: 0.568 MB / 1.186 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001732/0.563, allocations: 0.7793 MB / 1.187 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003334/0.5663, allocations: 1.481 MB / 1.188 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.5664, allocations: 3.938 kB / 1.188 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004436/0.5708, allocations: 1.754 MB / 1.19 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002258/0.5711, allocations: 307.6 kB / 1.19 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.5711, allocations: 8 kB / 1.19 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/0.5711, allocations: 8 kB / 1.19 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.5724, allocations: 275.6 kB / 1.19 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.222e-05/0.5724, allocations: 11.98 kB / 1.19 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/0.5742, allocations: 230.9 kB / 1.191 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/0.5743, allocations: 51.98 kB / 1.191 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.5743, allocations: 7.938 kB / 1.191 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004057/0.5784, allocations: 1.645 MB / 1.192 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.5784, allocations: 4 kB / 1.192 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.5785, allocations: 8 kB / 1.192 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.5797, allocations: 279.9 kB / 1.193 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.5797, allocations: 8 kB / 1.193 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.5814, allocations: 230.9 kB / 1.193 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.5815, allocations: 51.97 kB / 1.193 GB, free: 12.05 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 21 (TSetCoolHeat.nextEventScaled,TSetCoolHeat.nextEvent,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.b,TSetCoolHeat.a,TSetCool.nextEventScaled,TSetCool.nextEvent,$PRE.TSetCool.nextEvent,TSetCool.last,TSetCool.b,TSetCool.a,TSetHeat.nextEventScaled,TSetHeat.nextEvent,$PRE.TSetHeat.nextEvent,TSetHeat.last,TSetHeat.b,TSetHeat.a,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 3 * 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.0008314/0.5824, allocations: 0.4919 MB / 1.193 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003823/0.5828, allocations: 170 kB / 1.193 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005299/0.5881, allocations: 2.315 MB / 1.196 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.878e-05/0.5881, allocations: 19.98 kB / 1.196 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.5881, allocations: 4 kB / 1.196 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.5882, allocations: 7.922 kB / 1.196 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007469/0.5956, allocations: 3.643 MB / 1.199 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.5957, allocations: 0 / 1.199 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/0.5969, allocations: 231.8 kB / 1.199 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.69e-05/0.5969, allocations: 8 kB / 1.2 GB, free: 5 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.802e-05/0.597, allocations: 39.97 kB / 1.2 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-05/0.597, allocations: 8 kB / 1.2 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.597, allocations: 0 / 1.2 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006865/0.6039, allocations: 3.078 MB / 1.203 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008697/0.6048, allocations: 398.5 kB / 1.203 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003534/0.6052, allocations: 28 kB / 1.203 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/0.6066, allocations: 159.8 kB / 1.203 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.6068, allocations: 80.84 kB / 1.203 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.6069, allocations: 51.91 kB / 1.203 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001429/0.6084, allocations: 0.822 MB / 1.204 GB, free: 284 kB / 0.9512 GB Notification: Performance of sort global known variables: time 3.11e-07/0.6084, allocations: 0 / 1.204 GB, free: 284 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002602/0.611, allocations: 0.854 MB / 1.205 GB, free: 15.42 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * When equations: 0 * 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.001552/0.6126, allocations: 0.5652 MB / 1.205 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.006358/0.6189, allocations: 2.779 MB / 1.208 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.619, allocations: 4 kB / 1.208 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002209/0.6212, allocations: 1.094 MB / 1.209 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003803/0.625, allocations: 0.6119 MB / 1.21 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00688/0.6319, allocations: 3.862 MB / 1.214 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.633, allocations: 1.274 MB / 1.215 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00187/0.6348, allocations: 431.4 kB / 1.215 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004286/0.6353, allocations: 135.4 kB / 1.215 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of SimCode: time 1.162e-06/0.6353, allocations: 0 / 1.215 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of Templates: time 0.05513/0.6904, allocations: 30.26 MB / 1.245 GB, free: 6.664 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)