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.278/2.278, allocations: 251.1 MB / 266.7 MB, free: 11.63 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.0013/0.0013, allocations: 175.9 kB / 326.3 MB, free: 2.859 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.391/2.391, allocations: 205.4 MB / 0.5772 GB, free: 21.17 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.0009366/0.0009364, allocations: 91.59 kB / 0.6817 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004664/0.0004667, allocations: 12.59 kB / 0.7958 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2175, allocations: 106.3 MB / 0.8995 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves): time 0.005946/0.2236, allocations: 4.247 MB / 0.9037 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004678/0.2283, allocations: 1.873 MB / 0.9055 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.2296, allocations: 23.94 kB / 0.9055 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004605/0.2301, allocations: 102.9 kB / 0.9056 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005596/0.2307, allocations: 91.16 kB / 0.9057 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.2321, allocations: 351.5 kB / 0.9061 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001845/0.2339, allocations: 1.286 MB / 0.9073 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00173/0.2357, allocations: 0.9794 MB / 0.9083 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004929/0.2362, allocations: 326.4 kB / 0.9086 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004265/0.2367, allocations: 397.7 kB / 0.909 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.2368, allocations: 36 kB / 0.909 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.237, allocations: 44 kB / 0.909 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.2372, allocations: 175.2 kB / 0.9092 GB, free: 56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.2374, allocations: 221.1 kB / 0.9094 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.2391, allocations: 1.543 MB / 0.9109 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.2391, allocations: 0 / 0.9109 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.575e-06/0.2391, allocations: 0 / 0.9109 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.196e-05/0.2392, allocations: 0 / 0.9109 GB, free: 54.23 MB / 0.6042 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.003525/0.2427, allocations: 1.263 MB / 0.9121 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.2428, allocations: 8.031 kB / 0.9122 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004153/0.2432, allocations: 139.3 kB / 0.9123 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/0.2451, allocations: 0.7047 MB / 0.913 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.2453, allocations: 98.77 kB / 0.9131 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003335/0.2456, allocations: 128.4 kB / 0.9132 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003335/0.249, allocations: 1.17 MB / 0.9143 GB, free: 50.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.841e-05/0.2491, allocations: 7.938 kB / 0.9143 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.2492, allocations: 55.92 kB / 0.9144 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/0.2493, allocations: 24 kB / 0.9144 GB, free: 50.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003112/0.2524, allocations: 0.8593 MB / 0.9153 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007841/0.2603, allocations: 3.792 MB / 0.919 GB, free: 45.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002378/0.2627, allocations: 0.7532 MB / 0.9197 GB, free: 44.94 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.2638, allocations: 359.2 kB / 0.92 GB, free: 44.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.866e-05/0.2639, allocations: 16.48 kB / 0.9201 GB, free: 44.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00134/0.2653, allocations: 0.4919 MB / 0.9205 GB, free: 44.06 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=78): time 4.118e-06/0.2653, allocations: 0 / 0.9205 GB, free: 44.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=78): time 0.00345/0.2688, allocations: 1.059 MB / 0.9216 GB, free: 43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.2688, allocations: 85.77 kB / 0.9217 GB, free: 42.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.27, allocations: 0.7345 MB / 0.9224 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000166/0.2702, allocations: 53.7 kB / 0.9224 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004015/0.2706, allocations: 0.5073 MB / 0.9229 GB, free: 41.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/0.2708, allocations: 221 kB / 0.9231 GB, free: 41.35 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.265e-05/0.2709, allocations: 24 kB / 0.9231 GB, free: 41.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2711, allocations: 398.7 kB / 0.9235 GB, free: 40.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.2722, allocations: 314.4 kB / 0.9238 GB, free: 40.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.2734, allocations: 0.591 MB / 0.9244 GB, free: 39.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.2746, allocations: 346.8 kB / 0.9247 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.2746, allocations: 4 kB / 0.9247 GB, free: 39.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002892/0.2775, allocations: 0.9885 MB / 0.9257 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001841/0.2778, allocations: 313.5 kB / 0.926 GB, free: 38.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.2778, allocations: 8 kB / 0.926 GB, free: 38.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.61e-05/0.2778, allocations: 16 kB / 0.926 GB, free: 38.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.2791, allocations: 171.7 kB / 0.9262 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.801e-05/0.2791, allocations: 27.86 kB / 0.9262 GB, free: 37.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.2802, allocations: 146.8 kB / 0.9264 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-05/0.2803, allocations: 40 kB / 0.9264 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.2803, allocations: 5.406 kB / 0.9264 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002561/0.2829, allocations: 0.8747 MB / 0.9273 GB, free: 36.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.2829, allocations: 8 kB / 0.9273 GB, free: 36.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.283, allocations: 12 kB / 0.9273 GB, free: 36.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.2841, allocations: 175.9 kB / 0.9274 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.091e-05/0.2841, allocations: 15.94 kB / 0.9275 GB, free: 36.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009432/0.2851, allocations: 131 kB / 0.9276 GB, free: 36.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.845e-05/0.2852, allocations: 40 kB / 0.9276 GB, free: 36.5 MB / 0.6042 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,$whenCondition7,$PRE.damVal.truHol2.onDelay.t_next,$whenCondition4,$PRE.damVal.truDel3.t_next,$whenCondition1,$PRE.damVal.truDel4.t_next,damVal.truHol2.onDelay.t_next,damVal.truDel3.t_next,damVal.truDel4.t_next,damVal.truHol2.stateGraphRoot.resume,damVal.truHol2.stateGraphRoot.suspend,damVal.unOcc.y,$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,damVal.truHol2.initialStep.active,$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,$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,damVal.conVal.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 133 * 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.0007451/0.286, allocations: 400.8 kB / 0.928 GB, free: 36.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/0.2862, allocations: 94.86 kB / 0.9281 GB, free: 36.01 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002592/0.2888, allocations: 0.8428 MB / 0.9289 GB, free: 35.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/0.2888, allocations: 7.922 kB / 0.9289 GB, free: 35.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.2888, allocations: 3.938 kB / 0.9289 GB, free: 35.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/0.2891, allocations: 175.8 kB / 0.9291 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/0.2893, allocations: 24 kB / 0.9291 GB, free: 34.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007455/0.2901, allocations: 55.94 kB / 0.9292 GB, free: 34.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002895/0.2904, allocations: 108.4 kB / 0.9293 GB, free: 34.77 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002986/0.2934, allocations: 1.008 MB / 0.9303 GB, free: 33.76 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003808/0.2973, allocations: 1.491 MB / 0.9317 GB, free: 32.25 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001116/0.2984, allocations: 389.1 kB / 0.9321 GB, free: 31.87 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007967/0.2993, allocations: 479.1 kB / 0.9325 GB, free: 31.39 MB / 0.6042 GB Notification: Performance of Backend: time 6.42e-07/0.2993, allocations: 0 / 0.9325 GB, free: 31.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003723/0.303, allocations: 1.113 MB / 0.9336 GB, free: 30.28 MB / 0.6042 GB Notification: Performance of SimCode: time 0.003682/0.3067, allocations: 2.227 MB / 0.9358 GB, free: 28 MB / 0.6042 GB Notification: Performance of Templates: time 0.03139/0.3382, allocations: 11.7 MB / 0.9472 GB, free: 16.39 MB / 0.6042 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)