Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.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.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",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.494/2.494, allocations: 284.9 MB / 292.4 MB, free: 10.46 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.001434/0.001434, allocations: 176.8 kB / 360.6 MB, free: 7.27 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.084/2.084, 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.001105/0.001105, allocations: 90.89 kB / 0.7321 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.63e-05/2.628e-05, allocations: 4 kB / 0.8509 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8285/0.8286, allocations: 115.2 MB / 0.9635 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2405/1.069, allocations: 141.5 MB / 1.102 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003407/1.07, allocations: 81.44 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04797/1.118, allocations: 8.398 MB / 1.11 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.966e-06/1.118, allocations: 0 / 1.11 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.986e-05/1.118, allocations: 16 kB / 1.11 GB, free: 6.484 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.00165/1.119, allocations: 0.5515 MB / 1.11 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.372e-05/1.119, allocations: 8.031 kB / 1.11 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/1.12, allocations: 35.53 kB / 1.111 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/1.121, allocations: 339.9 kB / 1.111 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/1.121, allocations: 8 kB / 1.111 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-05/1.121, allocations: 12 kB / 1.111 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006924/1.122, allocations: 143.7 kB / 1.111 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006325/1.122, allocations: 153.4 kB / 1.111 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/1.122, allocations: 0 / 1.111 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.64e-05/1.123, allocations: 0 / 1.111 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/1.123, allocations: 11.88 kB / 1.111 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002615/1.125, allocations: 0.6489 MB / 1.112 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008333/1.126, allocations: 191.8 kB / 1.112 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002697/1.126, allocations: 64.84 kB / 1.112 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.531e-05/1.126, allocations: 4 kB / 1.112 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004639/1.127, allocations: 132.5 kB / 1.112 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 4.999e-06/1.127, allocations: 0 / 1.112 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0008557/1.128, allocations: 178.4 kB / 1.112 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/1.128, allocations: 51.41 kB / 1.112 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009044/1.129, allocations: 341 kB / 1.113 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.82e-05/1.129, allocations: 33.7 kB / 1.113 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002491/1.129, allocations: 172.4 kB / 1.113 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/1.129, allocations: 47.39 kB / 1.113 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/1.129, allocations: 3.984 kB / 1.113 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002546/1.13, allocations: 338.8 kB / 1.113 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/1.13, allocations: 99.98 kB / 1.113 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004772/1.131, allocations: 144.2 kB / 1.114 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006316/1.131, allocations: 105.1 kB / 1.114 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/1.131, allocations: 0.8438 kB / 1.114 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001265/1.133, allocations: 289.7 kB / 1.114 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/1.133, allocations: 4 kB / 1.114 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/1.133, allocations: 0 / 1.114 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/1.133, allocations: 0 / 1.114 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004702/1.133, allocations: 39.95 kB / 1.114 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/1.133, allocations: 4 kB / 1.114 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005334/1.134, allocations: 27.97 kB / 1.114 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-05/1.134, allocations: 15.95 kB / 1.114 GB, free: 2.137 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$PRE.uHeaCoo.tab.nextTimeEvent,zonSta.yZonSta,zonSta.booToIntCoo.u,zonSta.booToIntDea.u,$PRE.zonSta.hysUHea.y,zonSta.hysUHea.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,$PRE.zonSta.hysU.y,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,uHeaCoo.tab.nextTimeEvent,$PRE.uHeaCoo.tab.nextTimeEventScaled,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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.0002183/1.134, allocations: 119.9 kB / 1.114 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007196/1.135, allocations: 188 kB / 1.114 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.311e-05/1.135, allocations: 23.72 kB / 1.114 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009006/1.136, allocations: 209.7 kB / 1.114 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/1.136, allocations: 4.031 kB / 1.114 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/1.136, allocations: 0 / 1.114 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/1.136, allocations: 11.92 kB / 1.115 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006746/1.137, allocations: 301.9 kB / 1.115 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/1.137, allocations: 0 / 1.115 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/1.137, allocations: 23.98 kB / 1.115 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/1.137, allocations: 0 / 1.115 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.312e-05/1.137, allocations: 8 kB / 1.115 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/1.137, allocations: 3.938 kB / 1.115 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/1.137, allocations: 6.984 kB / 1.115 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008122/1.138, allocations: 219 kB / 1.115 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/1.138, allocations: 112.8 kB / 1.115 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.659e-05/1.138, allocations: 0 / 1.115 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003648/1.139, allocations: 23.97 kB / 1.115 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/1.139, allocations: 31.95 kB / 1.115 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.584e-05/1.139, allocations: 13.42 kB / 1.115 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000555/1.14, allocations: 228.6 kB / 1.115 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.11e-07/1.14, allocations: 0 / 1.115 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007503/1.14, allocations: 67.83 kB / 1.116 GB, free: 0.4922 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,zonSta.yZonSta,zonSta.booToIntCoo.u,zonSta.booToIntDea.u,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 5 (zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00282/1.143, allocations: 1.022 MB / 1.117 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008643/1.144, allocations: 195.9 kB / 1.117 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.144, allocations: 0 / 1.117 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003544/1.144, allocations: 91.86 kB / 1.117 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006934/1.145, allocations: 50.73 kB / 1.117 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/1.147, allocations: 456.9 kB / 1.117 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004904/1.147, allocations: 0.7965 MB / 1.118 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002305/1.147, allocations: 40.7 kB / 1.118 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/1.148, allocations: 103.4 kB / 1.118 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of SimCode: time 1.192e-06/1.148, allocations: 4 kB / 1.118 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04991/1.198, allocations: 5.759 MB / 1.124 GB, free: 8.18 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003486/1.198, allocations: 207.6 kB / 1.124 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.679/3.877, allocations: 0 / 1.124 GB, free: 7.895 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.fmu > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)