Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.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.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow",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.762/1.762, allocations: 289.9 MB / 297.4 MB, free: 6.422 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.001162/0.001162, allocations: 176.9 kB / 366.7 MB, free: 1.672 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.634/1.634, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0008258/0.0008258, allocations: 90.23 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.113e-05/2.124e-05, allocations: 4 kB / 0.8599 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5589/0.5589, allocations: 116.3 MB / 0.9734 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1718/0.7308, allocations: 143.6 MB / 1.114 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.7311, allocations: 84.47 kB / 1.114 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0503/0.7814, allocations: 19.71 MB / 1.133 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7815, allocations: 0 / 1.133 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.807e-05/0.7815, allocations: 35.98 kB / 1.133 GB, free: 2.797 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: 403 * Number of variables: 403 Notification: Performance of Generate backend data structure: time 0.002694/0.7842, allocations: 1.539 MB / 1.135 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.7843, allocations: 8.031 kB / 1.135 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000256/0.7846, allocations: 185.8 kB / 1.135 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009397/0.7855, allocations: 0.7203 MB / 1.135 GB, free: 252 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.264e-05/0.7856, allocations: 60 kB / 1.135 GB, free: 192 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.7857, allocations: 96 kB / 1.136 GB, free: 96 kB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001703/0.7874, allocations: 0.9592 MB / 1.137 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.7894, allocations: 1.023 MB / 1.138 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.7894, allocations: 0 / 1.138 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.124e-05/0.7895, allocations: 0 / 1.138 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.944e-05/0.7895, allocations: 43.94 kB / 1.138 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005951/0.7955, allocations: 3.765 MB / 1.141 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.7972, allocations: 0.802 MB / 1.142 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003803/0.7976, allocations: 251.2 kB / 1.142 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.732e-05/0.7977, allocations: 16.75 kB / 1.142 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005594/0.7982, allocations: 344.5 kB / 1.143 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=74): time 2.855e-06/0.7982, allocations: 0 / 1.143 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of matching and sorting (n=74): time 0.0009786/0.7992, allocations: 0.6088 MB / 1.143 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.7993, allocations: 60.19 kB / 1.143 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006822/0.8, allocations: 0.613 MB / 1.144 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.501e-05/0.8, allocations: 33.7 kB / 1.144 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004622/0.8005, allocations: 0.6933 MB / 1.145 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/0.8007, allocations: 232.6 kB / 1.145 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.748e-05/0.8008, allocations: 3.938 kB / 1.145 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.8009, allocations: 338 kB / 1.145 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004811/0.8014, allocations: 306.5 kB / 1.145 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005359/0.8019, allocations: 430.3 kB / 1.146 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005958/0.8025, allocations: 340.4 kB / 1.146 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.8025, allocations: 0 / 1.146 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001333/0.8039, allocations: 0.8505 MB / 1.147 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.8039, allocations: 38.8 kB / 1.147 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.8039, allocations: 4.25 kB / 1.147 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.804, allocations: 11.98 kB / 1.147 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008434/0.8048, allocations: 191.7 kB / 1.147 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.8048, allocations: 11.94 kB / 1.147 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008506/0.8057, allocations: 167.2 kB / 1.147 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.212e-05/0.8058, allocations: 37.78 kB / 1.147 GB, free: 3.781 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,$whenCondition2,zon3.occSen.y,zon2.occSen.y,zon1.occSen.y,$PRE.zon1.hys.y,zon1.hys.y,zon1.nOcc,$PRE.zon2.hys.y,zon2.hys.y,zon2.nOcc,$PRE.zon3.hys.y,zon3.hys.y,zon3.nOcc,$PRE.ahu1.hys1.y,ahu1.hys1.y,$PRE.winSta1.y,winSta1.y,ahu1.yReqOutAir,ahu1.and1.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * 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.0001548/0.806, allocations: 124.8 kB / 1.148 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008756/0.8068, allocations: 0.6007 MB / 1.148 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.8069, allocations: 82.97 kB / 1.148 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.808, allocations: 0.6619 MB / 1.149 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.808, allocations: 15.95 kB / 1.149 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.8081, allocations: 0 / 1.149 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.8081, allocations: 3.984 kB / 1.149 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002554/0.8106, allocations: 2.001 MB / 1.151 GB, free: 152 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.8107, allocations: 4 kB / 1.151 GB, free: 148 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006846/0.8113, allocations: 172.1 kB / 1.151 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/0.8114, allocations: 8 kB / 1.151 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.046e-05/0.8114, allocations: 8 kB / 1.151 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.185e-05/0.8114, allocations: 22.78 kB / 1.151 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.896e-06/0.8114, allocations: 8.75 kB / 1.151 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.8126, allocations: 1.13 MB / 1.152 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.8128, allocations: 179.9 kB / 1.152 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.877e-05/0.8129, allocations: 12 kB / 1.152 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005931/0.8135, allocations: 91.75 kB / 1.152 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/0.8137, allocations: 108.2 kB / 1.153 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.207e-05/0.8137, allocations: 27 kB / 1.153 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000481/0.8142, allocations: 463.1 kB / 1.153 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8142, allocations: 0 / 1.153 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007198/0.815, allocations: 298.3 kB / 1.153 GB, free: 13.42 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,zon1.hys.y,zon1.nOcc,zon2.hys.y,zon2.nOcc,zon3.hys.y,zon3.nOcc,ahu1.hys1.y,winSta1.y) * Number of discrete states: 4 (zon3.hys.y,zon2.hys.y,zon1.hys.y,ahu1.hys1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 73 * 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.001957/0.8169, allocations: 3.228 MB / 1.156 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00108/0.818, allocations: 0.7484 MB / 1.157 GB, free: 9.258 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.818, allocations: 0 / 1.157 GB, free: 9.258 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0008688/0.8189, allocations: 0.5129 MB / 1.158 GB, free: 8.738 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006432/0.8196, allocations: 128.8 kB / 1.158 GB, free: 8.617 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003338/0.8229, allocations: 1.808 MB / 1.16 GB, free: 6.695 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008061/0.8237, allocations: 1.216 MB / 1.161 GB, free: 5.445 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0005274/0.8243, allocations: 162.4 kB / 1.161 GB, free: 5.281 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006762/0.825, allocations: 0.5032 MB / 1.161 GB, free: 4.777 MB / 0.7605 GB Notification: Performance of SimCode: time 4.21e-07/0.825, allocations: 4 kB / 1.161 GB, free: 4.773 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03975/0.8647, allocations: 16.69 MB / 1.178 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/0.865, allocations: 218.4 kB / 1.178 GB, free: 4.059 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.407/3.272, allocations: 0 / 1.178 GB, free: 4.059 MB / 0.7761 GB (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe 2>&1)