Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.747/4.747, allocations: 0.5623 GB / 0.5769 GB, free: 3.336 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00235/0.00235, allocations: 362 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.849/3.849, allocations: 410.7 MB / 1.112 GB, free: 6.094 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001801/0.0018, allocations: 186.6 kB / 1.225 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000525/0.0005251, allocations: 12 kB / 1.348 GB, free: 8.238 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5752/0.5757, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet): time 0.05255/0.6283, allocations: 57.42 MB / 1.517 GB, free: 226.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01492/0.6433, allocations: 10.57 MB / 1.527 GB, free: 216.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002164/0.6455, allocations: 75.44 kB / 1.527 GB, free: 216.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002418/0.6479, allocations: 0.6898 MB / 1.528 GB, free: 215.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.006087/0.6541, allocations: 1.936 MB / 1.53 GB, free: 213.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.005945/0.66, allocations: 1.803 MB / 1.532 GB, free: 212 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.005453/0.6655, allocations: 4.511 MB / 1.536 GB, free: 207.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001878/0.6674, allocations: 0.966 MB / 1.537 GB, free: 206.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003547/0.671, allocations: 1.516 MB / 1.538 GB, free: 205 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001939/0.673, allocations: 1.145 MB / 1.539 GB, free: 203.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002797/0.6733, allocations: 60 kB / 1.54 GB, free: 203.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002788/0.6761, allocations: 0.9548 MB / 1.54 GB, free: 202.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004262/0.6766, allocations: 294.6 kB / 1.541 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0006423/0.6772, allocations: 358.4 kB / 1.541 GB, free: 202.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002472/0.6797, allocations: 1.718 MB / 1.543 GB, free: 200.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.24e-06/0.6797, allocations: 0 / 1.543 GB, free: 200.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.179e-06/0.6798, allocations: 0 / 1.543 GB, free: 200.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.235e-05/0.6798, allocations: 0 / 1.543 GB, free: 200.4 MB / 0.8542 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.002926/0.6827, allocations: 1.887 MB / 1.545 GB, free: 198.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.6828, allocations: 12.16 kB / 1.545 GB, free: 198.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003676/0.6865, allocations: 0.6494 MB / 1.545 GB, free: 197.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002574/0.6891, allocations: 1.173 MB / 1.546 GB, free: 196.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.189e-05/0.6892, allocations: 78 kB / 1.546 GB, free: 196.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/0.6894, allocations: 115.9 kB / 1.547 GB, free: 196.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003197/0.6926, allocations: 1.347 MB / 1.548 GB, free: 195 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/0.6927, allocations: 0 / 1.548 GB, free: 195 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.6928, allocations: 51.92 kB / 1.548 GB, free: 194.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/0.6929, allocations: 24 kB / 1.548 GB, free: 194.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003952/0.6968, allocations: 1.257 MB / 1.549 GB, free: 193.7 MB / 0.8542 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.008551/0.7054, allocations: 6.398 MB / 1.555 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003584/0.709, allocations: 1.249 MB / 1.557 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001868/0.7109, allocations: 0.6758 MB / 1.557 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001481/0.7125, allocations: 2.26 MB / 1.56 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002067/0.7145, allocations: 0.8288 MB / 1.56 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=100): time 5.28e-06/0.7146, allocations: 0 / 1.56 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=100): time 0.006091/0.7207, allocations: 2.174 MB / 1.562 GB, free: 179 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.7208, allocations: 149.5 kB / 1.563 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/0.7226, allocations: 1.214 MB / 1.564 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.7227, allocations: 45.7 kB / 1.564 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005151/0.7232, allocations: 0.69 MB / 1.565 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002901/0.7235, allocations: 327.3 kB / 1.565 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.728e-05/0.7236, allocations: 24 kB / 1.565 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.271e-05/0.7237, allocations: 345.9 kB / 1.565 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/0.7255, allocations: 0.5602 MB / 1.566 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001894/0.7274, allocations: 0.7843 MB / 1.566 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001843/0.7293, allocations: 0.6755 MB / 1.567 GB, free: 174.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.767e-06/0.7293, allocations: 4 kB / 1.567 GB, free: 174.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00456/0.7339, allocations: 1.738 MB / 1.569 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.7341, allocations: 311.3 kB / 1.569 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.7341, allocations: 5.828 kB / 1.569 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/0.7341, allocations: 12 kB / 1.569 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.7356, allocations: 279.6 kB / 1.569 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.858e-05/0.7357, allocations: 15.92 kB / 1.569 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.7375, allocations: 230.8 kB / 1.57 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/0.7377, allocations: 47.98 kB / 1.57 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.7377, allocations: 4 kB / 1.57 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004376/0.7421, allocations: 1.64 MB / 1.571 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.7421, allocations: 11.97 kB / 1.571 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.7422, allocations: 12.53 kB / 1.571 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/0.7436, allocations: 275.6 kB / 1.572 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.7436, allocations: 11.94 kB / 1.572 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/0.7454, allocations: 227 kB / 1.572 GB, free: 169.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.7456, allocations: 51.97 kB / 1.572 GB, free: 169.1 MB / 0.8542 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 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007923/0.7464, allocations: 0.4919 MB / 1.572 GB, free: 168.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002987/0.7467, allocations: 162.1 kB / 1.573 GB, free: 168.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005654/0.7524, allocations: 2.319 MB / 1.575 GB, free: 166.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.983e-05/0.7525, allocations: 19.98 kB / 1.575 GB, free: 166.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.823e-06/0.7525, allocations: 0 / 1.575 GB, free: 166.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/0.7525, allocations: 3.984 kB / 1.575 GB, free: 166.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007664/0.7602, allocations: 3.648 MB / 1.578 GB, free: 162.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/0.7603, allocations: 4 kB / 1.578 GB, free: 162.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/0.7616, allocations: 227.8 kB / 1.579 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.281e-05/0.7617, allocations: 4 kB / 1.579 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/0.7618, allocations: 43.97 kB / 1.579 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.101e-05/0.7618, allocations: 7.953 kB / 1.579 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.378e-06/0.7618, allocations: 4 kB / 1.579 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007186/0.769, allocations: 3.058 MB / 1.582 GB, free: 158.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008475/0.7699, allocations: 398.6 kB / 1.582 GB, free: 158.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002869/0.7702, allocations: 36.11 kB / 1.582 GB, free: 158.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001527/0.7718, allocations: 167.7 kB / 1.582 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.7719, allocations: 80.84 kB / 1.582 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/0.7721, allocations: 47.97 kB / 1.582 GB, free: 158.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001322/0.7734, allocations: 0.8187 MB / 1.583 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.33e-07/0.7734, allocations: 0 / 1.583 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002266/0.7757, allocations: 0.8578 MB / 1.584 GB, free: 156.5 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001138/0.7769, allocations: 0.5544 MB / 1.585 GB, free: 156 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006731/0.7836, allocations: 2.76 MB / 1.587 GB, free: 153.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.626e-06/0.7837, allocations: 0 / 1.587 GB, free: 153.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002443/0.7861, allocations: 1.094 MB / 1.588 GB, free: 152 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003613/0.7898, allocations: 0.6392 MB / 1.589 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006448/0.7963, allocations: 3.754 MB / 1.593 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007802/0.7971, allocations: 1.31 MB / 1.594 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002488/0.7996, allocations: 430.8 kB / 1.594 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004538/0.8001, allocations: 143.4 kB / 1.594 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.779e-06/0.8001, allocations: 0 / 1.594 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.08767/0.8878, allocations: 29.88 MB / 1.624 GB, free: 116.5 MB / 0.8542 GB