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.276/2.276, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002129/0.002129, allocations: 186.7 kB / 325.5 MB, free: 2.883 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.569/2.569, allocations: 205.4 MB / 0.5764 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 96.16 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005053/0.0005055, allocations: 14.06 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2214, allocations: 106.3 MB / 0.8989 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2299/0.4514, allocations: 132.6 MB / 1.028 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/0.4518, allocations: 87.92 kB / 1.028 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01462/0.4664, allocations: 3.139 MB / 1.032 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.165e-06/0.4664, allocations: 0 / 1.032 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.826e-05/0.4665, allocations: 4 kB / 1.032 GB, free: 9.395 MB / 0.6823 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.001507/0.468, allocations: 0.5351 MB / 1.032 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.877e-05/0.4681, allocations: 8.031 kB / 1.032 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.977e-05/0.4682, allocations: 50.55 kB / 1.032 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.4683, allocations: 23.72 kB / 1.032 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.4686, allocations: 210.7 kB / 1.032 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.366e-05/0.4686, allocations: 12 kB / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-05/0.4687, allocations: 28 kB / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000854/0.4696, allocations: 217.5 kB / 1.033 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.4696, allocations: 0 / 1.033 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/0.4697, allocations: 4 kB / 1.033 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.4697, allocations: 4 kB / 1.033 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.4707, allocations: 219.8 kB / 1.033 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.4726, allocations: 0.6259 MB / 1.033 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.4737, allocations: 246.4 kB / 1.034 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.4738, allocations: 0 / 1.034 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007382/0.4745, allocations: 201.1 kB / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 2.735e-06/0.4746, allocations: 0 / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20): time 0.001676/0.4763, allocations: 350.6 kB / 1.034 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.4763, allocations: 55.41 kB / 1.034 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.4766, allocations: 181.6 kB / 1.034 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.165e-05/0.4767, allocations: 37.7 kB / 1.034 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.4769, allocations: 148.2 kB / 1.035 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.586e-05/0.477, allocations: 43.52 kB / 1.035 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.477, allocations: 4 kB / 1.035 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.4772, allocations: 330.8 kB / 1.035 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005388/0.4777, allocations: 115.9 kB / 1.035 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005902/0.4783, allocations: 147.4 kB / 1.035 GB, free: 5.414 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000501/0.4789, allocations: 101 kB / 1.035 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4789, allocations: 0 / 1.035 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001192/0.4801, allocations: 289.2 kB / 1.036 GB, free: 5.027 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.4801, allocations: 7.953 kB / 1.036 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.4801, allocations: 0 / 1.036 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.4802, allocations: 4 kB / 1.036 GB, free: 5.016 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/0.4806, allocations: 51.89 kB / 1.036 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.569e-06/0.4807, allocations: 0 / 1.036 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005211/0.4812, allocations: 67.73 kB / 1.036 GB, free: 4.898 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.4812, allocations: 8 kB / 1.036 GB, free: 4.891 MB / 0.6823 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 () * Number of clocked 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.0002398/0.4815, allocations: 143.6 kB / 1.036 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.4816, allocations: 15.81 kB / 1.036 GB, free: 4.727 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.73e-05/0.4817, allocations: 29.81 kB / 1.036 GB, free: 4.703 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.4817, allocations: 4 kB / 1.036 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4817, allocations: 0 / 1.036 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.4817, allocations: 0 / 1.036 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004256/0.4821, allocations: 305.4 kB / 1.036 GB, free: 4.352 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.4822, allocations: 0 / 1.036 GB, free: 4.352 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/0.4825, allocations: 35.97 kB / 1.036 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.4825, allocations: 0 / 1.036 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.4825, allocations: 11.94 kB / 1.036 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.4825, allocations: 4 kB / 1.036 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4825, allocations: 0 / 1.036 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.4837, allocations: 287.5 kB / 1.036 GB, free: 4.004 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.98e-05/0.4838, allocations: 92.86 kB / 1.037 GB, free: 3.895 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.124e-05/0.4838, allocations: 8 kB / 1.037 GB, free: 3.887 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004362/0.4843, allocations: 47.95 kB / 1.037 GB, free: 3.84 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002126/0.4845, allocations: 51.86 kB / 1.037 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.4846, allocations: 4 kB / 1.037 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001889/0.4848, allocations: 143 kB / 1.037 GB, free: 3.645 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4848, allocations: 3.938 kB / 1.037 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003827/0.4852, allocations: 44 kB / 1.037 GB, free: 3.598 MB / 0.6823 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) * Number of clocked states: 0 () * 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.00154/0.4867, allocations: 0.8326 MB / 1.038 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001178/0.4879, allocations: 255.8 kB / 1.038 GB, free: 2.488 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4879, allocations: 0 / 1.038 GB, free: 2.488 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005965/0.4886, allocations: 126.1 kB / 1.038 GB, free: 2.367 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.4889, allocations: 24.17 kB / 1.038 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004027/0.493, allocations: 1.296 MB / 1.039 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.4935, allocations: 0.7439 MB / 1.04 GB, free: 232 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001855/0.4937, allocations: 25.94 kB / 1.04 GB, free: 204 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.4939, allocations: 67.41 kB / 1.04 GB, free: 136 kB / 0.6823 GB Notification: Performance of SimCode: time 1.002e-06/0.4939, allocations: 0 / 1.04 GB, free: 136 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.5215, allocations: 4.297 MB / 1.044 GB, free: 12.04 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003748/0.5219, allocations: 213.9 kB / 1.045 GB, free: 11.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.497/3.019, allocations: 0 / 1.045 GB, free: 11.8 MB / 0.698 GB