Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_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_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004265/0.004265, allocations: 100.1 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 193.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.486/2.486, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 63.91 kB / 0.9504 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8844/0.8856, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.005299/0.8909, allocations: 4.043 MB / 1.091 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003952/0.8949, allocations: 2.266 MB / 1.094 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.8964, allocations: 27.66 kB / 1.094 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006134/0.897, allocations: 199 kB / 1.094 GB, free: 436 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005954/0.8977, allocations: 127.6 kB / 1.094 GB, free: 324 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002267/0.8999, allocations: 0.6365 MB / 1.095 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003131/0.9031, allocations: 1.511 MB / 1.096 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001825/0.9049, allocations: 1.007 MB / 1.097 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008974/0.9058, allocations: 0.5401 MB / 1.098 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006757/0.9065, allocations: 0.6017 MB / 1.098 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002787/0.9068, allocations: 181.5 kB / 1.098 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003053/0.9071, allocations: 190.4 kB / 1.099 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003311/0.9074, allocations: 349.5 kB / 1.099 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006675/0.9081, allocations: 0.6623 MB / 1.1 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002844/0.911, allocations: 2.138 MB / 1.102 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.911, allocations: 0.7812 kB / 1.102 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.545e-06/0.911, allocations: 0.75 kB / 1.102 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.921e-05/0.9111, allocations: 0 / 1.102 GB, free: 12.27 MB / 0.8731 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.002977/0.9141, allocations: 1.498 MB / 1.103 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.9141, allocations: 9.906 kB / 1.103 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002832/0.9144, allocations: 208.3 kB / 1.103 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003486/0.9148, allocations: 153.8 kB / 1.103 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.9161, allocations: 0.7461 MB / 1.104 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.9163, allocations: 116.1 kB / 1.104 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/0.9165, allocations: 142.9 kB / 1.104 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002461/0.919, allocations: 1.123 MB / 1.106 GB, free: 9.957 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/0.919, allocations: 1.344 kB / 1.106 GB, free: 9.957 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.9191, allocations: 56.83 kB / 1.106 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.703e-05/0.9192, allocations: 38.03 kB / 1.106 GB, free: 9.91 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002032/0.9212, allocations: 0.9353 MB / 1.107 GB, free: 9.566 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006156/0.9274, allocations: 3.086 MB / 1.11 GB, free: 8.016 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.9289, allocations: 0.5385 MB / 1.11 GB, free: 7.781 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007132/0.9296, allocations: 308.6 kB / 1.11 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.802e-05/0.9297, allocations: 10.97 kB / 1.11 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008842/0.9306, allocations: 386.6 kB / 1.111 GB, free: 7.449 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=74): time 3.446e-06/0.9306, allocations: 0 / 1.111 GB, free: 7.449 MB / 0.8731 GB Notification: Performance of matching and sorting (n=74): time 0.002091/0.9327, allocations: 0.7832 MB / 1.111 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.9329, allocations: 168.3 kB / 1.112 GB, free: 6.926 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/0.9343, allocations: 0.8216 MB / 1.112 GB, free: 6.559 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.152e-05/0.9344, allocations: 48.23 kB / 1.112 GB, free: 6.512 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006562/0.935, allocations: 0.5632 MB / 1.113 GB, free: 6.062 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002896/0.9353, allocations: 241.7 kB / 1.113 GB, free: 5.875 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004295/0.9358, allocations: 214.8 kB / 1.113 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.936, allocations: 344.5 kB / 1.114 GB, free: 5.449 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006281/0.9366, allocations: 276.1 kB / 1.114 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008632/0.9375, allocations: 496.6 kB / 1.115 GB, free: 4.988 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.9388, allocations: 0.7247 MB / 1.115 GB, free: 4.48 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.9388, allocations: 5.281 kB / 1.115 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001874/0.9407, allocations: 0.9199 MB / 1.116 GB, free: 4.07 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.626e-05/0.9408, allocations: 37.53 kB / 1.116 GB, free: 4.039 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.9408, allocations: 10.97 kB / 1.116 GB, free: 4.035 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.154e-05/0.9408, allocations: 14.5 kB / 1.116 GB, free: 4.031 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006447/0.9415, allocations: 171.4 kB / 1.116 GB, free: 4.012 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.463e-05/0.9415, allocations: 16.97 kB / 1.116 GB, free: 4.008 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000789/0.9423, allocations: 177.4 kB / 1.117 GB, free: 3.922 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.012e-05/0.9424, allocations: 45.69 kB / 1.117 GB, free: 3.91 MB / 0.8731 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.gre.y,actAirSet_RehBox.greThr1.y,actAirSet_RehBox.swi3.u2,actAirSet_RehBox.intEqu1.y,actAirSet_RehBox.intEqu2.y,actAirSet_RehBox.intEqu3.y,actAirSet_RehBox.intEqu4.y,actAirSet_RehBox1.gre.y,actAirSet_RehBox1.greThr1.y,actAirSet_RehBox1.swi3.u2,actAirSet_RehBox1.intEqu1.y,actAirSet_RehBox1.intEqu2.y,actAirSet_RehBox1.intEqu3.y,actAirSet_RehBox1.intEqu4.y,winSta.y,$PRE.winSta.y,actAirSet_RehBox1.greThr.greHys.y,$PRE.actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox1.not1.y,actAirSet_RehBox.greThr.greHys.y,$PRE.actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox.not1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004633/0.9429, allocations: 297.4 kB / 1.117 GB, free: 3.676 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.943, allocations: 93.12 kB / 1.117 GB, free: 3.625 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.9443, allocations: 0.5977 MB / 1.118 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.9443, allocations: 8.969 kB / 1.118 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/0.9443, allocations: 1.062 kB / 1.118 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.9443, allocations: 5.297 kB / 1.118 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003428/0.9478, allocations: 2.3 MB / 1.12 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.9478, allocations: 6.719 kB / 1.12 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000459/0.9482, allocations: 128 kB / 1.12 GB, free: 1.926 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.396e-05/0.9483, allocations: 11.75 kB / 1.12 GB, free: 1.926 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.67e-05/0.9483, allocations: 22.91 kB / 1.12 GB, free: 1.918 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.586e-05/0.9483, allocations: 18.88 kB / 1.12 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.117e-05/0.9484, allocations: 12.22 kB / 1.12 GB, free: 1.906 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.9497, allocations: 0.9238 MB / 1.121 GB, free: 1.242 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/0.95, allocations: 196.3 kB / 1.121 GB, free: 1.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.97e-05/0.9501, allocations: 22.86 kB / 1.121 GB, free: 1.062 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004583/0.9506, allocations: 49.02 kB / 1.121 GB, free: 1.047 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002393/0.9508, allocations: 91.59 kB / 1.121 GB, free: 1.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.007e-05/0.9509, allocations: 33.38 kB / 1.121 GB, free: 1.012 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009655/0.9519, allocations: 0.5246 MB / 1.122 GB, free: 0.7812 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9519, allocations: 0 / 1.122 GB, free: 0.7812 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001221/0.9531, allocations: 244.5 kB / 1.122 GB, free: 0.7031 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002269/0.9554, allocations: 1.504 MB / 1.124 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002159/0.9576, allocations: 0.7537 MB / 1.124 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.9576, allocations: 5.812 kB / 1.124 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.9587, allocations: 363.3 kB / 1.125 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.9599, allocations: 135.2 kB / 1.125 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/0.9728, allocations: 7.274 MB / 1.132 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009845/0.9739, allocations: 1.062 MB / 1.133 GB, free: 9.855 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005299/0.9744, allocations: 120.8 kB / 1.133 GB, free: 9.82 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005924/0.975, allocations: 434.8 kB / 1.133 GB, free: 9.488 MB / 0.8887 GB Notification: Performance of SimCode: time 1.233e-06/0.975, allocations: 1.25 kB / 1.133 GB, free: 9.488 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5357/1.511, allocations: 15.56 MB / 1.149 GB, free: 5.309 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.36/15.87, allocations: 8.984 kB / 1.149 GB, free: 5.305 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)