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.SetPoints.Validation.ActiveAirFlow.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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.705/2.705, allocations: 287.3 MB / 302.3 MB, free: 8.32 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.001528/0.001527, allocations: 175.1 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.178/2.178, allocations: 205.4 MB / 0.6295 GB, free: 10.66 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.001072/0.001072, allocations: 91.22 kB / 0.7428 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004715, allocations: 15.84 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2354, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9595/1.195, allocations: 141.6 MB / 1.117 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/1.195, allocations: 76.88 kB / 1.117 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0814/1.277, allocations: 17.65 MB / 1.134 GB, free: 27.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.276e-06/1.277, allocations: 4 kB / 1.134 GB, free: 27.33 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001012/1.277, allocations: 30.89 kB / 1.134 GB, free: 27.33 MB / 0.698 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.003742/1.281, allocations: 1.394 MB / 1.135 GB, free: 26.36 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/1.281, allocations: 11.58 kB / 1.135 GB, free: 26.36 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005153/1.281, allocations: 211.7 kB / 1.136 GB, free: 26.28 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003971/1.282, allocations: 166.4 kB / 1.136 GB, free: 26.19 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/1.283, allocations: 0.6897 MB / 1.136 GB, free: 25.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/1.284, allocations: 116.6 kB / 1.137 GB, free: 25.76 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003191/1.284, allocations: 142.1 kB / 1.137 GB, free: 25.76 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003263/1.287, allocations: 1.134 MB / 1.138 GB, free: 25.51 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.115e-05/1.287, allocations: 0 / 1.138 GB, free: 25.51 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/1.287, allocations: 58.56 kB / 1.138 GB, free: 25.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.08e-05/1.287, allocations: 33.81 kB / 1.138 GB, free: 25.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003161/1.291, allocations: 0.9868 MB / 1.139 GB, free: 25.38 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008893/1.3, allocations: 3.494 MB / 1.142 GB, free: 23.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/1.302, allocations: 0.6 MB / 1.143 GB, free: 23.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.845e-05/1.302, allocations: 15.17 kB / 1.143 GB, free: 23.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001121/1.303, allocations: 437.3 kB / 1.143 GB, free: 23.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 3.597e-06/1.303, allocations: 0 / 1.143 GB, free: 23.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.002979/1.306, allocations: 0.9022 MB / 1.144 GB, free: 23.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001448/1.306, allocations: 221.3 kB / 1.144 GB, free: 23.17 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001815/1.308, allocations: 0.9444 MB / 1.145 GB, free: 22.89 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002391/1.308, allocations: 46.77 kB / 1.145 GB, free: 22.86 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005769/1.309, allocations: 0.5464 MB / 1.146 GB, free: 22.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002707/1.309, allocations: 241.7 kB / 1.146 GB, free: 22.45 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.496e-05/1.309, allocations: 19 kB / 1.146 GB, free: 22.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001566/1.309, allocations: 338.8 kB / 1.146 GB, free: 22.13 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/1.31, allocations: 288.6 kB / 1.147 GB, free: 22.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/1.311, allocations: 400.8 kB / 1.147 GB, free: 21.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009985/1.312, allocations: 329.2 kB / 1.147 GB, free: 21.92 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/1.312, allocations: 3.953 kB / 1.147 GB, free: 21.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002603/1.315, allocations: 0.8649 MB / 1.148 GB, free: 21.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.186e-05/1.315, allocations: 37.44 kB / 1.148 GB, free: 21.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/1.315, allocations: 4.062 kB / 1.148 GB, free: 21.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/1.315, allocations: 3.844 kB / 1.148 GB, free: 21.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/1.316, allocations: 131.3 kB / 1.148 GB, free: 21.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/1.316, allocations: 7.781 kB / 1.148 GB, free: 21.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/1.318, allocations: 204.3 kB / 1.149 GB, free: 21.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-05/1.318, allocations: 27 kB / 1.149 GB, free: 21.55 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$whenCondition2,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.and1.u1,actAirSet_RehBox1.and1.u2,actAirSet_RehBox.intEqu4.y,actAirSet_RehBox.intEqu3.y,actAirSet_RehBox.intEqu2.y,actAirSet_RehBox.intEqu1.y,actAirSet_RehBox.swi3.u2,actAirSet_RehBox.and1.u1,actAirSet_RehBox.and1.u2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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.0007532/1.319, allocations: 280 kB / 1.149 GB, free: 21.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/1.319, allocations: 120 kB / 1.149 GB, free: 21.34 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002071/1.321, allocations: 0.6781 MB / 1.15 GB, free: 21.19 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/1.321, allocations: 7.406 kB / 1.15 GB, free: 21.19 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/1.321, allocations: 3.719 kB / 1.15 GB, free: 21.19 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/1.321, allocations: 3.984 kB / 1.15 GB, free: 21.18 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00536/1.326, allocations: 2.604 MB / 1.152 GB, free: 20.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/1.326, allocations: 7.781 kB / 1.152 GB, free: 20.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009794/1.327, allocations: 138.7 kB / 1.152 GB, free: 20 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-05/1.327, allocations: 11.38 kB / 1.152 GB, free: 20 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-05/1.327, allocations: 26.16 kB / 1.152 GB, free: 20 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.454e-05/1.327, allocations: 15.61 kB / 1.152 GB, free: 19.99 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/1.327, allocations: 19.48 kB / 1.152 GB, free: 19.98 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/1.33, allocations: 1.396 MB / 1.154 GB, free: 18.94 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003533/1.33, allocations: 223.7 kB / 1.154 GB, free: 18.76 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/1.331, allocations: 26.36 kB / 1.154 GB, free: 18.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000885/1.332, allocations: 69.14 kB / 1.154 GB, free: 18.74 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002406/1.332, allocations: 89.22 kB / 1.154 GB, free: 18.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.737e-05/1.332, allocations: 30.48 kB / 1.154 GB, free: 18.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001286/1.333, allocations: 0.704 MB / 1.155 GB, free: 18.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.21e-07/1.333, allocations: 0 / 1.155 GB, free: 18.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001174/1.334, allocations: 214.9 kB / 1.155 GB, free: 18.47 MB / 0.698 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.004187/1.339, allocations: 4.033 MB / 1.159 GB, free: 14.88 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002363/1.341, allocations: 0.7517 MB / 1.16 GB, free: 14.73 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/1.341, allocations: 3.969 kB / 1.16 GB, free: 14.73 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001537/1.343, allocations: 443 kB / 1.16 GB, free: 14.67 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/1.344, allocations: 126.5 kB / 1.16 GB, free: 14.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006588/1.35, allocations: 3.444 MB / 1.164 GB, free: 12.06 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009323/1.351, allocations: 1.116 MB / 1.165 GB, free: 11.02 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008124/1.352, allocations: 119.9 kB / 1.165 GB, free: 10.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008642/1.353, allocations: 479.6 kB / 1.165 GB, free: 10.79 MB / 0.698 GB Notification: Performance of SimCode: time 1.523e-06/1.353, allocations: 0 / 1.165 GB, free: 10.79 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08023/1.433, allocations: 18.23 MB / 1.183 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003721/1.434, allocations: 237.6 kB / 1.183 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.349/4.783, allocations: 0 / 1.183 GB, free: 8.617 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow.fmu > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)