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.316/2.316, allocations: 248.7 MB / 256.2 MB, free: 7.074 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.00147/0.00147, allocations: 174.9 kB / 315.4 MB, free: 4.027 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.206/2.206, allocations: 205.3 MB / 0.5662 GB, free: 0.543 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.001085/0.001085, allocations: 94.3 kB / 0.6704 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.425e-05/2.437e-05, allocations: 4 kB / 0.7804 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2014, allocations: 106.3 MB / 0.8842 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8945/1.096, allocations: 136 MB / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/1.096, allocations: 86.12 kB / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0449/1.141, allocations: 11.59 MB / 1.028 GB, free: 9.215 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.813e-06/1.141, allocations: 0 / 1.028 GB, free: 9.215 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.109e-05/1.141, allocations: 16 kB / 1.028 GB, free: 9.199 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.00225/1.144, allocations: 0.8366 MB / 1.029 GB, free: 8.363 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/1.144, allocations: 8.031 kB / 1.029 GB, free: 8.355 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002977/1.144, allocations: 91.05 kB / 1.029 GB, free: 8.266 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/1.145, allocations: 482.9 kB / 1.03 GB, free: 7.863 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.475e-05/1.145, allocations: 39.05 kB / 1.03 GB, free: 7.828 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/1.146, allocations: 71.05 kB / 1.03 GB, free: 7.762 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001581/1.147, allocations: 0.5054 MB / 1.03 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/1.149, allocations: 0.766 MB / 1.031 GB, free: 6.871 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/1.149, allocations: 0 / 1.031 GB, free: 6.871 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/1.149, allocations: 7.625 kB / 1.031 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-05/1.149, allocations: 23.98 kB / 1.031 GB, free: 6.844 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006188/1.156, allocations: 3.033 MB / 1.034 GB, free: 4.375 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/1.157, allocations: 0.492 MB / 1.035 GB, free: 4.078 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005647/1.158, allocations: 236.2 kB / 1.035 GB, free: 3.945 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/1.158, allocations: 8.375 kB / 1.035 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000916/1.159, allocations: 362.6 kB / 1.035 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=65): time 3.486e-06/1.159, allocations: 0 / 1.035 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of matching and sorting (n=65): time 0.001705/1.16, allocations: 0.5706 MB / 1.036 GB, free: 3.254 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/1.16, allocations: 67.08 kB / 1.036 GB, free: 3.18 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006654/1.161, allocations: 327.4 kB / 1.036 GB, free: 2.926 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001616/1.161, allocations: 56.62 kB / 1.036 GB, free: 2.875 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/1.162, allocations: 338.3 kB / 1.037 GB, free: 2.602 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/1.162, allocations: 134.9 kB / 1.037 GB, free: 2.488 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/1.162, allocations: 0 / 1.037 GB, free: 2.488 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002057/1.162, allocations: 366.5 kB / 1.037 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005616/1.163, allocations: 185.9 kB / 1.037 GB, free: 2.047 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008139/1.164, allocations: 453.3 kB / 1.038 GB, free: 1.602 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006019/1.164, allocations: 198.5 kB / 1.038 GB, free: 1.469 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.667e-06/1.164, allocations: 0 / 1.038 GB, free: 1.469 MB / 0.6511 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001773/1.166, allocations: 0.6134 MB / 1.038 GB, free: 0.9844 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/1.166, allocations: 11.98 kB / 1.038 GB, free: 0.9727 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/1.166, allocations: 8 kB / 1.038 GB, free: 0.9648 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.997e-05/1.166, allocations: 16 kB / 1.038 GB, free: 0.9492 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006306/1.167, allocations: 91.27 kB / 1.039 GB, free: 0.8672 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.108e-05/1.167, allocations: 15.94 kB / 1.039 GB, free: 0.8516 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006248/1.168, allocations: 48.02 kB / 1.039 GB, free: 0.8047 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/1.168, allocations: 43.3 kB / 1.039 GB, free: 0.7695 MB / 0.6511 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.0003741/1.168, allocations: 188.6 kB / 1.039 GB, free: 0.582 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001685/1.17, allocations: 0.5646 MB / 1.039 GB, free: 172 kB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/1.17, allocations: 55.42 kB / 1.039 GB, free: 116 kB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/1.172, allocations: 0.6113 MB / 1.04 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/1.172, allocations: 8 kB / 1.04 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/1.172, allocations: 7.984 kB / 1.04 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/1.172, allocations: 0 / 1.04 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003631/1.175, allocations: 1.583 MB / 1.042 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/1.176, allocations: 4 kB / 1.042 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/1.176, allocations: 39.59 kB / 1.042 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.504e-05/1.176, allocations: 4 kB / 1.042 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.485e-05/1.176, allocations: 11.55 kB / 1.042 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/1.176, allocations: 0 / 1.042 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/1.176, allocations: 3.953 kB / 1.042 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/1.178, allocations: 0.6849 MB / 1.042 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/1.178, allocations: 116.5 kB / 1.042 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/1.178, allocations: 19.8 kB / 1.042 GB, free: 13.69 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004575/1.179, allocations: 23.09 kB / 1.042 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002699/1.179, allocations: 82.31 kB / 1.043 GB, free: 13.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.686e-05/1.179, allocations: 38.92 kB / 1.043 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003331/1.179, allocations: 207.6 kB / 1.043 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.01e-07/1.179, allocations: 0 / 1.043 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000955/1.18, allocations: 131.8 kB / 1.043 GB, free: 13.29 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.002284/1.183, allocations: 1.304 MB / 1.044 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00154/1.184, allocations: 0.5427 MB / 1.045 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.184, allocations: 7.875 kB / 1.045 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007312/1.185, allocations: 307.2 kB / 1.045 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006884/1.186, allocations: 58.67 kB / 1.045 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/1.189, allocations: 0.8981 MB / 1.046 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007171/1.19, allocations: 0.9221 MB / 1.047 GB, free: 9.777 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004999/1.19, allocations: 80.78 kB / 1.047 GB, free: 9.699 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005143/1.191, allocations: 237.6 kB / 1.047 GB, free: 9.633 MB / 0.6667 GB Notification: Performance of SimCode: time 1.062e-06/1.191, allocations: 4 kB / 1.047 GB, free: 9.629 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05659/1.247, allocations: 10.42 MB / 1.057 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004131/1.248, allocations: 215.1 kB / 1.058 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.835/4.083, allocations: 4.031 kB / 1.058 GB, free: 14.99 MB / 0.6823 GB