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 1.653/1.653, allocations: 287.4 MB / 303.2 MB, free: 8.238 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.001074/0.001074, allocations: 181.4 kB / 371.8 MB, free: 10.82 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.74/1.74, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.0008843/0.0008844, allocations: 89.11 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004221/0.0004221, allocations: 14.31 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2158, allocations: 115.3 MB / 0.9793 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves): time 0.004398/0.2202, allocations: 4.001 MB / 0.9832 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003273/0.2235, allocations: 1.521 MB / 0.9847 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.2249, allocations: 23.94 kB / 0.9847 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004005/0.2253, allocations: 98.95 kB / 0.9848 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003803/0.2257, allocations: 79.23 kB / 0.9849 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008469/0.2266, allocations: 351.5 kB / 0.9852 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009396/0.2275, allocations: 1.254 MB / 0.9865 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.2285, allocations: 0.9416 MB / 0.9874 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.2288, allocations: 318.4 kB / 0.9877 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.2291, allocations: 385.8 kB / 0.988 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.806e-05/0.2292, allocations: 40 kB / 0.9881 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.2293, allocations: 47.98 kB / 0.9881 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.2294, allocations: 171.2 kB / 0.9883 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.2296, allocations: 217.1 kB / 0.9885 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009455/0.2305, allocations: 1.508 MB / 0.99 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.2306, allocations: 0 / 0.99 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.545e-06/0.2306, allocations: 0 / 0.99 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.2306, allocations: 0 / 0.99 GB, free: 17.18 MB / 0.6198 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.001934/0.2325, allocations: 1.22 MB / 0.9912 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.2326, allocations: 12.03 kB / 0.9912 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.2328, allocations: 135.4 kB / 0.9913 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008719/0.2336, allocations: 0.7081 MB / 0.992 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.47e-05/0.2337, allocations: 98.7 kB / 0.9921 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.2339, allocations: 120.4 kB / 0.9922 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.2356, allocations: 1.154 MB / 0.9933 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.2356, allocations: 7.938 kB / 0.9933 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.537e-05/0.2357, allocations: 44 kB / 0.9934 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.2357, allocations: 24 kB / 0.9934 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/0.2372, allocations: 0.8512 MB / 0.9942 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003857/0.241, allocations: 3.717 MB / 0.9979 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.2423, allocations: 0.7398 MB / 0.9986 GB, free: 8.055 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005735/0.2428, allocations: 356 kB / 0.9989 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.2429, allocations: 16.44 kB / 0.9989 GB, free: 7.688 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008118/0.2437, allocations: 499.6 kB / 0.9994 GB, free: 7.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=77): time 2.755e-06/0.2437, allocations: 0 / 0.9994 GB, free: 7.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77): time 0.001841/0.2456, allocations: 1.055 MB / 1 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.2456, allocations: 85.77 kB / 1.001 GB, free: 6.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000646/0.2463, allocations: 0.7149 MB / 1.001 GB, free: 5.297 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.47e-05/0.2464, allocations: 61.7 kB / 1.001 GB, free: 5.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.2466, allocations: 499.4 kB / 1.002 GB, free: 4.734 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.2468, allocations: 217 kB / 1.002 GB, free: 4.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.2468, allocations: 32.03 kB / 1.002 GB, free: 4.488 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.748e-05/0.2469, allocations: 390.7 kB / 1.002 GB, free: 4.098 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005677/0.2475, allocations: 306.5 kB / 1.003 GB, free: 3.797 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006897/0.2482, allocations: 0.5832 MB / 1.003 GB, free: 3.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.2493, allocations: 0.8035 MB / 1.004 GB, free: 2.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.2493, allocations: 0 / 1.004 GB, free: 2.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001495/0.2508, allocations: 0.9769 MB / 1.005 GB, free: 1.195 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001192/0.251, allocations: 320.2 kB / 1.005 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.251, allocations: 8 kB / 1.005 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.251, allocations: 12 kB / 1.005 GB, free: 0.7617 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005422/0.2516, allocations: 175.7 kB / 1.005 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.2516, allocations: 19.92 kB / 1.005 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004962/0.2521, allocations: 138.8 kB / 1.006 GB, free: 444 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.256e-05/0.2521, allocations: 40 kB / 1.006 GB, free: 404 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.879e-06/0.2522, allocations: 8 kB / 1.006 GB, free: 396 kB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001446/0.2536, allocations: 0.863 MB / 1.007 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.2536, allocations: 11.98 kB / 1.007 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.2537, allocations: 15.94 kB / 1.007 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005559/0.2542, allocations: 179.9 kB / 1.007 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.2542, allocations: 15.94 kB / 1.007 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004824/0.2547, allocations: 127.1 kB / 1.007 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.097e-05/0.2548, allocations: 40 kB / 1.007 GB, free: 15.14 MB / 0.6355 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 (131): * Single equations (assignments): 131 * 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.0004641/0.2553, allocations: 392.8 kB / 1.007 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.2554, allocations: 94.8 kB / 1.007 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/0.257, allocations: 0.8386 MB / 1.008 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.257, allocations: 3.984 kB / 1.008 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.257, allocations: 4 kB / 1.008 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.2571, allocations: 163.9 kB / 1.008 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.2573, allocations: 23.98 kB / 1.008 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003497/0.2576, allocations: 59.95 kB / 1.008 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.2578, allocations: 96.5 kB / 1.009 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00181/0.2596, allocations: 1.016 MB / 1.009 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002324/0.262, allocations: 1.466 MB / 1.011 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006524/0.2626, allocations: 393 kB / 1.011 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000594/0.2632, allocations: 463.1 kB / 1.012 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of Backend: time 7.01e-07/0.2632, allocations: 0 / 1.012 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002383/0.2656, allocations: 1.091 MB / 1.013 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of SimCode: time 0.002746/0.2684, allocations: 2.178 MB / 1.015 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of Templates: time 0.01943/0.2878, allocations: 11.32 MB / 1.026 GB, free: 11.53 MB / 0.6511 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)