Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 107.5 kB / 16.37 MB, free: 6.262 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.001259/0.00126, allocations: 194.1 kB / 17.3 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.1 MB / 223.2 MB, free: 12.19 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.895/1.895, allocations: 292.3 MB / 0.5496 GB, free: 17.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 67.91 kB / 0.673 GB, free: 5.781 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2431, allocations: 114.5 MB / 0.7848 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves): time 0.4143/0.6574, allocations: 4.728 MB / 0.7894 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002935/0.6604, allocations: 1.609 MB / 0.791 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006402/0.6611, allocations: 25.47 kB / 0.791 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004037/0.6615, allocations: 141 kB / 0.7912 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003193/0.6618, allocations: 139.5 kB / 0.7913 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009802/0.6628, allocations: 0.5695 MB / 0.7919 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001127/0.664, allocations: 1.447 MB / 0.7933 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001327/0.6653, allocations: 1.12 MB / 0.7944 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000654/0.666, allocations: 0.5109 MB / 0.7949 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006207/0.6666, allocations: 0.5472 MB / 0.7954 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002737/0.6669, allocations: 175.4 kB / 0.7956 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.6672, allocations: 180 kB / 0.7957 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003059/0.6675, allocations: 343.6 kB / 0.7961 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005367/0.668, allocations: 0.6076 MB / 0.7967 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001971/0.67, allocations: 1.948 MB / 0.7986 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.67, allocations: 0 / 0.7986 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.585e-06/0.67, allocations: 0 / 0.7986 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.827e-05/0.6701, allocations: 0 / 0.7986 GB, free: 43.89 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.002568/0.6726, allocations: 1.44 MB / 0.8 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.6727, allocations: 12.53 kB / 0.8 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002059/0.6729, allocations: 132.5 kB / 0.8001 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.6741, allocations: 0.709 MB / 0.8008 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.297e-05/0.6742, allocations: 99.52 kB / 0.8009 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/0.6743, allocations: 121.3 kB / 0.801 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/0.6764, allocations: 1.151 MB / 0.8021 GB, free: 41.81 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.6765, allocations: 6.469 kB / 0.8021 GB, free: 41.81 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.312e-05/0.6766, allocations: 50.52 kB / 0.8022 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.253e-05/0.6766, allocations: 26.91 kB / 0.8022 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.6784, allocations: 0.8267 MB / 0.803 GB, free: 41.47 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005256/0.6837, allocations: 3.684 MB / 0.8066 GB, free: 39.19 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.6853, allocations: 0.7306 MB / 0.8073 GB, free: 38.86 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007124/0.686, allocations: 342.5 kB / 0.8077 GB, free: 38.73 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.454e-05/0.6861, allocations: 15.27 kB / 0.8077 GB, free: 38.72 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.6871, allocations: 492.4 kB / 0.8081 GB, free: 38.52 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=77): time 2.655e-06/0.6871, allocations: 1.094 kB / 0.8081 GB, free: 38.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=77): time 0.002547/0.6897, allocations: 1.022 MB / 0.8091 GB, free: 38.12 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.6897, allocations: 88.55 kB / 0.8092 GB, free: 38.03 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.6909, allocations: 0.7183 MB / 0.8099 GB, free: 37.7 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.691, allocations: 59.91 kB / 0.81 GB, free: 37.64 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003912/0.6914, allocations: 495.1 kB / 0.8105 GB, free: 37.27 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.6915, allocations: 221.2 kB / 0.8107 GB, free: 37.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003596/0.6919, allocations: 219.5 kB / 0.8109 GB, free: 37 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.6921, allocations: 399 kB / 0.8113 GB, free: 36.65 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007239/0.6928, allocations: 302.9 kB / 0.8115 GB, free: 36.53 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008613/0.6937, allocations: 0.5816 MB / 0.8121 GB, free: 36.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.695, allocations: 0.774 MB / 0.8129 GB, free: 35.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.695, allocations: 1.438 kB / 0.8129 GB, free: 35.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001975/0.697, allocations: 0.9618 MB / 0.8138 GB, free: 35.12 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.697, allocations: 7.406 kB / 0.8138 GB, free: 35.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.6971, allocations: 9.875 kB / 0.8138 GB, free: 35.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.068e-05/0.6971, allocations: 16.25 kB / 0.8138 GB, free: 35.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006234/0.6977, allocations: 164.7 kB / 0.814 GB, free: 35.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.718e-05/0.6978, allocations: 22.67 kB / 0.814 GB, free: 35.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006174/0.6984, allocations: 131.1 kB / 0.8141 GB, free: 35.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.329e-05/0.6985, allocations: 41.41 kB / 0.8142 GB, free: 35 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009334/0.6994, allocations: 498.1 kB / 0.8147 GB, free: 34.74 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007632/0.7002, allocations: 0.5753 MB / 0.8152 GB, free: 34.28 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001168/0.7014, allocations: 0.7678 MB / 0.816 GB, free: 33.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.012e-06/0.7014, allocations: 2.812 kB / 0.816 GB, free: 33.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=131) (initialization_lambda0): time 0.001942/0.7033, allocations: 0.9454 MB / 0.8169 GB, free: 33.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.7034, allocations: 12.28 kB / 0.8169 GB, free: 33.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.7034, allocations: 10.88 kB / 0.8169 GB, free: 33.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.7034, allocations: 16.78 kB / 0.8169 GB, free: 33.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006089/0.704, allocations: 158.7 kB / 0.8171 GB, free: 33.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.072e-05/0.7041, allocations: 22.69 kB / 0.8171 GB, free: 33.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006202/0.7047, allocations: 109.1 kB / 0.8172 GB, free: 33.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.112e-05/0.7048, allocations: 41.81 kB / 0.8173 GB, free: 33.24 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 63 ($PRE.damVal.truHol2.onDelay.u,$PRE.damVal.truHol2.toOutputTrue.enableFire,$PRE.damVal.truHol2.toInitial.enableFire,$PRE.damVal.truDel3.u,$PRE.damVal.truDel4.u,$PRE.damVal.truHol2.onDelay.t_next,$whenCondition7,$PRE.damVal.truDel3.t_next,$whenCondition4,$PRE.damVal.truDel4.t_next,$whenCondition1,damVal.truHol2.onDelay.t_next,damVal.truDel3.t_next,damVal.truDel4.t_next,damVal.truHol2.stateGraphRoot.resume,damVal.truHol2.stateGraphRoot.suspend,damVal.unOcc.y,damVal.conVal.trigger,damVal.and1.y,damVal.or2.y,damVal.truDel4.y,damVal.truDel4.u,damVal.truDel3.y,damVal.truDel3.u,damVal.truHol2.toInitial.enableFire,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.outputTrue.active,damVal.truHol2.outputTrue.oldActive,$PRE.damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.newActive,$PRE.damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.localActive,$PRE.damVal.truHol2.outputTrue.localActive,damVal.truHol2.initialStep.oldActive,$PRE.damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.newActive,$PRE.damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.localActive,$PRE.damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.active,damVal.truHol2.onDelay.y,damVal.truHol2.onDelay.u,damVal.truHol2.stateGraphRoot.activeSteps,damVal.hys7.y,$PRE.damVal.hys7.y,damVal.hys6.y,$PRE.damVal.hys6.y,damVal.hys4.y,$PRE.damVal.hys4.y,damVal.hys3.y,$PRE.damVal.hys3.y,damVal.hys2.y,$PRE.damVal.hys2.y,damVal.and4.y,damVal.and2.y,$whenCondition3,$whenCondition2,$whenCondition6,$whenCondition5,$whenCondition9,$whenCondition8,$whenCondition10,damVal.conVal.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 131 * 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.0003446/0.7051, allocations: 285.6 kB / 0.8175 GB, free: 33 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.7053, allocations: 91.91 kB / 0.8176 GB, free: 32.95 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/0.7071, allocations: 0.8244 MB / 0.8184 GB, free: 32.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.7071, allocations: 5.141 kB / 0.8184 GB, free: 32.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.7071, allocations: 0.75 kB / 0.8184 GB, free: 32.6 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.7073, allocations: 168 kB / 0.8186 GB, free: 32.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.7074, allocations: 23.3 kB / 0.8186 GB, free: 32.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003819/0.7078, allocations: 49.28 kB / 0.8187 GB, free: 32.42 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002183/0.708, allocations: 89.34 kB / 0.8187 GB, free: 32.4 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001929/0.7099, allocations: 0.9768 MB / 0.8197 GB, free: 31.94 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002582/0.7125, allocations: 1.43 MB / 0.8211 GB, free: 31.2 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007943/0.7133, allocations: 384.5 kB / 0.8215 GB, free: 31.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007117/0.7141, allocations: 468.2 kB / 0.8219 GB, free: 30.84 MB / 0.6544 GB Notification: Performance of Backend: time 6.22e-07/0.7141, allocations: 0 / 0.8219 GB, free: 30.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00298/0.7171, allocations: 1.074 MB / 0.8229 GB, free: 30.44 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002922/0.72, allocations: 1.874 MB / 0.8248 GB, free: 29.21 MB / 0.6544 GB Notification: Performance of Templates: time 0.02738/0.7474, allocations: 12.85 MB / 0.8373 GB, free: 26.68 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.makefile (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.sim & ./Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe 2>&1)