Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0_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.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.615/2.615, allocations: 287.5 MB / 303.2 MB, free: 8.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001329/0.001329, allocations: 183.3 kB / 371.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.067/2.067, allocations: 205.4 MB / 0.6305 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009578/0.0009573, allocations: 93.8 kB / 0.7438 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.0004781, allocations: 12.28 kB / 0.8668 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2166, allocations: 115.3 MB / 0.9793 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9307/1.147, allocations: 143.9 MB / 1.12 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/1.148, allocations: 79.78 kB / 1.12 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05891/1.207, allocations: 16.17 MB / 1.136 GB, free: 27.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.619e-06/1.207, allocations: 3.984 kB / 1.136 GB, free: 27.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001177/1.207, allocations: 23.22 kB / 1.136 GB, free: 27.95 MB / 0.698 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.004229/1.211, allocations: 1.243 MB / 1.137 GB, free: 27.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/1.211, allocations: 11.44 kB / 1.137 GB, free: 27.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005845/1.212, allocations: 136.2 kB / 1.137 GB, free: 27.01 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/1.213, allocations: 0.6186 MB / 1.138 GB, free: 26.61 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/1.213, allocations: 97.97 kB / 1.138 GB, free: 26.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002642/1.214, allocations: 122.9 kB / 1.138 GB, free: 26.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003461/1.217, allocations: 1.174 MB / 1.139 GB, free: 26.22 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.041e-05/1.217, allocations: 4.188 kB / 1.139 GB, free: 26.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/1.217, allocations: 52.23 kB / 1.139 GB, free: 26.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.141e-05/1.218, allocations: 26.91 kB / 1.139 GB, free: 26.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00315/1.221, allocations: 0.8985 MB / 1.14 GB, free: 26.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008466/1.229, allocations: 3.707 MB / 1.144 GB, free: 24.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002624/1.232, allocations: 0.8285 MB / 1.144 GB, free: 23.93 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/1.233, allocations: 399.3 kB / 1.145 GB, free: 23.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-05/1.233, allocations: 8.312 kB / 1.145 GB, free: 23.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0016/1.235, allocations: 0.5594 MB / 1.145 GB, free: 23.63 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 3.707e-06/1.235, allocations: 3.938 kB / 1.145 GB, free: 23.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=82): time 0.003914/1.239, allocations: 1.173 MB / 1.147 GB, free: 23.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001659/1.239, allocations: 192.2 kB / 1.147 GB, free: 23.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/1.24, allocations: 0.7612 MB / 1.147 GB, free: 22.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002767/1.241, allocations: 69.34 kB / 1.148 GB, free: 22.89 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004921/1.241, allocations: 458.4 kB / 1.148 GB, free: 22.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003076/1.242, allocations: 229.6 kB / 1.148 GB, free: 22.51 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/1.242, allocations: 19.62 kB / 1.148 GB, free: 22.51 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001742/1.242, allocations: 342.4 kB / 1.149 GB, free: 22.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/1.243, allocations: 331.3 kB / 1.149 GB, free: 22.15 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/1.244, allocations: 0.5661 MB / 1.149 GB, free: 21.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/1.247, allocations: 0.756 MB / 1.15 GB, free: 21.56 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/1.247, allocations: 4 kB / 1.15 GB, free: 21.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003056/1.25, allocations: 0.9647 MB / 1.151 GB, free: 21.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001622/1.25, allocations: 235.5 kB / 1.151 GB, free: 21.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/1.25, allocations: 3.844 kB / 1.151 GB, free: 21.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.904e-05/1.25, allocations: 15.33 kB / 1.151 GB, free: 21.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/1.251, allocations: 164.2 kB / 1.152 GB, free: 21.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.125e-05/1.251, allocations: 7.562 kB / 1.152 GB, free: 21.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/1.252, allocations: 174.3 kB / 1.152 GB, free: 20.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/1.253, allocations: 34.12 kB / 1.152 GB, free: 20.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/1.253, allocations: 3.719 kB / 1.152 GB, free: 20.95 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002524/1.255, allocations: 0.8298 MB / 1.153 GB, free: 20.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/1.255, allocations: 3.875 kB / 1.153 GB, free: 20.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/1.255, allocations: 11.53 kB / 1.153 GB, free: 20.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/1.256, allocations: 155 kB / 1.153 GB, free: 20.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/1.256, allocations: 15.73 kB / 1.153 GB, free: 20.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/1.258, allocations: 162 kB / 1.153 GB, free: 20.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/1.258, allocations: 34.09 kB / 1.153 GB, free: 20.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 61 ($PRE.damVal.truHol2.onDelay.u,$PRE.damVal.truHol2.toOutputTrue.enableFire,$PRE.damVal.truHol2.toInitial.enableFire,$PRE.damVal.truDel3.u,$PRE.damVal.truDel4.u,$whenCondition7,$PRE.damVal.truDel4.t_next,$whenCondition4,$PRE.damVal.truDel3.t_next,$whenCondition1,$PRE.damVal.truHol2.onDelay.t_next,damVal.truDel4.t_next,damVal.truDel3.t_next,damVal.truHol2.onDelay.t_next,damVal.truHol2.stateGraphRoot.resume,damVal.truHol2.stateGraphRoot.suspend,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,damVal.and2.y,damVal.and4.y,$PRE.damVal.hys2.y,damVal.hys2.y,$PRE.damVal.hys3.y,damVal.hys3.y,$PRE.damVal.hys4.y,damVal.hys4.y,$PRE.damVal.hys6.y,damVal.hys6.y,$PRE.damVal.hys7.y,damVal.hys7.y,damVal.truHol2.stateGraphRoot.activeSteps,damVal.truHol2.onDelay.u,damVal.truHol2.onDelay.y,$PRE.damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.localActive,$PRE.damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.newActive,$PRE.damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.active,$PRE.damVal.truHol2.outputTrue.localActive,damVal.truHol2.outputTrue.localActive,$PRE.damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.newActive,$PRE.damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.active,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.toInitial.enableFire,damVal.truDel3.u,damVal.truDel3.y,damVal.truDel4.u,damVal.truDel4.y,damVal.or2.y,damVal.and1.y,damVal.conVal.trigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * 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.0009733/1.259, allocations: 383.7 kB / 1.153 GB, free: 20.48 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/1.259, allocations: 101.3 kB / 1.153 GB, free: 20.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00284/1.262, allocations: 0.9255 MB / 1.154 GB, free: 20.23 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/1.262, allocations: 11.62 kB / 1.154 GB, free: 20.22 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/1.262, allocations: 0 / 1.154 GB, free: 20.22 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/1.262, allocations: 11.8 kB / 1.154 GB, free: 20.21 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005244/1.267, allocations: 2.168 MB / 1.156 GB, free: 19.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/1.267, allocations: 0 / 1.156 GB, free: 19.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000898/1.268, allocations: 110.8 kB / 1.157 GB, free: 19.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/1.268, allocations: 8.094 kB / 1.157 GB, free: 19.33 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/1.268, allocations: 32.38 kB / 1.157 GB, free: 19.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/1.268, allocations: 7.75 kB / 1.157 GB, free: 19.31 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.268, allocations: 4.078 kB / 1.157 GB, free: 19.31 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004107/1.272, allocations: 1.488 MB / 1.158 GB, free: 18.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003169/1.273, allocations: 168.1 kB / 1.158 GB, free: 18.76 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000242/1.273, allocations: 29.67 kB / 1.158 GB, free: 18.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009229/1.274, allocations: 91.86 kB / 1.158 GB, free: 18.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002835/1.274, allocations: 96.94 kB / 1.158 GB, free: 18.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.915e-05/1.274, allocations: 45.66 kB / 1.158 GB, free: 18.68 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009016/1.275, allocations: 0.4919 MB / 1.159 GB, free: 18.52 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.593e-06/1.275, allocations: 0 / 1.159 GB, free: 18.52 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001562/1.277, allocations: 348.6 kB / 1.159 GB, free: 18.34 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (damVal.conVal.I.y) * Number of discrete variables: 41 (damVal.truDel4.u,damVal.truHol2.onDelay.u,damVal.truHol2.outputTrue.localActive,damVal.truHol2.outputTrue.active,damVal.truHol2.initialStep.active,damVal.truDel3.u,$cse1,$cse2,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,damVal.and2.y,damVal.and4.y,damVal.hys2.y,damVal.hys3.y,damVal.hys4.y,damVal.hys6.y,damVal.hys7.y,damVal.truHol2.stateGraphRoot.activeSteps,damVal.truHol2.onDelay.y,damVal.truHol2.onDelay.t_next,damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.oldActive,damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.oldActive,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.toInitial.enableFire,damVal.truDel3.y,damVal.truDel3.t_next,damVal.truDel4.y,damVal.truDel4.t_next,damVal.or2.y,damVal.and1.y) * Number of discrete states: 10 (damVal.truDel4.t_next,damVal.truDel3.t_next,damVal.truHol2.onDelay.t_next,damVal.hys4.y,damVal.hys6.y,damVal.truHol2.initialStep.newActive,damVal.truHol2.outputTrue.newActive,damVal.hys3.y,damVal.hys7.y,damVal.hys2.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0003597/1.277, allocations: 164.4 kB / 1.159 GB, free: 18.19 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004033/1.281, allocations: 1.306 MB / 1.161 GB, free: 17.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/1.281, allocations: 384 / 1.161 GB, free: 17.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001481/1.283, allocations: 478.6 kB / 1.161 GB, free: 16.92 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/1.284, allocations: 142.8 kB / 1.161 GB, free: 16.83 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004268/1.289, allocations: 1.942 MB / 1.163 GB, free: 15.05 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007037/1.289, allocations: 1.019 MB / 1.164 GB, free: 14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001011/1.291, allocations: 131.1 kB / 1.164 GB, free: 13.87 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004029/1.291, allocations: 78.47 kB / 1.164 GB, free: 13.79 MB / 0.698 GB Notification: Performance of SimCode: time 1.082e-06/1.291, allocations: 0 / 1.164 GB, free: 13.79 MB / 0.698 GB Notification: Performance of Templates: time 0.03119/1.322, allocations: 9.34 MB / 1.173 GB, free: 4.57 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe 2>&1)