Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7.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_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.141/2.141, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001413/0.001413, allocations: 176.3 kB / 326.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.572/2.572, allocations: 205.4 MB / 0.5772 GB, free: 20.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009159/0.0009157, allocations: 92.53 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007297/0.0007299, allocations: 12.59 kB / 0.7958 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2065, allocations: 106.3 MB / 0.8995 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2436/0.4501, allocations: 139.9 MB / 1.036 GB, free: 5.43 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/0.4505, allocations: 91.94 kB / 1.036 GB, free: 5.34 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.07478/0.5253, allocations: 17.53 MB / 1.053 GB, free: 3.781 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.838e-06/0.5254, allocations: 0 / 1.053 GB, free: 3.781 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001759/0.5256, allocations: 24 kB / 1.053 GB, free: 3.758 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: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.006038/0.5316, allocations: 1.287 MB / 1.055 GB, free: 2.398 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.5317, allocations: 8.031 kB / 1.055 GB, free: 2.391 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004734/0.5322, allocations: 135.4 kB / 1.055 GB, free: 2.258 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.5337, allocations: 0.605 MB / 1.055 GB, free: 1.609 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.5339, allocations: 98.56 kB / 1.055 GB, free: 1.512 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002995/0.5342, allocations: 128.3 kB / 1.056 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003835/0.538, allocations: 1.203 MB / 1.057 GB, free: 124 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.78e-05/0.5381, allocations: 192 / 1.057 GB, free: 124 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001762/0.5383, allocations: 47.94 kB / 1.057 GB, free: 76 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-05/0.5384, allocations: 28 kB / 1.057 GB, free: 48 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6057/1.144, allocations: 0.9109 MB / 1.058 GB, free: 142.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009684/1.154, allocations: 3.778 MB / 1.061 GB, free: 141.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003178/1.157, allocations: 0.8585 MB / 1.062 GB, free: 141.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/1.159, allocations: 393.4 kB / 1.063 GB, free: 141.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.483e-05/1.159, allocations: 7.906 kB / 1.063 GB, free: 141.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002021/1.161, allocations: 0.5674 MB / 1.063 GB, free: 141.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=83): time 3.968e-06/1.161, allocations: 0 / 1.063 GB, free: 141.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=83): time 0.004837/1.166, allocations: 1.178 MB / 1.064 GB, free: 141 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/1.166, allocations: 197 kB / 1.064 GB, free: 140.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/1.167, allocations: 0.7849 MB / 1.065 GB, free: 140.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003192/1.168, allocations: 60.09 kB / 1.065 GB, free: 140.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006053/1.168, allocations: 475.7 kB / 1.066 GB, free: 140.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004394/1.169, allocations: 235.6 kB / 1.066 GB, free: 140.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.81e-05/1.169, allocations: 17.09 kB / 1.066 GB, free: 140.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001114/1.169, allocations: 343 kB / 1.066 GB, free: 140 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/1.171, allocations: 330.5 kB / 1.067 GB, free: 140 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001793/1.172, allocations: 0.5748 MB / 1.067 GB, free: 139.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/1.174, allocations: 352.5 kB / 1.068 GB, free: 139.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/1.174, allocations: 1.594 kB / 1.068 GB, free: 139.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003538/1.178, allocations: 0.979 MB / 1.068 GB, free: 139.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001589/1.178, allocations: 235.2 kB / 1.069 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/1.178, allocations: 5.031 kB / 1.069 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.801e-05/1.178, allocations: 15.98 kB / 1.069 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/1.179, allocations: 162.8 kB / 1.069 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.522e-05/1.179, allocations: 13.62 kB / 1.069 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/1.181, allocations: 172.5 kB / 1.069 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/1.181, allocations: 40.81 kB / 1.069 GB, free: 139.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/1.181, allocations: 3.062 kB / 1.069 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003057/1.184, allocations: 0.8408 MB / 1.07 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/1.184, allocations: 4.375 kB / 1.07 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/1.184, allocations: 9.594 kB / 1.07 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/1.185, allocations: 155.5 kB / 1.07 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-05/1.185, allocations: 14.55 kB / 1.07 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/1.187, allocations: 167.9 kB / 1.07 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/1.187, allocations: 40.5 kB / 1.07 GB, free: 139.2 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 (123): * Single equations (assignments): 123 * 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.0009602/1.188, allocations: 386.7 kB / 1.071 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000273/1.188, allocations: 94.83 kB / 1.071 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003573/1.192, allocations: 0.943 MB / 1.072 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.45e-05/1.192, allocations: 13.06 kB / 1.072 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/1.192, allocations: 1.469 kB / 1.072 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.959e-05/1.192, allocations: 9.109 kB / 1.072 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006055/1.198, allocations: 2.196 MB / 1.074 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/1.198, allocations: 6.422 kB / 1.074 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009823/1.199, allocations: 114.6 kB / 1.074 GB, free: 138.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.281e-05/1.199, allocations: 4.453 kB / 1.074 GB, free: 138.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/1.199, allocations: 23.38 kB / 1.074 GB, free: 138.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.211e-05/1.199, allocations: 4.844 kB / 1.074 GB, free: 138.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.199, allocations: 2.75 kB / 1.074 GB, free: 138.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004739/1.204, allocations: 1.498 MB / 1.075 GB, free: 138.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000331/1.204, allocations: 179.5 kB / 1.076 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002248/1.205, allocations: 32.23 kB / 1.076 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009818/1.206, allocations: 87.27 kB / 1.076 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003626/1.206, allocations: 104.7 kB / 1.076 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/1.206, allocations: 35.94 kB / 1.076 GB, free: 137.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001046/1.207, allocations: 0.5052 MB / 1.076 GB, free: 137.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.31e-07/1.207, allocations: 0 / 1.076 GB, free: 137.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001804/1.209, allocations: 355.5 kB / 1.077 GB, free: 137.8 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 (88): * Single equations (assignments): 80 * 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.000365/1.209, allocations: 172.2 kB / 1.077 GB, free: 137.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004835/1.214, allocations: 1.318 MB / 1.078 GB, free: 137.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.649e-06/1.214, allocations: 5 kB / 1.078 GB, free: 137.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001744/1.216, allocations: 480.5 kB / 1.079 GB, free: 137.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/1.217, allocations: 161.4 kB / 1.079 GB, free: 137.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004866/1.222, allocations: 1.986 MB / 1.081 GB, free: 136.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007521/1.223, allocations: 1.024 MB / 1.082 GB, free: 135.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001139/1.224, allocations: 135.9 kB / 1.082 GB, free: 135.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004365/1.225, allocations: 80.5 kB / 1.082 GB, free: 135.8 MB / 0.698 GB Notification: Performance of SimCode: time 9.12e-07/1.225, allocations: 0 / 1.082 GB, free: 135.8 MB / 0.698 GB Notification: Performance of Templates: time 0.04501/1.27, allocations: 9.646 MB / 1.091 GB, free: 135.3 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe 2>&1)