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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.57/1.57, allocations: 289.7 MB / 302.2 MB, free: 2.148 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.001051/0.001051, allocations: 177.4 kB / 371.6 MB, free: 3.395 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.843/1.843, allocations: 205.2 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009651/0.0009651, allocations: 90.3 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.697e-05/3.699e-05, allocations: 4 kB / 0.8663 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3031, allocations: 116.3 MB / 0.9798 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8968/1.2, allocations: 145 MB / 1.121 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003549/1.2, allocations: 77.66 kB / 1.121 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03721/1.238, allocations: 16.11 MB / 1.137 GB, free: 32.22 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.864e-06/1.238, allocations: 0 / 1.137 GB, free: 32.22 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.568e-05/1.238, allocations: 28 kB / 1.137 GB, free: 32.19 MB / 0.7448 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.002114/1.24, allocations: 1.165 MB / 1.138 GB, free: 31.19 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/1.24, allocations: 8.688 kB / 1.138 GB, free: 31.18 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/1.24, allocations: 139.8 kB / 1.139 GB, free: 31.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008467/1.241, allocations: 0.5841 MB / 1.139 GB, free: 30.64 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.099e-05/1.241, allocations: 96.38 kB / 1.139 GB, free: 30.58 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/1.241, allocations: 126.8 kB / 1.139 GB, free: 30.5 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/1.243, allocations: 1.099 MB / 1.14 GB, free: 29.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/1.243, allocations: 0.9375 kB / 1.14 GB, free: 29.84 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/1.243, allocations: 49.94 kB / 1.14 GB, free: 29.82 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/1.243, allocations: 28 kB / 1.14 GB, free: 29.8 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/1.245, allocations: 0.7727 MB / 1.141 GB, free: 29.33 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005073/1.25, allocations: 3.716 MB / 1.145 GB, free: 27.12 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/1.251, allocations: 0.7669 MB / 1.146 GB, free: 26.66 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004438/1.251, allocations: 332.4 kB / 1.146 GB, free: 26.46 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.818e-05/1.251, allocations: 10.05 kB / 1.146 GB, free: 26.46 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007836/1.252, allocations: 0.5022 MB / 1.146 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=82): time 2.074e-06/1.252, allocations: 0 / 1.146 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=82): time 0.001237/1.253, allocations: 0.7507 MB / 1.147 GB, free: 25.65 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.706e-05/1.254, allocations: 194.7 kB / 1.147 GB, free: 25.42 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007686/1.254, allocations: 0.6671 MB / 1.148 GB, free: 24.96 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.042e-05/1.254, allocations: 63.61 kB / 1.148 GB, free: 24.92 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/1.255, allocations: 464.6 kB / 1.148 GB, free: 24.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/1.255, allocations: 230.7 kB / 1.149 GB, free: 24.49 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/1.255, allocations: 17.44 kB / 1.149 GB, free: 24.48 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.945e-05/1.255, allocations: 342.6 kB / 1.149 GB, free: 24.17 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004055/1.256, allocations: 263.6 kB / 1.149 GB, free: 24.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005439/1.256, allocations: 0.5078 MB / 1.15 GB, free: 23.56 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004657/1.257, allocations: 288.9 kB / 1.15 GB, free: 23.4 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.257, allocations: 3.938 kB / 1.15 GB, free: 23.39 MB / 0.7448 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001209/1.258, allocations: 0.8388 MB / 1.151 GB, free: 22.82 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003941/1.258, allocations: 1.921 MB / 1.153 GB, free: 20.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.258, allocations: 4 kB / 1.153 GB, free: 20.79 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/1.258, allocations: 16.7 kB / 1.153 GB, free: 20.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000697/1.259, allocations: 157.2 kB / 1.153 GB, free: 20.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.706e-05/1.259, allocations: 8.797 kB / 1.153 GB, free: 20.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006527/1.26, allocations: 175 kB / 1.153 GB, free: 20.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.282e-05/1.26, allocations: 40.39 kB / 1.153 GB, free: 20.47 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.054e-06/1.26, allocations: 4 kB / 1.153 GB, free: 20.47 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001072/1.261, allocations: 0.7238 MB / 1.154 GB, free: 20.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.261, allocations: 8.516 kB / 1.154 GB, free: 20.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/1.261, allocations: 12 kB / 1.154 GB, free: 20.01 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005417/1.261, allocations: 151.1 kB / 1.154 GB, free: 19.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/1.261, allocations: 9.359 kB / 1.154 GB, free: 19.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005824/1.262, allocations: 167.1 kB / 1.154 GB, free: 19.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.304e-05/1.262, allocations: 38.66 kB / 1.154 GB, free: 19.72 MB / 0.7448 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 () * 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.0002451/1.262, allocations: 194.5 kB / 1.154 GB, free: 19.57 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/1.262, allocations: 96.84 kB / 1.155 GB, free: 19.47 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/1.264, allocations: 0.8263 MB / 1.155 GB, free: 19 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/1.264, allocations: 11.94 kB / 1.155 GB, free: 18.99 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.264, allocations: 0 / 1.155 GB, free: 18.99 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/1.264, allocations: 4.125 kB / 1.155 GB, free: 18.99 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002998/1.267, allocations: 2.075 MB / 1.157 GB, free: 17.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.267, allocations: 0 / 1.157 GB, free: 17.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005804/1.268, allocations: 114.7 kB / 1.157 GB, free: 17.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/1.268, allocations: 8.922 kB / 1.157 GB, free: 17.73 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.278e-05/1.268, allocations: 24.2 kB / 1.157 GB, free: 17.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/1.268, allocations: 4 kB / 1.157 GB, free: 17.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.268, allocations: 0 / 1.157 GB, free: 17.71 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/1.27, allocations: 1.354 MB / 1.159 GB, free: 16.77 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002105/1.27, allocations: 183.8 kB / 1.159 GB, free: 16.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/1.27, allocations: 27.95 kB / 1.159 GB, free: 16.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000671/1.271, allocations: 91.98 kB / 1.159 GB, free: 16.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002724/1.271, allocations: 102.7 kB / 1.159 GB, free: 16.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.066e-05/1.271, allocations: 32.31 kB / 1.159 GB, free: 16.46 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006663/1.272, allocations: 496.9 kB / 1.16 GB, free: 16.13 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.2e-07/1.272, allocations: 0 / 1.16 GB, free: 16.13 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001128/1.273, allocations: 346.8 kB / 1.16 GB, free: 15.84 MB / 0.7448 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) * 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.0002718/1.273, allocations: 176 kB / 1.16 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001899/1.275, allocations: 1.159 MB / 1.161 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.275, allocations: 4.062 kB / 1.161 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000619/1.276, allocations: 412.2 kB / 1.162 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007457/1.277, allocations: 130.6 kB / 1.162 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/1.279, allocations: 1.241 MB / 1.163 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007531/1.28, allocations: 1.05 MB / 1.164 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0007965/1.281, allocations: 162 kB / 1.164 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/1.281, allocations: 68.7 kB / 1.164 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of SimCode: time 9.62e-07/1.281, allocations: 0 / 1.164 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of Templates: time 0.01872/1.3, allocations: 10.55 MB / 1.175 GB, free: 5.547 MB / 0.7448 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)