Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 2.344/2.344, allocations: 285.7 MB / 293.1 MB, free: 10.19 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.001253/0.001253, allocations: 180.5 kB / 361.4 MB, free: 6.84 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.7/2.7, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.001401/0.001401, allocations: 98.69 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.986e-05/2.984e-05, allocations: 4 kB / 0.8519 GB, free: 2.586 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101/1.101, allocations: 115.3 MB / 0.9645 GB, free: 79.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2796/1.38, allocations: 141.7 MB / 1.103 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003643/1.381, allocations: 84.59 kB / 1.103 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0239/1.405, allocations: 8.389 MB / 1.111 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.294e-06/1.405, allocations: 4 kB / 1.111 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.93e-05/1.405, allocations: 11.98 kB / 1.111 GB, free: 5.758 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.001128/1.406, allocations: 0.558 MB / 1.112 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/1.406, allocations: 8.031 kB / 1.112 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/1.406, allocations: 40.56 kB / 1.112 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007024/1.407, allocations: 335.7 kB / 1.112 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/1.407, allocations: 7.938 kB / 1.112 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.373e-05/1.407, allocations: 12 kB / 1.112 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003003/1.407, allocations: 129.7 kB / 1.112 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/1.408, allocations: 157.4 kB / 1.112 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/1.408, allocations: 4 kB / 1.112 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/1.408, allocations: 15.92 kB / 1.112 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/1.408, allocations: 4 kB / 1.112 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/1.409, allocations: 0.637 MB / 1.113 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003673/1.409, allocations: 198.9 kB / 1.113 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/1.409, allocations: 61.95 kB / 1.113 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/1.409, allocations: 4 kB / 1.113 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002295/1.41, allocations: 131.5 kB / 1.113 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 3.056e-06/1.41, allocations: 4 kB / 1.113 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0003996/1.41, allocations: 178.1 kB / 1.114 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/1.41, allocations: 51.41 kB / 1.114 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003955/1.411, allocations: 337 kB / 1.114 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/1.411, allocations: 33.69 kB / 1.114 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/1.411, allocations: 176.4 kB / 1.114 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/1.411, allocations: 39.45 kB / 1.114 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.686e-05/1.411, allocations: 4 kB / 1.114 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.411, allocations: 350.8 kB / 1.114 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/1.411, allocations: 95.98 kB / 1.115 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/1.411, allocations: 137.1 kB / 1.115 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/1.412, allocations: 105.1 kB / 1.115 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/1.412, allocations: 0 / 1.115 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005726/1.412, allocations: 297.7 kB / 1.115 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/1.412, allocations: 5.094 kB / 1.115 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/1.412, allocations: 0 / 1.115 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/1.412, allocations: 4 kB / 1.115 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/1.413, allocations: 35.92 kB / 1.115 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/1.413, allocations: 1.219 kB / 1.115 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/1.413, allocations: 32 kB / 1.115 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/1.413, allocations: 14.06 kB / 1.115 GB, free: 1.414 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.000115/1.413, allocations: 122.7 kB / 1.115 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002999/1.413, allocations: 185.2 kB / 1.115 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/1.413, allocations: 23.72 kB / 1.115 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003659/1.414, allocations: 209.8 kB / 1.116 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/1.414, allocations: 7.938 kB / 1.116 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.414, allocations: 4 kB / 1.116 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.414, allocations: 0 / 1.116 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/1.414, allocations: 309.9 kB / 1.116 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.414, allocations: 0 / 1.116 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/1.414, allocations: 19.98 kB / 1.116 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/1.414, allocations: 2.625 kB / 1.116 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/1.414, allocations: 7.938 kB / 1.116 GB, free: 500 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/1.414, allocations: 0 / 1.116 GB, free: 500 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.414, allocations: 0 / 1.116 GB, free: 500 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/1.414, allocations: 226.8 kB / 1.116 GB, free: 256 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.681e-05/1.415, allocations: 112.8 kB / 1.116 GB, free: 124 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/1.415, allocations: 5.375 kB / 1.116 GB, free: 120 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/1.415, allocations: 15.98 kB / 1.116 GB, free: 104 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.543e-05/1.415, allocations: 35.94 kB / 1.116 GB, free: 68 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/1.415, allocations: 7.984 kB / 1.116 GB, free: 60 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00024/1.415, allocations: 232.6 kB / 1.117 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.1e-07/1.415, allocations: 4 kB / 1.117 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003385/1.416, allocations: 67.78 kB / 1.117 GB, free: 15.76 MB / 0.7292 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.001418/1.417, allocations: 1.031 MB / 1.118 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003577/1.417, allocations: 195.9 kB / 1.118 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.417, allocations: 0 / 1.118 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/1.417, allocations: 90.67 kB / 1.118 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/1.418, allocations: 37.77 kB / 1.118 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009757/1.419, allocations: 464.4 kB / 1.118 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/1.419, allocations: 0.7912 MB / 1.119 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001506/1.419, allocations: 44.16 kB / 1.119 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/1.419, allocations: 107.4 kB / 1.119 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of SimCode: time 3.01e-07/1.419, allocations: 0 / 1.119 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03506/1.455, allocations: 5.753 MB / 1.125 GB, free: 7.422 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003695/1.455, allocations: 220.5 kB / 1.125 GB, free: 7.133 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.727/4.182, allocations: 0 / 1.125 GB, free: 7.133 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)