Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001054, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 198.6 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.1 MB / 222.4 MB, free: 4.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.726/1.726, allocations: 292.3 MB / 0.5489 GB, free: 12.85 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001627, allocations: 71.27 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2581, allocations: 114.6 MB / 0.7834 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.006035/0.2641, allocations: 4.176 MB / 0.7875 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004176/0.2684, allocations: 2.307 MB / 0.7898 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000889/0.2693, allocations: 27.94 kB / 0.7898 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000544/0.2698, allocations: 209.5 kB / 0.79 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004344/0.2703, allocations: 142.3 kB / 0.7901 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.2717, allocations: 0.6394 MB / 0.7907 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001434/0.2732, allocations: 1.564 MB / 0.7923 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001438/0.2746, allocations: 1.024 MB / 0.7933 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007048/0.2753, allocations: 0.5642 MB / 0.7938 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000531/0.2759, allocations: 0.6257 MB / 0.7944 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002221/0.2761, allocations: 187.9 kB / 0.7946 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000243/0.2764, allocations: 200 kB / 0.7948 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002469/0.2766, allocations: 354.9 kB / 0.7951 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005507/0.2772, allocations: 0.6994 MB / 0.7958 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001894/0.2791, allocations: 2.146 MB / 0.7979 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2791, allocations: 0 / 0.7979 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2791, allocations: 4 kB / 0.7979 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.007e-05/0.2791, allocations: 0 / 0.7979 GB, free: 14.47 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 361 * Number of variables: 361 Notification: Performance of Generate backend data structure: time 0.002401/0.2815, allocations: 1.598 MB / 0.7995 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.2816, allocations: 8.031 kB / 0.7995 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002418/0.2818, allocations: 159.1 kB / 0.7996 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008873/0.2827, allocations: 0.7433 MB / 0.8004 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.2828, allocations: 119.2 kB / 0.8005 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.283, allocations: 136.4 kB / 0.8006 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.285, allocations: 1.139 MB / 0.8017 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.285, allocations: 4.188 kB / 0.8017 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.2851, allocations: 63.88 kB / 0.8018 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/0.2851, allocations: 36 kB / 0.8018 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001829/0.287, allocations: 0.9755 MB / 0.8028 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005026/0.292, allocations: 3.25 MB / 0.8059 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.2932, allocations: 0.5756 MB / 0.8065 GB, free: 5.473 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004899/0.2938, allocations: 258.8 kB / 0.8068 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.545e-05/0.2938, allocations: 8.656 kB / 0.8068 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007992/0.2946, allocations: 405.8 kB / 0.8072 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=74): time 3.367e-06/0.2947, allocations: 0 / 0.8072 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74): time 0.001756/0.2964, allocations: 0.8296 MB / 0.808 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.2965, allocations: 170.8 kB / 0.8081 GB, free: 3.742 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.2977, allocations: 0.8976 MB / 0.809 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.32e-05/0.2978, allocations: 41.7 kB / 0.809 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005717/0.2984, allocations: 0.5965 MB / 0.8096 GB, free: 2.168 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002677/0.2986, allocations: 244.5 kB / 0.8099 GB, free: 1.926 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004901/0.2991, allocations: 218.4 kB / 0.8101 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002052/0.2994, allocations: 341.9 kB / 0.8104 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007008/0.3001, allocations: 285.9 kB / 0.8107 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000866/0.3009, allocations: 0.5036 MB / 0.8112 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.3025, allocations: 0.7491 MB / 0.8119 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.556e-05/0.3025, allocations: 4 kB / 0.8119 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002317/0.3048, allocations: 0.9667 MB / 0.8128 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.56e-05/0.3049, allocations: 37.69 kB / 0.8129 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.674e-05/0.305, allocations: 8 kB / 0.8129 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.943e-05/0.305, allocations: 12 kB / 0.8129 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006745/0.3057, allocations: 171.7 kB / 0.8131 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.331e-05/0.3057, allocations: 15.94 kB / 0.8131 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009494/0.3067, allocations: 186.7 kB / 0.8132 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.481e-05/0.3068, allocations: 36 kB / 0.8133 GB, free: 14.21 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition1,$whenCondition2,actAirSet_RehBox1.conInt4.y,actAirSet_RehBox1.conInt3.y,actAirSet_RehBox1.conInt2.y,actAirSet_RehBox1.conInt1.y,actAirSet_RehBox1.conInt.y,actAirSet_RehBox.conInt4.y,actAirSet_RehBox.conInt3.y,actAirSet_RehBox.conInt2.y,actAirSet_RehBox.conInt1.y,actAirSet_RehBox.conInt.y,actAirSet_RehBox.gre.y,actAirSet_RehBox.greThr1.y,actAirSet_RehBox.swi3.u2,actAirSet_RehBox.intEqu1.y,actAirSet_RehBox.intEqu2.y,actAirSet_RehBox.intEqu3.y,actAirSet_RehBox.intEqu4.y,actAirSet_RehBox1.gre.y,actAirSet_RehBox1.greThr1.y,actAirSet_RehBox1.swi3.u2,actAirSet_RehBox1.intEqu1.y,actAirSet_RehBox1.intEqu2.y,actAirSet_RehBox1.intEqu3.y,actAirSet_RehBox1.intEqu4.y,winSta.y,$PRE.winSta.y,actAirSet_RehBox1.greThr.greHys.y,$PRE.actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox1.not1.y,actAirSet_RehBox.greThr.greHys.y,$PRE.actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox.not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005685/0.3074, allocations: 294 kB / 0.8136 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/0.3076, allocations: 106.7 kB / 0.8137 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.3089, allocations: 0.6338 MB / 0.8143 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.309, allocations: 12 kB / 0.8143 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.309, allocations: 8 kB / 0.8143 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.309, allocations: 3.984 kB / 0.8143 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003778/0.3128, allocations: 2.419 MB / 0.8167 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.3128, allocations: 4 kB / 0.8167 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005148/0.3133, allocations: 139.7 kB / 0.8168 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.716e-05/0.3134, allocations: 19.88 kB / 0.8168 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-05/0.3134, allocations: 20 kB / 0.8168 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.386e-05/0.3134, allocations: 15.98 kB / 0.8169 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/0.3134, allocations: 11.94 kB / 0.8169 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.315, allocations: 0.9599 MB / 0.8178 GB, free: 9.293 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002796/0.3153, allocations: 199.6 kB / 0.818 GB, free: 9.078 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.3154, allocations: 27.94 kB / 0.818 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005125/0.3159, allocations: 51.95 kB / 0.8181 GB, free: 9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/0.3161, allocations: 88.16 kB / 0.8182 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.291e-05/0.3162, allocations: 35.94 kB / 0.8182 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008913/0.3171, allocations: 0.5743 MB / 0.8188 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3171, allocations: 0 / 0.8188 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009887/0.3181, allocations: 243 kB / 0.819 GB, free: 8.051 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox1.greThr.greHys.y,winSta.y,actAirSet_RehBox1.not1.y,actAirSet_RehBox.not1.y) * Number of discrete states: 2 (actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox.greThr.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000284/0.3184, allocations: 139.1 kB / 0.8191 GB, free: 7.906 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001733/0.3201, allocations: 0.8105 MB / 0.8199 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.3201, allocations: 3.938 kB / 0.8199 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009176/0.3211, allocations: 426.6 kB / 0.8203 GB, free: 6.664 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008776/0.322, allocations: 136.8 kB / 0.8204 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003482/0.3254, allocations: 1.935 MB / 0.8223 GB, free: 4.477 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009212/0.3264, allocations: 1.085 MB / 0.8234 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005103/0.3269, allocations: 123.5 kB / 0.8235 GB, free: 3.238 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.3271, allocations: 75.42 kB / 0.8236 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of SimCode: time 5.51e-07/0.3271, allocations: 0 / 0.8236 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of Templates: time 0.0208/0.3479, allocations: 8.531 MB / 0.8319 GB, free: 10.75 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & ./Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)