Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.243/2.243, allocations: 248.7 MB / 256.2 MB, free: 7.016 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001498/0.001498, allocations: 183.6 kB / 315.4 MB, free: 4.012 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.12/2.12, allocations: 205.3 MB / 0.5662 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001129/0.001128, allocations: 85.53 kB / 0.6704 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.955e-05/2.962e-05, allocations: 4 kB / 0.7804 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.1999, allocations: 106.3 MB / 0.8842 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8717/1.072, allocations: 132.8 MB / 1.014 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/1.072, allocations: 82.5 kB / 1.014 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01323/1.085, allocations: 3.112 MB / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.273e-06/1.085, allocations: 0 / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.55e-05/1.085, allocations: 4 kB / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001362/1.087, allocations: 0.5121 MB / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/1.087, allocations: 12.03 kB / 1.017 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.645e-05/1.087, allocations: 23.72 kB / 1.018 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/1.087, allocations: 210.5 kB / 1.018 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/1.087, allocations: 8 kB / 1.018 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.239e-05/1.087, allocations: 15.98 kB / 1.018 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004088/1.088, allocations: 127.1 kB / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004287/1.088, allocations: 150.1 kB / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/1.088, allocations: 0 / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.491e-05/1.088, allocations: 3.984 kB / 1.018 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/1.088, allocations: 4 kB / 1.018 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/1.09, allocations: 0.586 MB / 1.019 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004436/1.09, allocations: 150.1 kB / 1.019 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/1.091, allocations: 63.58 kB / 1.019 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/1.091, allocations: 0 / 1.019 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003707/1.091, allocations: 144 kB / 1.019 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 2.765e-06/1.091, allocations: 0 / 1.019 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0005135/1.092, allocations: 158 kB / 1.019 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/1.092, allocations: 59.36 kB / 1.019 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/1.092, allocations: 181.6 kB / 1.019 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.374e-05/1.092, allocations: 34.3 kB / 1.019 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/1.092, allocations: 138.5 kB / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.145e-05/1.092, allocations: 50.42 kB / 1.02 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.09e-05/1.092, allocations: 4 kB / 1.02 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.092, allocations: 334.1 kB / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/1.093, allocations: 61.31 kB / 1.02 GB, free: 420 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/1.093, allocations: 107 kB / 1.02 GB, free: 336 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/1.093, allocations: 50.23 kB / 1.02 GB, free: 308 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.093, allocations: 0 / 1.02 GB, free: 308 kB / 0.6355 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005046/1.093, allocations: 204 kB / 1.02 GB, free: 144 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/1.094, allocations: 8 kB / 1.02 GB, free: 136 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/1.094, allocations: 0 / 1.02 GB, free: 136 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/1.094, allocations: 48 / 1.02 GB, free: 136 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/1.094, allocations: 43.95 kB / 1.02 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/1.094, allocations: 7.938 kB / 1.02 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/1.095, allocations: 55.81 kB / 1.02 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/1.095, allocations: 7.688 kB / 1.02 GB, free: 24 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition2,$whenCondition1,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,$PRE.uCoo.T_start,uCoo.T_start,$PRE.uCoo.count,uCoo.count,$PRE.uHea.T_start,uHea.T_start,$PRE.uHea.count,uHea.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001944/1.095, allocations: 118.2 kB / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004799/1.095, allocations: 159.2 kB / 1.021 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/1.095, allocations: 23.72 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.909e-05/1.095, allocations: 26.77 kB / 1.021 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/1.096, allocations: 7.938 kB / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.096, allocations: 4 kB / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/1.096, allocations: 0 / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003668/1.096, allocations: 257.9 kB / 1.021 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/1.096, allocations: 0 / 1.021 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003146/1.096, allocations: 35.09 kB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/1.096, allocations: 4 kB / 1.021 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/1.096, allocations: 3.984 kB / 1.021 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/1.096, allocations: 0 / 1.021 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.096, allocations: 4 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/1.097, allocations: 194.8 kB / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-05/1.097, allocations: 92.83 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.966e-05/1.097, allocations: 11.48 kB / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/1.097, allocations: 39.97 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/1.098, allocations: 49.41 kB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/1.098, allocations: 4 kB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001542/1.098, allocations: 142.6 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.098, allocations: 0 / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003754/1.098, allocations: 39.88 kB / 1.022 GB, free: 14.91 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,$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,uCoo.T_start,uCoo.count,uHea.T_start,uHea.count) * Number of discrete states: 5 (uCoo.count,uHea.count,zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008451/1.099, allocations: 0.7467 MB / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004919/1.1, allocations: 153.6 kB / 1.022 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/1.1, allocations: 4 kB / 1.022 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002347/1.1, allocations: 83.86 kB / 1.022 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/1.1, allocations: 25.94 kB / 1.023 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/1.101, allocations: 284.5 kB / 1.023 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/1.102, allocations: 0.7438 MB / 1.024 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000177/1.102, allocations: 22.06 kB / 1.024 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/1.102, allocations: 70.41 kB / 1.024 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.052e-06/1.102, allocations: 0 / 1.024 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04355/1.146, allocations: 3.816 MB / 1.027 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003354/1.146, allocations: 183.5 kB / 1.027 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.553/3.699, allocations: 0 / 1.027 GB, free: 8.91 MB / 0.6511 GB