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.194/2.194, allocations: 248.5 MB / 261 MB, free: 5.965 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.002731/0.002731, allocations: 180.9 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.2 MB / 0.571 GB, free: 11.85 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.001115/0.001115, allocations: 100 kB / 0.6754 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.318e-05/4.343e-05, allocations: 4 kB / 0.787 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2015, allocations: 106.2 MB / 0.8907 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8478/1.049, allocations: 132.6 MB / 1.02 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/1.05, allocations: 81.95 kB / 1.02 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01421/1.064, allocations: 3.131 MB / 1.023 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.413e-06/1.064, allocations: 4 kB / 1.023 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.374e-05/1.064, allocations: 4 kB / 1.023 GB, free: 15.6 MB / 0.6511 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.001391/1.065, allocations: 0.5046 MB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/1.065, allocations: 20.02 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.132e-05/1.066, allocations: 50.36 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.352e-05/1.066, allocations: 23.72 kB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/1.066, allocations: 213.8 kB / 1.024 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/1.066, allocations: 13.88 kB / 1.024 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-05/1.066, allocations: 21.94 kB / 1.024 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005033/1.067, allocations: 174.9 kB / 1.024 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/1.067, allocations: 0 / 1.024 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.457e-05/1.067, allocations: 7.062 kB / 1.024 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/1.067, allocations: 4 kB / 1.024 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000403/1.067, allocations: 138.1 kB / 1.024 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/1.069, allocations: 0.6278 MB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/1.069, allocations: 160.9 kB / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/1.07, allocations: 63.42 kB / 1.025 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/1.07, allocations: 4 kB / 1.025 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003976/1.07, allocations: 150.6 kB / 1.025 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 3.327e-06/1.07, allocations: 4 kB / 1.025 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20): time 0.0005168/1.071, allocations: 167.1 kB / 1.026 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/1.071, allocations: 59.39 kB / 1.026 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/1.071, allocations: 176.5 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.112e-05/1.071, allocations: 36.83 kB / 1.026 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/1.071, allocations: 148.8 kB / 1.026 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.188e-05/1.071, allocations: 53.91 kB / 1.026 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/1.071, allocations: 5.125 kB / 1.026 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.071, allocations: 340.7 kB / 1.026 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/1.072, allocations: 67.5 kB / 1.026 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/1.072, allocations: 115.7 kB / 1.027 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/1.072, allocations: 57.11 kB / 1.027 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.072, allocations: 0 / 1.027 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005746/1.073, allocations: 208 kB / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/1.073, allocations: 4 kB / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/1.073, allocations: 0 / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/1.073, allocations: 3.953 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004458/1.073, allocations: 51.41 kB / 1.027 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/1.073, allocations: 4 kB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005112/1.074, allocations: 63.16 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.588e-05/1.074, allocations: 7.562 kB / 1.027 GB, free: 12.3 MB / 0.6511 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.0001677/1.074, allocations: 124.9 kB / 1.027 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.85e-05/1.074, allocations: 15.81 kB / 1.027 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.824e-05/1.074, allocations: 28.27 kB / 1.027 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/1.074, allocations: 7.953 kB / 1.027 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.074, allocations: 3.938 kB / 1.027 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/1.074, allocations: 0 / 1.027 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004235/1.075, allocations: 302.1 kB / 1.027 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/1.075, allocations: 0 / 1.027 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002982/1.075, allocations: 39.91 kB / 1.027 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/1.075, allocations: 0 / 1.027 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/1.075, allocations: 3.25 kB / 1.027 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/1.075, allocations: 4 kB / 1.027 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.075, allocations: 3.953 kB / 1.027 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005086/1.076, allocations: 198.3 kB / 1.028 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-05/1.076, allocations: 88.92 kB / 1.028 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.77e-05/1.076, allocations: 11.94 kB / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/1.076, allocations: 43.64 kB / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/1.076, allocations: 50.66 kB / 1.028 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/1.077, allocations: 11.89 kB / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001719/1.077, allocations: 135.1 kB / 1.028 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.077, allocations: 4 kB / 1.028 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003933/1.077, allocations: 59.2 kB / 1.028 GB, free: 11.26 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.0009535/1.078, allocations: 0.7559 MB / 1.029 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005461/1.079, allocations: 170.1 kB / 1.029 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.079, allocations: 0 / 1.029 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002612/1.079, allocations: 95.11 kB / 1.029 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/1.079, allocations: 18.33 kB / 1.029 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/1.081, allocations: 304.8 kB / 1.029 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006191/1.082, allocations: 0.7441 MB / 1.03 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001911/1.082, allocations: 22.06 kB / 1.03 GB, free: 9.246 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/1.082, allocations: 75.03 kB / 1.03 GB, free: 9.215 MB / 0.6511 GB Notification: Performance of SimCode: time 1.713e-06/1.082, allocations: 0 / 1.03 GB, free: 9.215 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03621/1.118, allocations: 4.296 MB / 1.034 GB, free: 5.094 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003602/1.119, allocations: 180.8 kB / 1.035 GB, free: 4.875 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.495/3.614, allocations: 2.875 kB / 1.035 GB, free: 4.875 MB / 0.6511 GB