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.804/1.804, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.001105/0.001105, allocations: 185 kB / 377.1 MB, free: 1.52 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.608/1.608, allocations: 205.4 MB / 0.6366 GB, free: 9.562 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.0008199/0.0008199, allocations: 91.31 kB / 0.7509 GB, free: 62.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003652, allocations: 8 kB / 0.8749 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2807, allocations: 116.3 MB / 0.9885 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7474/1.028, allocations: 142.8 MB / 1.128 GB, free: 32.81 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/1.028, allocations: 79.8 kB / 1.128 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0443/1.073, allocations: 17.65 MB / 1.145 GB, free: 21.32 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.745e-06/1.073, allocations: 4 kB / 1.145 GB, free: 21.32 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.543e-05/1.073, allocations: 36 kB / 1.145 GB, free: 21.28 MB / 0.7292 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.002073/1.075, allocations: 1.387 MB / 1.147 GB, free: 20 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/1.075, allocations: 12.02 kB / 1.147 GB, free: 19.98 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002402/1.075, allocations: 204.7 kB / 1.147 GB, free: 19.81 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002059/1.076, allocations: 164.1 kB / 1.147 GB, free: 19.65 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009569/1.076, allocations: 0.6985 MB / 1.148 GB, free: 19.01 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.959e-05/1.077, allocations: 120 kB / 1.148 GB, free: 18.89 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/1.077, allocations: 140 kB / 1.148 GB, free: 18.75 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/1.079, allocations: 1.13 MB / 1.149 GB, free: 17.77 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/1.079, allocations: 0 / 1.149 GB, free: 17.77 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-05/1.079, allocations: 65.72 kB / 1.149 GB, free: 17.71 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/1.079, allocations: 32 kB / 1.149 GB, free: 17.68 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/1.08, allocations: 0.9854 MB / 1.15 GB, free: 16.79 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00493/1.085, allocations: 3.498 MB / 1.153 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/1.086, allocations: 0.6008 MB / 1.154 GB, free: 13 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.824e-05/1.087, allocations: 8.656 kB / 1.154 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000682/1.087, allocations: 432.4 kB / 1.154 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=74): time 1.883e-06/1.087, allocations: 0 / 1.154 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=74): time 0.001546/1.089, allocations: 0.9076 MB / 1.155 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/1.089, allocations: 218.7 kB / 1.156 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009766/1.09, allocations: 0.9471 MB / 1.157 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.31e-05/1.09, allocations: 41.7 kB / 1.157 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/1.09, allocations: 0.5513 MB / 1.157 GB, free: 9.797 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/1.09, allocations: 241.4 kB / 1.157 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/1.09, allocations: 20 kB / 1.157 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.622e-05/1.09, allocations: 334 kB / 1.158 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005158/1.091, allocations: 297.8 kB / 1.158 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005696/1.092, allocations: 399.1 kB / 1.158 GB, free: 8.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004962/1.092, allocations: 320.7 kB / 1.159 GB, free: 8.184 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.092, allocations: 0 / 1.159 GB, free: 8.184 MB / 0.7292 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001306/1.093, allocations: 0.8766 MB / 1.159 GB, free: 7.293 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.812e-05/1.093, allocations: 38.58 kB / 1.16 GB, free: 7.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/1.093, allocations: 1.875 kB / 1.16 GB, free: 7.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/1.094, allocations: 4 kB / 1.16 GB, free: 7.246 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005199/1.094, allocations: 135.8 kB / 1.16 GB, free: 7.113 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/1.094, allocations: 8.047 kB / 1.16 GB, free: 7.105 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006368/1.095, allocations: 206.7 kB / 1.16 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.695e-05/1.095, allocations: 27.98 kB / 1.16 GB, free: 6.875 MB / 0.7292 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.0003673/1.095, allocations: 272.3 kB / 1.16 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/1.095, allocations: 122.5 kB / 1.16 GB, free: 6.477 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/1.096, allocations: 0.682 MB / 1.161 GB, free: 5.781 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/1.096, allocations: 9.031 kB / 1.161 GB, free: 5.773 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.096, allocations: 0 / 1.161 GB, free: 5.773 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/1.096, allocations: 7.984 kB / 1.161 GB, free: 5.766 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002722/1.099, allocations: 2.597 MB / 1.163 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/1.099, allocations: 8.938 kB / 1.163 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000475/1.1, allocations: 139.8 kB / 1.164 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/1.1, allocations: 12 kB / 1.164 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.427e-05/1.1, allocations: 20 kB / 1.164 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/1.1, allocations: 15.92 kB / 1.164 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/1.1, allocations: 8 kB / 1.164 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/1.101, allocations: 1.403 MB / 1.165 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/1.101, allocations: 224.1 kB / 1.165 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/1.101, allocations: 27.98 kB / 1.165 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004709/1.102, allocations: 63.95 kB / 1.165 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/1.102, allocations: 100.1 kB / 1.165 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.155e-05/1.102, allocations: 28 kB / 1.165 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007408/1.103, allocations: 0.7035 MB / 1.166 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.91e-07/1.103, allocations: 0 / 1.166 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007557/1.104, allocations: 224.7 kB / 1.166 GB, free: 15.77 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) * 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.002807/1.106, allocations: 4.017 MB / 1.17 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001546/1.108, allocations: 0.7626 MB / 1.171 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.108, allocations: 0 / 1.171 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008394/1.109, allocations: 444 kB / 1.171 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000721/1.109, allocations: 124.4 kB / 1.172 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004767/1.114, allocations: 3.444 MB / 1.175 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008112/1.115, allocations: 1.109 MB / 1.176 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005173/1.116, allocations: 127.9 kB / 1.176 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006567/1.116, allocations: 471.3 kB / 1.177 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of SimCode: time 1.303e-06/1.116, allocations: 1.219 kB / 1.177 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03733/1.154, allocations: 18.24 MB / 1.194 GB, free: 2.879 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/1.154, allocations: 225.9 kB / 1.195 GB, free: 2.637 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.714/3.868, allocations: 0 / 1.195 GB, free: 2.637 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)