Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.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.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") translateModel(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001087, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01005/0.01005, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.43/1.43, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.862/2.862, allocations: 473.4 MB / 0.7469 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003537, allocations: 10.97 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3131, allocations: 162.2 MB / 1.074 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.004368/0.3175, allocations: 3.518 MB / 1.078 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003699/0.3213, allocations: 2.204 MB / 1.08 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008194/0.3221, allocations: 27.88 kB / 1.08 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004065/0.3226, allocations: 146.5 kB / 1.08 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003336/0.3229, allocations: 75.38 kB / 1.08 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.3242, allocations: 0.5604 MB / 1.081 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001407/0.3256, allocations: 1.381 MB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/0.327, allocations: 0.9534 MB / 1.083 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004644/0.3274, allocations: 337.8 kB / 1.083 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003613/0.3278, allocations: 409.1 kB / 1.084 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.582e-05/0.3279, allocations: 36 kB / 1.084 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.328, allocations: 47.98 kB / 1.084 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.3282, allocations: 175 kB / 1.084 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003962/0.3286, allocations: 0.4943 MB / 1.084 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.3303, allocations: 1.981 MB / 1.086 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3303, allocations: 3.938 kB / 1.086 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3303, allocations: 4 kB / 1.086 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.374e-05/0.3303, allocations: 0 / 1.086 GB, free: 11.08 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 361 * Number of variables: 361 Notification: Performance of Generate backend data structure: time 0.002232/0.3326, allocations: 1.259 MB / 1.087 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.3326, allocations: 16.03 kB / 1.087 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002421/0.3329, allocations: 151.2 kB / 1.088 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.334, allocations: 0.7336 MB / 1.088 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.35e-05/0.3341, allocations: 107.2 kB / 1.088 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/0.3343, allocations: 144.4 kB / 1.089 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/0.3365, allocations: 1.143 MB / 1.09 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.3365, allocations: 192 / 1.09 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.3366, allocations: 59.94 kB / 1.09 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/0.3367, allocations: 36 kB / 1.09 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.3386, allocations: 0.9599 MB / 1.091 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004731/0.3434, allocations: 3.166 MB / 1.094 GB, free: 3.129 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.3445, allocations: 0.5406 MB / 1.094 GB, free: 2.578 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005464/0.345, allocations: 327.3 kB / 1.095 GB, free: 2.254 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.188e-05/0.3451, allocations: 29.14 kB / 1.095 GB, free: 2.227 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007259/0.3458, allocations: 405.7 kB / 1.095 GB, free: 1.801 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=74): time 2.495e-06/0.3458, allocations: 3.938 kB / 1.095 GB, free: 1.797 MB / 0.8419 GB Notification: Performance of matching and sorting (n=74): time 0.001645/0.3475, allocations: 0.8141 MB / 1.096 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.848e-05/0.3476, allocations: 170.7 kB / 1.096 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009759/0.3486, allocations: 0.821 MB / 1.097 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.55e-05/0.3487, allocations: 41.7 kB / 1.097 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004417/0.3491, allocations: 0.5651 MB / 1.097 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/0.3493, allocations: 244.5 kB / 1.098 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.3495, allocations: 121.6 kB / 1.098 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3496, allocations: 341.9 kB / 1.098 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005778/0.3502, allocations: 281.9 kB / 1.098 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007105/0.3509, allocations: 0.5036 MB / 1.099 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.3521, allocations: 0.7452 MB / 1.1 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.3521, allocations: 0 / 1.1 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001679/0.3538, allocations: 0.9629 MB / 1.101 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.942e-05/0.3539, allocations: 33.7 kB / 1.101 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.3539, allocations: 8 kB / 1.101 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.3539, allocations: 8 kB / 1.101 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006363/0.3545, allocations: 183.7 kB / 1.101 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.165e-05/0.3546, allocations: 23.97 kB / 1.101 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007844/0.3554, allocations: 212.2 kB / 1.101 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.847e-05/0.3555, allocations: 43.98 kB / 1.101 GB, free: 11.43 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition1,$whenCondition2,actAirSet_RehBox1.conInt4.y,actAirSet_RehBox1.conInt3.y,actAirSet_RehBox1.conInt2.y,actAirSet_RehBox1.conInt1.y,actAirSet_RehBox1.conInt.y,actAirSet_RehBox.conInt4.y,actAirSet_RehBox.conInt3.y,actAirSet_RehBox.conInt2.y,actAirSet_RehBox.conInt1.y,actAirSet_RehBox.conInt.y,actAirSet_RehBox.gre.y,actAirSet_RehBox.greThr1.y,actAirSet_RehBox.swi3.u2,actAirSet_RehBox.intEqu1.y,actAirSet_RehBox.intEqu2.y,actAirSet_RehBox.intEqu3.y,actAirSet_RehBox.intEqu4.y,actAirSet_RehBox1.gre.y,actAirSet_RehBox1.greThr1.y,actAirSet_RehBox1.swi3.u2,actAirSet_RehBox1.intEqu1.y,actAirSet_RehBox1.intEqu2.y,actAirSet_RehBox1.intEqu3.y,actAirSet_RehBox1.intEqu4.y,winSta.y,$PRE.winSta.y,actAirSet_RehBox1.greThr.greHys.y,$PRE.actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox1.not1.y,actAirSet_RehBox.greThr.greHys.y,$PRE.actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox.not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 1 * 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.0004292/0.3559, allocations: 289.6 kB / 1.101 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.356, allocations: 90.88 kB / 1.101 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.3573, allocations: 0.6368 MB / 1.102 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.3573, allocations: 11.94 kB / 1.102 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.3574, allocations: 4.5 kB / 1.102 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.3574, allocations: 3.984 kB / 1.102 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/0.3605, allocations: 2.331 MB / 1.104 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.3605, allocations: 12 kB / 1.104 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005065/0.361, allocations: 144.5 kB / 1.104 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-05/0.3611, allocations: 15.94 kB / 1.104 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.662e-05/0.3611, allocations: 27.98 kB / 1.104 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.236e-05/0.3611, allocations: 11.94 kB / 1.105 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.3611, allocations: 8 kB / 1.105 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.3626, allocations: 0.9595 MB / 1.105 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.3628, allocations: 183.8 kB / 1.106 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.3629, allocations: 27.94 kB / 1.106 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004568/0.3633, allocations: 59.95 kB / 1.106 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.3635, allocations: 92.14 kB / 1.106 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.732e-05/0.3635, allocations: 32 kB / 1.106 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006472/0.3642, allocations: 0.5264 MB / 1.106 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3642, allocations: 0 / 1.106 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008352/0.365, allocations: 250.8 kB / 1.107 GB, free: 5.434 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox1.greThr.greHys.y,winSta.y,actAirSet_RehBox1.not1.y,actAirSet_RehBox.not1.y) * Number of discrete states: 2 (actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox.greThr.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002091/0.3653, allocations: 140.1 kB / 1.107 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001454/0.3667, allocations: 0.7741 MB / 1.107 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3667, allocations: 0 / 1.107 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007183/0.3675, allocations: 385.2 kB / 1.108 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.3689, allocations: 119.7 kB / 1.108 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.372, allocations: 2.329 MB / 1.11 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006457/0.3726, allocations: 1.069 MB / 1.111 GB, free: 472 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0005049/0.3731, allocations: 127 kB / 1.111 GB, free: 340 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.3733, allocations: 83.41 kB / 1.111 GB, free: 256 kB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.3734, allocations: 0 / 1.111 GB, free: 256 kB / 0.8575 GB Notification: Performance of Templates: time 0.01564/0.389, allocations: 7.535 MB / 1.119 GB, free: 8.82 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & ./Buildings_1.6_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)