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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.734/1.734, allocations: 289.7 MB / 302.2 MB, free: 2.133 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.001075/0.001075, allocations: 182.2 kB / 371.6 MB, free: 3.395 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.487/1.487, allocations: 205.1 MB / 0.6309 GB, free: 11.73 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008482/0.0008482, allocations: 95.53 kB / 0.745 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.665e-05/3.672e-05, allocations: 8 kB / 0.8664 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2749, allocations: 116.3 MB / 0.9799 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7628/1.038, allocations: 142.7 MB / 1.119 GB, free: 42.03 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/1.038, allocations: 78.17 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04205/1.08, allocations: 17.61 MB / 1.137 GB, free: 33.22 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.383e-06/1.08, allocations: 0 / 1.137 GB, free: 33.22 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001088/1.08, allocations: 32 kB / 1.137 GB, free: 33.19 MB / 0.7448 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.00295/1.083, allocations: 1.298 MB / 1.138 GB, free: 32.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/1.083, allocations: 9.25 kB / 1.138 GB, free: 32.08 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005289/1.084, allocations: 203.1 kB / 1.138 GB, free: 31.99 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005084/1.084, allocations: 164.3 kB / 1.138 GB, free: 31.83 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/1.086, allocations: 0.6938 MB / 1.139 GB, free: 31.33 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.814e-05/1.086, allocations: 116.4 kB / 1.139 GB, free: 31.26 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/1.086, allocations: 141.2 kB / 1.139 GB, free: 31.17 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002135/1.088, allocations: 1.086 MB / 1.14 GB, free: 30.56 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/1.088, allocations: 0 / 1.14 GB, free: 30.56 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/1.088, allocations: 57.27 kB / 1.14 GB, free: 30.55 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.728e-05/1.088, allocations: 40 kB / 1.14 GB, free: 30.51 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/1.09, allocations: 0.9083 MB / 1.141 GB, free: 29.95 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00643/1.096, allocations: 3.496 MB / 1.145 GB, free: 28.12 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/1.098, allocations: 0.569 MB / 1.145 GB, free: 27.79 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003703/1.098, allocations: 255.8 kB / 1.145 GB, free: 27.64 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.919e-05/1.098, allocations: 13.42 kB / 1.145 GB, free: 27.63 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006361/1.099, allocations: 404 kB / 1.146 GB, free: 27.37 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=74): time 3.016e-06/1.099, allocations: 0 / 1.146 GB, free: 27.37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=74): time 0.001125/1.1, allocations: 0.6162 MB / 1.146 GB, free: 26.95 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/1.1, allocations: 223.4 kB / 1.147 GB, free: 26.68 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/1.101, allocations: 0.9297 MB / 1.148 GB, free: 26.06 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.404e-05/1.101, allocations: 41.94 kB / 1.148 GB, free: 26.03 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004376/1.102, allocations: 0.5505 MB / 1.148 GB, free: 25.75 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/1.102, allocations: 244.5 kB / 1.148 GB, free: 25.57 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/1.102, allocations: 17.38 kB / 1.148 GB, free: 25.56 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.489e-05/1.102, allocations: 334.9 kB / 1.149 GB, free: 25.25 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004824/1.103, allocations: 265.8 kB / 1.149 GB, free: 25.1 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004968/1.103, allocations: 367.5 kB / 1.149 GB, free: 24.86 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004714/1.104, allocations: 287.3 kB / 1.15 GB, free: 24.68 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.104, allocations: 4 kB / 1.15 GB, free: 24.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001273/1.105, allocations: 0.8042 MB / 1.15 GB, free: 24.12 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.496e-05/1.105, allocations: 35.81 kB / 1.15 GB, free: 24.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/1.105, allocations: 0 / 1.15 GB, free: 24.08 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/1.105, allocations: 4 kB / 1.15 GB, free: 24.08 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005733/1.106, allocations: 131.5 kB / 1.151 GB, free: 23.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.906e-05/1.106, allocations: 4.703 kB / 1.151 GB, free: 23.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008553/1.106, allocations: 215.1 kB / 1.151 GB, free: 23.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-05/1.107, allocations: 25.92 kB / 1.151 GB, free: 23.78 MB / 0.7448 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 () * 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.0002164/1.107, allocations: 161.6 kB / 1.151 GB, free: 23.64 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/1.107, allocations: 119.1 kB / 1.151 GB, free: 23.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/1.108, allocations: 0.6258 MB / 1.152 GB, free: 23.17 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/1.108, allocations: 8 kB / 1.152 GB, free: 23.16 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/1.108, allocations: 0.6094 kB / 1.152 GB, free: 23.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/1.108, allocations: 3.891 kB / 1.152 GB, free: 23.16 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004328/1.113, allocations: 2.551 MB / 1.154 GB, free: 21.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/1.113, allocations: 8 kB / 1.154 GB, free: 21.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005405/1.113, allocations: 137.8 kB / 1.154 GB, free: 21.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.7e-05/1.113, allocations: 12 kB / 1.154 GB, free: 21.42 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.572e-05/1.113, allocations: 28.16 kB / 1.154 GB, free: 21.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.264e-05/1.113, allocations: 13.95 kB / 1.154 GB, free: 21.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/1.113, allocations: 11.94 kB / 1.154 GB, free: 21.38 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/1.115, allocations: 1.353 MB / 1.156 GB, free: 20.04 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002644/1.115, allocations: 220.1 kB / 1.156 GB, free: 19.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/1.115, allocations: 28.98 kB / 1.156 GB, free: 19.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005332/1.116, allocations: 66.84 kB / 1.156 GB, free: 19.79 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/1.116, allocations: 92.61 kB / 1.156 GB, free: 19.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.051e-05/1.116, allocations: 32.86 kB / 1.156 GB, free: 19.71 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0011/1.117, allocations: 0.688 MB / 1.157 GB, free: 19.25 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.8e-07/1.117, allocations: 0 / 1.157 GB, free: 19.25 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0009731/1.118, allocations: 225.6 kB / 1.157 GB, free: 19.05 MB / 0.7448 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) * 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.002475/1.121, allocations: 3.976 MB / 1.161 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001232/1.122, allocations: 0.6979 MB / 1.162 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.122, allocations: 0 / 1.162 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007116/1.123, allocations: 415.5 kB / 1.162 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006752/1.123, allocations: 138.5 kB / 1.162 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/1.127, allocations: 1.622 MB / 1.164 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008158/1.127, allocations: 1.109 MB / 1.165 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005118/1.128, allocations: 116.7 kB / 1.165 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006428/1.129, allocations: 479.2 kB / 1.165 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of SimCode: time 8.11e-07/1.129, allocations: 0 / 1.165 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04101/1.17, allocations: 18.53 MB / 1.183 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/1.17, allocations: 197.2 kB / 1.184 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.899/4.069, allocations: 0 / 1.184 GB, free: 12.55 MB / 0.7605 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)