Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.674/1.674, allocations: 288.4 MB / 304.3 MB, free: 8.117 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.001087/0.001087, allocations: 172.5 kB / 372.9 MB, free: 10.15 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.731/1.731, allocations: 205.4 MB / 0.6316 GB, free: 9.891 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.0009172/0.0009173, allocations: 90.3 kB / 0.745 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003978, allocations: 15.19 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2201, allocations: 115.3 MB / 0.9808 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves): time 0.004175/0.2243, allocations: 3.994 MB / 0.9847 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003103/0.2275, allocations: 1.532 MB / 0.9862 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.2286, allocations: 23.94 kB / 0.9862 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004337/0.2291, allocations: 90.97 kB / 0.9863 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004588/0.2296, allocations: 87.23 kB / 0.9864 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.2307, allocations: 343.5 kB / 0.9867 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001445/0.2322, allocations: 1.258 MB / 0.9879 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.2332, allocations: 0.9416 MB / 0.9888 GB, free: 19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002825/0.2335, allocations: 318.4 kB / 0.9891 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/0.2338, allocations: 381.8 kB / 0.9895 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.236e-05/0.2338, allocations: 40 kB / 0.9895 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.234, allocations: 47.98 kB / 0.9896 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.2341, allocations: 179.1 kB / 0.9898 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002576/0.2343, allocations: 459 kB / 0.9902 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008229/0.2352, allocations: 1.508 MB / 0.9917 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.2352, allocations: 4 kB / 0.9917 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2352, allocations: 0 / 0.9917 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.2352, allocations: 0 / 0.9917 GB, free: 16.08 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.00179/0.237, allocations: 1.22 MB / 0.9929 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.2371, allocations: 8.031 kB / 0.9929 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.2372, allocations: 139.4 kB / 0.993 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008198/0.238, allocations: 0.7041 MB / 0.9937 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-05/0.2381, allocations: 94.72 kB / 0.9938 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.2383, allocations: 128.4 kB / 0.9939 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.2399, allocations: 1.154 MB / 0.995 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.2399, allocations: 0 / 0.995 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.187e-05/0.24, allocations: 51.98 kB / 0.9951 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.24, allocations: 28 kB / 0.9951 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.2415, allocations: 0.8434 MB / 0.9959 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003816/0.2453, allocations: 3.721 MB / 0.9996 GB, free: 7.723 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.2465, allocations: 0.7418 MB / 1 GB, free: 6.961 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005558/0.2471, allocations: 355.3 kB / 1.001 GB, free: 6.609 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.807e-05/0.2471, allocations: 16.48 kB / 1.001 GB, free: 6.594 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008379/0.248, allocations: 500 kB / 1.001 GB, free: 6.086 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=77): time 2.715e-06/0.248, allocations: 0 / 1.001 GB, free: 6.086 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77): time 0.001871/0.2499, allocations: 1.051 MB / 1.002 GB, free: 5.031 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.2499, allocations: 89.75 kB / 1.002 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006491/0.2506, allocations: 0.7149 MB / 1.003 GB, free: 4.199 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.501e-05/0.2507, allocations: 57.7 kB / 1.003 GB, free: 4.137 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.2509, allocations: 499.4 kB / 1.003 GB, free: 3.641 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.251, allocations: 229 kB / 1.004 GB, free: 3.414 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.2511, allocations: 20 kB / 1.004 GB, free: 3.395 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.929e-05/0.2512, allocations: 398.7 kB / 1.004 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005568/0.2517, allocations: 298.5 kB / 1.004 GB, free: 2.703 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006668/0.2524, allocations: 0.591 MB / 1.005 GB, free: 1.988 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.2535, allocations: 0.7958 MB / 1.006 GB, free: 1.086 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.2535, allocations: 4 kB / 1.006 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001477/0.255, allocations: 0.9729 MB / 1.007 GB, free: 104 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000232/0.2552, allocations: 317.5 kB / 1.007 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.2552, allocations: 8 kB / 1.007 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.153e-05/0.2553, allocations: 12 kB / 1.007 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006468/0.2559, allocations: 175.7 kB / 1.007 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.272e-05/0.256, allocations: 19.92 kB / 1.007 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005865/0.2566, allocations: 142.8 kB / 1.007 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.566e-05/0.2567, allocations: 44 kB / 1.007 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.743e-06/0.2567, allocations: 4 kB / 1.007 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001549/0.2582, allocations: 0.863 MB / 1.008 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.2583, allocations: 8 kB / 1.008 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2583, allocations: 19.94 kB / 1.008 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005666/0.2588, allocations: 167.9 kB / 1.008 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.2589, allocations: 16.05 kB / 1.008 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005249/0.2594, allocations: 131 kB / 1.009 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.84e-05/0.2595, allocations: 48 kB / 1.009 GB, free: 14.04 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.0006694/0.2602, allocations: 384.8 kB / 1.009 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.2603, allocations: 102.8 kB / 1.009 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/0.262, allocations: 0.8346 MB / 1.01 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.262, allocations: 3.984 kB / 1.01 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.262, allocations: 0 / 1.01 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.2622, allocations: 167.9 kB / 1.01 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.2624, allocations: 31.98 kB / 1.01 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003594/0.2627, allocations: 51.95 kB / 1.01 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/0.2629, allocations: 96.5 kB / 1.01 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001858/0.2648, allocations: 1.016 MB / 1.011 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002312/0.2671, allocations: 1.462 MB / 1.013 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006913/0.2678, allocations: 397.1 kB / 1.013 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006346/0.2685, allocations: 463 kB / 1.013 GB, free: 9.004 MB / 0.6355 GB Notification: Performance of Backend: time 1.092e-06/0.2685, allocations: 0 / 1.013 GB, free: 9.004 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00273/0.2713, allocations: 1.091 MB / 1.014 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of SimCode: time 0.003184/0.2745, allocations: 2.184 MB / 1.017 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of Templates: time 0.01956/0.294, allocations: 11.37 MB / 1.028 GB, free: 10.4 MB / 0.6511 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe 2>&1)