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.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta.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.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Enable_FreProSta",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.351/2.351, allocations: 248.5 MB / 261.1 MB, free: 6.09 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.001446/0.001445, allocations: 184.8 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 1.897/1.897, allocations: 205.2 MB / 0.571 GB, free: 11.8 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.001146/0.001146, allocations: 97.86 kB / 0.6754 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.976e-05/4.01e-05, allocations: 4 kB / 0.787 GB, free: 97.71 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1973, allocations: 106.2 MB / 0.8908 GB, free: 7.375 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9104/1.108, allocations: 135.8 MB / 1.023 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/1.108, allocations: 92.19 kB / 1.023 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04966/1.158, allocations: 11.74 MB / 1.035 GB, free: 5.723 MB / 0.6511 GB Notification: Performance of FrontEnd: time 5.039e-06/1.158, allocations: 3.984 kB / 1.035 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.288e-05/1.158, allocations: 19.98 kB / 1.035 GB, free: 5.699 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002966/1.161, allocations: 0.8341 MB / 1.036 GB, free: 4.859 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.422e-05/1.161, allocations: 8.031 kB / 1.036 GB, free: 4.852 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005294/1.162, allocations: 128.4 kB / 1.036 GB, free: 4.766 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003154/1.162, allocations: 91.05 kB / 1.036 GB, free: 4.676 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/1.163, allocations: 481.4 kB / 1.036 GB, free: 4.277 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/1.164, allocations: 74.73 kB / 1.037 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003091/1.164, allocations: 95.92 kB / 1.037 GB, free: 4.164 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002755/1.167, allocations: 0.8785 MB / 1.037 GB, free: 3.52 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.118e-05/1.167, allocations: 4 kB / 1.037 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/1.167, allocations: 36.67 kB / 1.037 GB, free: 3.504 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.974e-05/1.167, allocations: 20 kB / 1.038 GB, free: 3.484 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/1.169, allocations: 0.5704 MB / 1.038 GB, free: 3.133 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007397/1.176, allocations: 3.206 MB / 1.041 GB, free: 0.5391 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/1.178, allocations: 0.5491 MB / 1.042 GB, free: 192 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000744/1.179, allocations: 258.8 kB / 1.042 GB, free: 36 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.854e-05/1.179, allocations: 4.438 kB / 1.042 GB, free: 32 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001149/1.18, allocations: 389.2 kB / 1.042 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=65): time 4.949e-06/1.18, allocations: 0 / 1.042 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65): time 0.001985/1.182, allocations: 0.6227 MB / 1.043 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.178e-05/1.183, allocations: 67.25 kB / 1.043 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009718/1.183, allocations: 435 kB / 1.043 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002257/1.184, allocations: 68.44 kB / 1.044 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004123/1.184, allocations: 324.8 kB / 1.044 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002965/1.184, allocations: 145.1 kB / 1.044 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.367e-05/1.185, allocations: 18.19 kB / 1.044 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002486/1.185, allocations: 371 kB / 1.044 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007286/1.186, allocations: 207.6 kB / 1.045 GB, free: 14 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009619/1.187, allocations: 473.1 kB / 1.045 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007163/1.187, allocations: 219 kB / 1.045 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/1.187, allocations: 4 kB / 1.045 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002061/1.189, allocations: 0.7009 MB / 1.046 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/1.19, allocations: 15.94 kB / 1.046 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/1.19, allocations: 4 kB / 1.046 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.37e-05/1.19, allocations: 20 kB / 1.046 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007222/1.19, allocations: 95.27 kB / 1.046 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.508e-05/1.19, allocations: 19.92 kB / 1.046 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007088/1.191, allocations: 73.2 kB / 1.046 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/1.191, allocations: 35 kB / 1.046 GB, free: 12.61 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 83 ($PRE.enaDis.truFalHol.onDel1.u,$PRE.enaDis.truFalHol.onDel2.u,$PRE.enaDis.truFalHol.toTrue.enableFire,$PRE.enaDis.truFalHol.toFalse.enableFire,$PRE.enaDis.truFalHol.toTrue1.enableFire,$PRE.enaDis.truFalHol.toFalse1.enableFire,$PRE.enaDis.delOutDamOsc.u,$PRE.enaDis.delRetDam.u,$whenCondition13,$whenCondition10,$PRE.enaDis.delRetDam.t_next,$whenCondition7,$PRE.enaDis.delOutDamOsc.t_next,$whenCondition4,$PRE.enaDis.truFalHol.onDel2.t_next,$whenCondition1,$PRE.enaDis.truFalHol.onDel1.t_next,enaDis.delRetDam.t_next,enaDis.delOutDamOsc.t_next,enaDis.truFalHol.onDel2.t_next,enaDis.truFalHol.onDel1.t_next,enaDis.truFalHol.stateGraphRoot.resume,enaDis.truFalHol.stateGraphRoot.suspend,$whenCondition11,$whenCondition12,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,enaDis.uFreProSta,enaDis.truFalHol.u,enaDis.truFalHol.onDel1.u,enaDis.truFalHol.onDel1.y,enaDis.truFalHol.onDel2.u,enaDis.truFalHol.onDel2.y,enaDis.truFalHol.stateGraphRoot.activeSteps,$PRE.enaDis.truFalHol.outputFalse.localActive,enaDis.truFalHol.outputFalse.localActive,enaDis.truFalHol.outputFalse.inPort[2].occupied,$PRE.enaDis.truFalHol.outputFalse.newActive,enaDis.truFalHol.outputFalse.newActive,$PRE.enaDis.truFalHol.outputFalse.oldActive,enaDis.truFalHol.outputFalse.oldActive,enaDis.truFalHol.outputFalse.active,enaDis.truFalHol.toTrue.enableFire,$PRE.enaDis.truFalHol.outputTrue.localActive,enaDis.truFalHol.outputTrue.localActive,enaDis.truFalHol.outputTrue.inPort[2].occupied,$PRE.enaDis.truFalHol.outputTrue.newActive,enaDis.truFalHol.outputTrue.newActive,$PRE.enaDis.truFalHol.outputTrue.oldActive,enaDis.truFalHol.outputTrue.oldActive,enaDis.truFalHol.outputTrue.active,enaDis.truFalHol.toFalse.enableFire,enaDis.truFalHol.and2.y,enaDis.truFalHol.and1.y,$PRE.enaDis.truFalHol.initialStep.localActive,enaDis.truFalHol.initialStep.localActive,enaDis.truFalHol.initialStep.outPort[2].available,$PRE.enaDis.truFalHol.initialStep.newActive,enaDis.truFalHol.initialStep.newActive,$PRE.enaDis.truFalHol.initialStep.oldActive,enaDis.truFalHol.initialStep.oldActive,enaDis.truFalHol.initialStep.active,enaDis.truFalHol.toTrue1.enableFire,enaDis.truFalHol.toFalse1.enableFire,enaDis.andEnaDis.u1,enaDis.andEnaDis.u2,$PRE.enaDis.hysOutTem.y,enaDis.hysOutTem.y,enaDis.and2.y,enaDis.and3.y,enaDis.delOutDamOsc.u,enaDis.delOutDamOsc.y,enaDis.delRetDam.u,enaDis.delRetDam.y,$PRE.enaDis.hysOutEnt.y,enaDis.hysOutEnt.y,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 110 * 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.0003959/1.192, allocations: 215.1 kB / 1.046 GB, free: 12.42 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/1.192, allocations: 71.17 kB / 1.046 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/1.194, allocations: 0.6904 MB / 1.047 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/1.194, allocations: 4 kB / 1.047 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/1.194, allocations: 0 / 1.047 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/1.194, allocations: 3.984 kB / 1.047 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0043/1.198, allocations: 1.742 MB / 1.049 GB, free: 10.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/1.198, allocations: 0 / 1.049 GB, free: 10.49 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002777/1.199, allocations: 35.72 kB / 1.049 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/1.199, allocations: 0 / 1.049 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.666e-05/1.199, allocations: 18.3 kB / 1.049 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/1.199, allocations: 0 / 1.049 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/1.199, allocations: 7.953 kB / 1.049 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/1.201, allocations: 0.7521 MB / 1.05 GB, free: 9.844 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002278/1.201, allocations: 119.8 kB / 1.05 GB, free: 9.711 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/1.201, allocations: 23.92 kB / 1.05 GB, free: 9.699 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004899/1.202, allocations: 33.97 kB / 1.05 GB, free: 9.676 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002879/1.202, allocations: 90.38 kB / 1.05 GB, free: 9.602 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.67e-05/1.202, allocations: 39.17 kB / 1.05 GB, free: 9.57 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005885/1.203, allocations: 291.5 kB / 1.05 GB, free: 9.352 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.01e-07/1.203, allocations: 0 / 1.05 GB, free: 9.352 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001021/1.204, allocations: 154.1 kB / 1.05 GB, free: 9.223 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 62 (enaDis.delRetDam.u,enaDis.delOutDamOsc.u,enaDis.truFalHol.initialStep.active,enaDis.truFalHol.onDel2.u,enaDis.truFalHol.outputTrue.localActive,enaDis.truFalHol.outputTrue.active,enaDis.truFalHol.onDel1.u,enaDis.truFalHol.outputFalse.localActive,enaDis.truFalHol.outputFalse.active,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,enaDis.uFreProSta,enaDis.truFalHol.u,enaDis.truFalHol.onDel1.y,enaDis.truFalHol.onDel1.t_next,enaDis.truFalHol.onDel2.y,enaDis.truFalHol.onDel2.t_next,enaDis.truFalHol.stateGraphRoot.activeSteps,enaDis.truFalHol.outputFalse.inPort[2].occupied,enaDis.truFalHol.outputFalse.newActive,enaDis.truFalHol.outputFalse.oldActive,enaDis.truFalHol.toTrue.enableFire,enaDis.truFalHol.outputTrue.inPort[2].occupied,enaDis.truFalHol.outputTrue.newActive,enaDis.truFalHol.outputTrue.oldActive,enaDis.truFalHol.toFalse.enableFire,enaDis.truFalHol.and2.y,enaDis.truFalHol.and1.y,enaDis.truFalHol.initialStep.localActive,enaDis.truFalHol.initialStep.outPort[2].available,enaDis.truFalHol.initialStep.newActive,enaDis.truFalHol.initialStep.oldActive,enaDis.truFalHol.toTrue1.enableFire,enaDis.truFalHol.toFalse1.enableFire,enaDis.andEnaDis.u1,enaDis.andEnaDis.u2,enaDis.hysOutTem.y,enaDis.and2.y,enaDis.and3.y,enaDis.delOutDamOsc.y,enaDis.delOutDamOsc.t_next,enaDis.delRetDam.y,enaDis.delRetDam.t_next,enaDis.hysOutEnt.y,booPul1.y,booPul1.pulseStart) * Number of discrete states: 9 (enaDis.delRetDam.t_next,enaDis.delOutDamOsc.t_next,enaDis.truFalHol.onDel2.t_next,enaDis.truFalHol.onDel1.t_next,enaDis.truFalHol.outputFalse.newActive,enaDis.truFalHol.outputTrue.newActive,enaDis.truFalHol.initialStep.newActive,enaDis.hysOutTem.y,enaDis.hysOutEnt.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.002535/1.206, allocations: 1.351 MB / 1.052 GB, free: 8.035 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001873/1.208, allocations: 0.5972 MB / 1.052 GB, free: 7.621 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.208, allocations: 0 / 1.052 GB, free: 7.621 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009319/1.209, allocations: 333.6 kB / 1.053 GB, free: 7.395 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008644/1.21, allocations: 89.58 kB / 1.053 GB, free: 7.336 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003689/1.214, allocations: 0.9594 MB / 1.054 GB, free: 6.516 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007928/1.215, allocations: 0.926 MB / 1.054 GB, free: 5.566 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006267/1.215, allocations: 89.19 kB / 1.055 GB, free: 5.48 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005894/1.216, allocations: 253.8 kB / 1.055 GB, free: 5.402 MB / 0.6667 GB Notification: Performance of SimCode: time 1.333e-06/1.216, allocations: 0 / 1.055 GB, free: 5.402 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05585/1.272, allocations: 12.18 MB / 1.067 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003537/1.272, allocations: 230 kB / 1.067 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.834/4.106, allocations: 3.953 kB / 1.067 GB, free: 9.188 MB / 0.6823 GB