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.579/2.579, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001571/0.001571, allocations: 188.8 kB / 360.6 MB, free: 7.266 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.048/2.048, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001142/0.001141, allocations: 96.55 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.559e-05/3.556e-05, allocations: 4 kB / 0.8509 GB, free: 3.258 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8294/0.8295, allocations: 115.2 MB / 0.9635 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2457/1.075, allocations: 140.9 MB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/1.076, allocations: 74.44 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.07164/1.147, allocations: 17.5 MB / 1.118 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.525e-06/1.147, allocations: 2.906 kB / 1.118 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.859e-05/1.147, allocations: 28 kB / 1.118 GB, free: 14.09 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.003448/1.151, allocations: 1.295 MB / 1.12 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/1.151, allocations: 8.031 kB / 1.12 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005369/1.151, allocations: 163.2 kB / 1.12 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/1.153, allocations: 0.6959 MB / 1.12 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/1.154, allocations: 56 kB / 1.12 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002865/1.154, allocations: 84 kB / 1.12 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002883/1.157, allocations: 0.8414 MB / 1.121 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002876/1.16, allocations: 0.8756 MB / 1.122 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.406e-05/1.16, allocations: 0 / 1.122 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/1.16, allocations: 0 / 1.122 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.782e-05/1.16, allocations: 36 kB / 1.122 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009375/1.169, allocations: 3.112 MB / 1.125 GB, free: 6.77 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/1.171, allocations: 0.5373 MB / 1.126 GB, free: 6.223 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006279/1.172, allocations: 231.1 kB / 1.126 GB, free: 5.996 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.827e-05/1.172, allocations: 8.781 kB / 1.126 GB, free: 5.988 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009427/1.173, allocations: 392.7 kB / 1.126 GB, free: 5.57 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=74): time 2.986e-06/1.173, allocations: 0 / 1.126 GB, free: 5.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=74): time 0.00166/1.175, allocations: 0.5334 MB / 1.127 GB, free: 5.027 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001388/1.175, allocations: 218.2 kB / 1.127 GB, free: 4.766 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/1.176, allocations: 0.523 MB / 1.128 GB, free: 4.238 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001648/1.176, allocations: 29.7 kB / 1.128 GB, free: 4.203 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007123/1.177, allocations: 0.577 MB / 1.128 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003671/1.177, allocations: 228.5 kB / 1.128 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.381e-05/1.177, allocations: 0 / 1.128 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002263/1.177, allocations: 382.8 kB / 1.129 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000787/1.178, allocations: 249.5 kB / 1.129 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008497/1.179, allocations: 346.7 kB / 1.129 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009785/1.18, allocations: 248.5 kB / 1.13 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/1.18, allocations: 3.75 kB / 1.13 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002361/1.183, allocations: 0.6907 MB / 1.13 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.194e-05/1.183, allocations: 41.59 kB / 1.13 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.183, allocations: 4.062 kB / 1.13 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/1.183, allocations: 4 kB / 1.13 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/1.184, allocations: 131.8 kB / 1.13 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/1.184, allocations: 4 kB / 1.13 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/1.185, allocations: 135.5 kB / 1.131 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/1.185, allocations: 24 kB / 1.131 GB, free: 1.113 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 () * 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.0002689/1.186, allocations: 149.5 kB / 1.131 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001543/1.187, allocations: 0.5351 MB / 1.131 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/1.187, allocations: 79.02 kB / 1.131 GB, free: 352 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/1.189, allocations: 0.5417 MB / 1.132 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/1.189, allocations: 12 kB / 1.132 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/1.189, allocations: 0 / 1.132 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/1.189, allocations: 3.984 kB / 1.132 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005169/1.194, allocations: 2.283 MB / 1.134 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/1.194, allocations: 4 kB / 1.134 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/1.195, allocations: 139.7 kB / 1.134 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.47e-05/1.195, allocations: 12 kB / 1.134 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.988e-05/1.195, allocations: 12 kB / 1.134 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.86e-05/1.195, allocations: 13.94 kB / 1.134 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.526e-05/1.195, allocations: 12.28 kB / 1.134 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002112/1.198, allocations: 1.24 MB / 1.135 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/1.198, allocations: 168 kB / 1.136 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/1.198, allocations: 15.98 kB / 1.136 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008584/1.199, allocations: 55.95 kB / 1.136 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002453/1.199, allocations: 92.12 kB / 1.136 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.957e-05/1.199, allocations: 31.98 kB / 1.136 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00065/1.2, allocations: 367.2 kB / 1.136 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.71e-07/1.2, allocations: 0 / 1.136 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0011/1.201, allocations: 234.7 kB / 1.136 GB, free: 10.68 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.003422/1.205, allocations: 3.874 MB / 1.14 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002044/1.207, allocations: 0.6546 MB / 1.141 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/1.207, allocations: 0 / 1.141 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001311/1.208, allocations: 387.3 kB / 1.141 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008922/1.209, allocations: 96.72 kB / 1.141 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004689/1.214, allocations: 1.516 MB / 1.143 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009991/1.215, allocations: 1.112 MB / 1.144 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006884/1.215, allocations: 81.44 kB / 1.144 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009241/1.216, allocations: 456.2 kB / 1.144 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of SimCode: time 1.192e-06/1.216, allocations: 3.938 kB / 1.144 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06705/1.283, allocations: 13.82 MB / 1.158 GB, free: 4.551 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002935/1.284, allocations: 195.8 kB / 1.158 GB, free: 4.355 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.117/4.4, allocations: 0 / 1.158 GB, free: 4.355 MB / 0.7605 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)