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.714/1.714, allocations: 289.7 MB / 302.2 MB, free: 2.145 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.001152/0.001152, allocations: 180.9 kB / 371.6 MB, free: 3.414 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.394/1.394, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.000865/0.0008655, allocations: 93.47 kB / 0.745 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.806e-05/3.815e-05, allocations: 4 kB / 0.8664 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2105, allocations: 116.3 MB / 0.98 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.677/0.8876, allocations: 144.3 MB / 1.121 GB, free: 41.01 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.8879, allocations: 85.55 kB / 1.121 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04809/0.936, allocations: 19.86 MB / 1.14 GB, free: 30.81 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9361, allocations: 0 / 1.14 GB, free: 30.81 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.971e-05/0.9361, allocations: 32 kB / 1.14 GB, free: 30.78 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: 403 * Number of variables: 403 Notification: Performance of Generate backend data structure: time 0.002571/0.9387, allocations: 1.547 MB / 1.142 GB, free: 29.48 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.9388, allocations: 8.031 kB / 1.142 GB, free: 29.48 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000283/0.9391, allocations: 232.7 kB / 1.142 GB, free: 29.38 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000261/0.9393, allocations: 187.5 kB / 1.142 GB, free: 29.19 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.9403, allocations: 0.7148 MB / 1.143 GB, free: 28.64 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-05/0.9404, allocations: 125.4 kB / 1.143 GB, free: 28.57 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.9406, allocations: 162.3 kB / 1.143 GB, free: 28.46 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/0.9428, allocations: 1.248 MB / 1.144 GB, free: 27.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/0.9428, allocations: 4 kB / 1.144 GB, free: 27.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.943, allocations: 65.8 kB / 1.145 GB, free: 27.76 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/0.943, allocations: 40 kB / 1.145 GB, free: 27.72 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/0.945, allocations: 1.041 MB / 1.146 GB, free: 27.09 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006515/0.9516, allocations: 4.136 MB / 1.15 GB, free: 24.84 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.9533, allocations: 0.8353 MB / 1.15 GB, free: 24.31 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003683/0.9537, allocations: 278.5 kB / 1.151 GB, free: 24.16 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.085e-05/0.9538, allocations: 17.66 kB / 1.151 GB, free: 24.14 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000557/0.9544, allocations: 366.5 kB / 1.151 GB, free: 23.94 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=74): time 2.896e-06/0.9544, allocations: 0 / 1.151 GB, free: 23.94 MB / 0.7448 GB Notification: Performance of matching and sorting (n=74): time 0.001081/0.9555, allocations: 0.6723 MB / 1.152 GB, free: 23.48 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.9555, allocations: 60.19 kB / 1.152 GB, free: 23.41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009734/0.9565, allocations: 0.9163 MB / 1.153 GB, free: 22.79 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.399e-05/0.9566, allocations: 54.41 kB / 1.153 GB, free: 22.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004161/0.957, allocations: 0.6695 MB / 1.153 GB, free: 22.38 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.9572, allocations: 243.1 kB / 1.154 GB, free: 22.19 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/0.9573, allocations: 17.38 kB / 1.154 GB, free: 22.19 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.709e-05/0.9573, allocations: 340 kB / 1.154 GB, free: 21.88 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004745/0.9578, allocations: 315.4 kB / 1.154 GB, free: 21.7 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005295/0.9584, allocations: 460.3 kB / 1.155 GB, free: 21.38 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005078/0.9589, allocations: 379.4 kB / 1.155 GB, free: 21.16 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.9589, allocations: 0 / 1.155 GB, free: 21.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001325/0.9602, allocations: 0.9607 MB / 1.156 GB, free: 20.51 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/0.9603, allocations: 39.11 kB / 1.156 GB, free: 20.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.9603, allocations: 0 / 1.156 GB, free: 20.47 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.9603, allocations: 12.2 kB / 1.156 GB, free: 20.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008668/0.9612, allocations: 198.7 kB / 1.156 GB, free: 20.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.9612, allocations: 5.125 kB / 1.156 GB, free: 20.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009445/0.9622, allocations: 223.1 kB / 1.156 GB, free: 20.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.538e-05/0.9623, allocations: 35.14 kB / 1.156 GB, free: 20.1 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.0001519/0.9624, allocations: 157.7 kB / 1.157 GB, free: 19.96 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.9625, allocations: 108.4 kB / 1.157 GB, free: 19.86 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.9637, allocations: 0.7461 MB / 1.157 GB, free: 19.45 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.9638, allocations: 13.45 kB / 1.157 GB, free: 19.43 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.9638, allocations: 3.938 kB / 1.157 GB, free: 19.43 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.964e-06/0.9638, allocations: 4.125 kB / 1.158 GB, free: 19.43 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002907/0.9667, allocations: 2.278 MB / 1.16 GB, free: 18.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.9667, allocations: 4 kB / 1.16 GB, free: 18.05 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006324/0.9673, allocations: 163.1 kB / 1.16 GB, free: 17.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.898e-06/0.9674, allocations: 12 kB / 1.16 GB, free: 17.91 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.686e-05/0.9674, allocations: 28.23 kB / 1.16 GB, free: 17.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.9674, allocations: 13.62 kB / 1.16 GB, free: 17.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.9674, allocations: 8 kB / 1.16 GB, free: 17.88 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.9685, allocations: 1.221 MB / 1.161 GB, free: 16.73 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002264/0.9687, allocations: 222.1 kB / 1.161 GB, free: 16.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.9689, allocations: 24.97 kB / 1.161 GB, free: 16.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006597/0.9695, allocations: 96.52 kB / 1.161 GB, free: 16.45 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002106/0.9698, allocations: 102.8 kB / 1.162 GB, free: 16.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.597e-05/0.9698, allocations: 33.33 kB / 1.162 GB, free: 16.38 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007844/0.9706, allocations: 0.7005 MB / 1.162 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9706, allocations: 0 / 1.162 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007996/0.9714, allocations: 294.8 kB / 1.163 GB, free: 15.65 MB / 0.7448 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.001795/0.9732, allocations: 3.315 MB / 1.166 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001252/0.9745, allocations: 0.793 MB / 1.167 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.9745, allocations: 0 / 1.167 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008641/0.9754, allocations: 0.5348 MB / 1.167 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007861/0.9762, allocations: 167.7 kB / 1.167 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/0.9795, allocations: 1.902 MB / 1.169 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005882/0.9801, allocations: 1.221 MB / 1.17 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005441/0.9807, allocations: 179.6 kB / 1.17 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005757/0.9813, allocations: 0.5249 MB / 1.171 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of SimCode: time 6.62e-07/0.9813, allocations: 0 / 1.171 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04583/1.027, allocations: 20.61 MB / 1.191 GB, free: 5.812 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/1.027, allocations: 222.4 kB / 1.191 GB, free: 5.582 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.607/3.634, allocations: 0 / 1.191 GB, free: 5.582 MB / 0.7605 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)