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.SetPoints.Validation.ActiveAirFlow.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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.741/1.741, allocations: 288.2 MB / 303.2 MB, free: 8.125 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.00109/0.00109, allocations: 189.6 kB / 371.8 MB, free: 10.3 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.499/1.499, allocations: 205.4 MB / 0.6305 GB, free: 10.05 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.0009206/0.0009206, allocations: 91.86 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004208/0.0004212, allocations: 14.47 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2387, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.004128/0.2429, allocations: 3.376 MB / 0.9828 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00446/0.2474, allocations: 2.174 MB / 0.985 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/0.2489, allocations: 31.88 kB / 0.985 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005902/0.2496, allocations: 98.86 kB / 0.9851 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001199/0.2508, allocations: 151.4 kB / 0.9852 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.2524, allocations: 450.8 kB / 0.9856 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001342/0.2537, allocations: 0.8548 MB / 0.9865 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009922/0.2547, allocations: 0.7015 MB / 0.9872 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000478/0.2552, allocations: 338.1 kB / 0.9875 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003247/0.2555, allocations: 393.4 kB / 0.9879 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.338e-05/0.2556, allocations: 36 kB / 0.9879 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.2558, allocations: 51.97 kB / 0.988 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.2559, allocations: 171 kB / 0.9881 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002008/0.2561, allocations: 229 kB / 0.9883 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.2573, allocations: 1.714 MB / 0.99 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2574, allocations: 0 / 0.99 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.945e-06/0.2574, allocations: 4 kB / 0.99 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.93e-05/0.2574, allocations: 0 / 0.99 GB, free: 16.77 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: 361 * Number of variables: 361 Notification: Performance of Generate backend data structure: time 0.002222/0.2596, allocations: 1.352 MB / 0.9913 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.66e-05/0.2597, allocations: 12.02 kB / 0.9913 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000241/0.26, allocations: 211.1 kB / 0.9915 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002406/0.2602, allocations: 154.1 kB / 0.9917 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.2612, allocations: 0.719 MB / 0.9924 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.875e-05/0.2613, allocations: 114.8 kB / 0.9925 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.2615, allocations: 144 kB / 0.9926 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.2633, allocations: 1.131 MB / 0.9937 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.2633, allocations: 0 / 0.9937 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.751e-05/0.2634, allocations: 56 kB / 0.9938 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.456e-05/0.2634, allocations: 40 kB / 0.9938 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.265, allocations: 0.9794 MB / 0.9948 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00409/0.2691, allocations: 3.261 MB / 0.998 GB, free: 8.414 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.2701, allocations: 0.5737 MB / 0.9985 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.337e-05/0.2702, allocations: 12.64 kB / 0.9985 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006548/0.2709, allocations: 409.8 kB / 0.9989 GB, free: 7.387 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=74): time 2.665e-06/0.2709, allocations: 0 / 0.9989 GB, free: 7.387 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74): time 0.001494/0.2724, allocations: 0.853 MB / 0.9998 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/0.2725, allocations: 162.8 kB / 0.9999 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008663/0.2733, allocations: 0.8859 MB / 1.001 GB, free: 5.422 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.379e-05/0.2734, allocations: 45.7 kB / 1.001 GB, free: 5.371 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003262/0.2737, allocations: 0.5969 MB / 1.001 GB, free: 4.766 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.2739, allocations: 248.5 kB / 1.002 GB, free: 4.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.2739, allocations: 16 kB / 1.002 GB, free: 4.504 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.126e-05/0.274, allocations: 341.9 kB / 1.002 GB, free: 4.164 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004877/0.2745, allocations: 297.9 kB / 1.002 GB, free: 3.875 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005737/0.2751, allocations: 0.5036 MB / 1.003 GB, free: 3.277 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005208/0.2756, allocations: 356.6 kB / 1.003 GB, free: 2.926 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.2756, allocations: 3.953 kB / 1.003 GB, free: 2.922 MB / 0.6198 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001344/0.277, allocations: 0.9708 MB / 1.004 GB, free: 1.941 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.662e-05/0.277, allocations: 37.69 kB / 1.004 GB, free: 1.898 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.277, allocations: 8 kB / 1.004 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.2771, allocations: 12 kB / 1.004 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005888/0.2777, allocations: 171.7 kB / 1.004 GB, free: 1.711 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/0.2777, allocations: 19.92 kB / 1.004 GB, free: 1.691 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006886/0.2784, allocations: 219.2 kB / 1.005 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6e-05/0.2784, allocations: 39.98 kB / 1.005 GB, free: 1.438 MB / 0.6198 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.not1.y,$PRE.actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox1.not1.y,$PRE.actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox1.greThr.greHys.y,$PRE.winSta.y,winSta.y,actAirSet_RehBox1.intEqu4.y,actAirSet_RehBox1.intEqu3.y,actAirSet_RehBox1.intEqu2.y,actAirSet_RehBox1.intEqu1.y,actAirSet_RehBox1.swi3.u2,actAirSet_RehBox1.greThr1.y,actAirSet_RehBox1.gre.y,actAirSet_RehBox.intEqu4.y,actAirSet_RehBox.intEqu3.y,actAirSet_RehBox.intEqu2.y,actAirSet_RehBox.intEqu1.y,actAirSet_RehBox.swi3.u2,actAirSet_RehBox.greThr1.y,actAirSet_RehBox.gre.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000392/0.2788, allocations: 293.6 kB / 1.005 GB, free: 1.141 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.279, allocations: 102.6 kB / 1.005 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.28, allocations: 0.6533 MB / 1.006 GB, free: 384 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.2801, allocations: 8 kB / 1.006 GB, free: 376 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.2801, allocations: 0 / 1.006 GB, free: 376 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.2801, allocations: 7.984 kB / 1.006 GB, free: 368 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003405/0.2835, allocations: 2.427 MB / 1.008 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.2835, allocations: 12.53 kB / 1.008 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004989/0.284, allocations: 135.8 kB / 1.008 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.616e-05/0.2841, allocations: 12 kB / 1.008 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.016e-05/0.2841, allocations: 24 kB / 1.008 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.642e-05/0.2841, allocations: 19.92 kB / 1.008 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.2842, allocations: 8 kB / 1.008 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.2858, allocations: 1.338 MB / 1.009 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001968/0.286, allocations: 203.6 kB / 1.01 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.917e-05/0.2861, allocations: 24 kB / 1.01 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004452/0.2866, allocations: 59.95 kB / 1.01 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.2867, allocations: 100.1 kB / 1.01 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/0.2868, allocations: 31.94 kB / 1.01 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006997/0.2875, allocations: 0.5626 MB / 1.01 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2875, allocations: 0 / 1.01 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007715/0.2883, allocations: 243 kB / 1.011 GB, free: 10.7 MB / 0.6355 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 (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.002819/0.2911, allocations: 3.976 MB / 1.015 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001457/0.2926, allocations: 0.787 MB / 1.015 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.2926, allocations: 4 kB / 1.015 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007924/0.2934, allocations: 424.3 kB / 1.016 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005963/0.294, allocations: 115.3 kB / 1.016 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006002/0.3, allocations: 6.981 MB / 1.023 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007274/0.3008, allocations: 1.112 MB / 1.024 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005284/0.3013, allocations: 123.5 kB / 1.024 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005865/0.3019, allocations: 463.3 kB / 1.024 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of SimCode: time 3.316e-06/0.3019, allocations: 0 / 1.024 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03733/0.3393, allocations: 16.59 MB / 1.04 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/0.3395, allocations: 238.5 kB / 1.041 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.558/2.898, allocations: 3.938 kB / 1.041 GB, free: 11.7 MB / 0.6667 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)