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.319/2.319, allocations: 251 MB / 265.9 MB, free: 11.69 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.002289/0.002289, allocations: 175.1 kB / 325.5 MB, free: 2.93 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.443/2.443, allocations: 205.4 MB / 0.5764 GB, free: 20.84 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.001073/0.001073, allocations: 100.7 kB / 0.6809 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006426/0.0006426, allocations: 13.47 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.211, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2319/0.4429, allocations: 135.9 MB / 1.032 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003585/0.4433, allocations: 91.92 kB / 1.032 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04601/0.4894, allocations: 11.72 MB / 1.043 GB, free: 13.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4894, allocations: 0 / 1.043 GB, free: 13.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.167e-05/0.4895, allocations: 23.94 kB / 1.043 GB, free: 13.53 MB / 0.698 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.002497/0.492, allocations: 0.8908 MB / 1.044 GB, free: 12.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.4921, allocations: 12.03 kB / 1.044 GB, free: 12.56 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003194/0.4924, allocations: 130.6 kB / 1.044 GB, free: 12.42 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002531/0.4927, allocations: 91.06 kB / 1.044 GB, free: 12.33 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.4939, allocations: 492 kB / 1.045 GB, free: 11.81 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.4941, allocations: 70 kB / 1.045 GB, free: 11.74 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002291/0.4943, allocations: 95.98 kB / 1.045 GB, free: 11.65 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002504/0.4968, allocations: 0.8974 MB / 1.046 GB, free: 10.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.422e-05/0.4969, allocations: 0 / 1.046 GB, free: 10.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/0.4971, allocations: 36 kB / 1.046 GB, free: 10.67 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.4971, allocations: 16 kB / 1.046 GB, free: 10.65 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001953/0.4991, allocations: 0.5933 MB / 1.046 GB, free: 10.06 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006102/0.5052, allocations: 3.201 MB / 1.049 GB, free: 6.754 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.507, allocations: 0.5678 MB / 1.05 GB, free: 6.176 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.808e-05/0.5071, allocations: 4.438 kB / 1.05 GB, free: 6.172 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001104/0.5082, allocations: 386.8 kB / 1.05 GB, free: 5.781 MB / 0.698 GB Notification: Performance of pre-optimization done (n=65): time 3.506e-06/0.5082, allocations: 0 / 1.05 GB, free: 5.781 MB / 0.698 GB Notification: Performance of matching and sorting (n=65): time 0.002755/0.511, allocations: 0.8614 MB / 1.051 GB, free: 4.914 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.836e-05/0.5111, allocations: 72.02 kB / 1.051 GB, free: 4.832 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008707/0.512, allocations: 448.4 kB / 1.052 GB, free: 4.391 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001524/0.5121, allocations: 61.7 kB / 1.052 GB, free: 4.324 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003654/0.5125, allocations: 316.3 kB / 1.052 GB, free: 4.008 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.5127, allocations: 150.2 kB / 1.052 GB, free: 3.859 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.992e-05/0.5128, allocations: 16 kB / 1.052 GB, free: 3.844 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002704/0.5131, allocations: 370.8 kB / 1.053 GB, free: 3.473 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007633/0.5139, allocations: 217.9 kB / 1.053 GB, free: 3.258 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009811/0.5149, allocations: 468.4 kB / 1.053 GB, free: 2.699 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008828/0.5158, allocations: 234 kB / 1.054 GB, free: 2.469 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.5158, allocations: 4 kB / 1.054 GB, free: 2.465 MB / 0.698 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002155/0.518, allocations: 0.7128 MB / 1.054 GB, free: 1.746 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.5181, allocations: 8 kB / 1.054 GB, free: 1.738 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.5181, allocations: 8 kB / 1.054 GB, free: 1.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.636e-05/0.5181, allocations: 12 kB / 1.054 GB, free: 1.719 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006389/0.5188, allocations: 100.4 kB / 1.054 GB, free: 1.621 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.947e-05/0.5188, allocations: 15.94 kB / 1.054 GB, free: 1.605 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000674/0.5195, allocations: 75.52 kB / 1.054 GB, free: 1.531 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.5196, allocations: 39.98 kB / 1.054 GB, free: 1.492 MB / 0.698 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 () * Number of clocked 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.0006924/0.5203, allocations: 303.2 kB / 1.055 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.5205, allocations: 63.23 kB / 1.055 GB, free: 1.117 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/0.5226, allocations: 0.7039 MB / 1.055 GB, free: 416 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.5227, allocations: 8 kB / 1.055 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.5227, allocations: 0 / 1.055 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.5227, allocations: 3.984 kB / 1.056 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6073/1.13, allocations: 1.749 MB / 1.057 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/1.13, allocations: 0 / 1.057 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/1.13, allocations: 32.66 kB / 1.057 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.359e-05/1.13, allocations: 7.078 kB / 1.057 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.371e-05/1.13, allocations: 20.61 kB / 1.057 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.298e-06/1.13, allocations: 3.375 kB / 1.057 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.13, allocations: 0 / 1.057 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/1.132, allocations: 0.7609 MB / 1.058 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/1.132, allocations: 137.2 kB / 1.058 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/1.133, allocations: 22.62 kB / 1.058 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000468/1.133, allocations: 34.86 kB / 1.058 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002417/1.133, allocations: 83.83 kB / 1.058 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.766e-05/1.133, allocations: 35.89 kB / 1.058 GB, free: 146.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004728/1.134, allocations: 297.1 kB / 1.059 GB, free: 146.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.51e-07/1.134, allocations: 0 / 1.059 GB, free: 146.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008961/1.135, allocations: 150.6 kB / 1.059 GB, free: 146.1 MB / 0.698 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) * Number of clocked states: 0 () * 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.002195/1.137, allocations: 1.371 MB / 1.06 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001684/1.139, allocations: 0.6113 MB / 1.061 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.139, allocations: 2.875 kB / 1.061 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007636/1.14, allocations: 335 kB / 1.061 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007524/1.14, allocations: 86.08 kB / 1.061 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00512/1.145, allocations: 6.741 MB / 1.068 GB, free: 139.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005689/1.146, allocations: 0.9172 MB / 1.069 GB, free: 138.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005943/1.147, allocations: 89.17 kB / 1.069 GB, free: 138.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005441/1.147, allocations: 251.5 kB / 1.069 GB, free: 138.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.503e-06/1.147, allocations: 0 / 1.069 GB, free: 138.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05421/1.201, allocations: 11.98 MB / 1.081 GB, free: 137.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002683/1.202, allocations: 257.8 kB / 1.081 GB, free: 137.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.094/4.295, allocations: 0 / 1.081 GB, free: 137.5 MB / 0.698 GB