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.Modulation_TSup.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.Modulation_TSup,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup",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.648/2.648, allocations: 248.7 MB / 256.2 MB, free: 7.016 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.001557/0.001557, allocations: 187.2 kB / 315.4 MB, free: 4 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.126/2.126, 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.001205/0.001204, allocations: 95.83 kB / 0.6704 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.481e-05/2.491e-05, allocations: 0 / 0.7804 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2054, allocations: 106.3 MB / 0.8842 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8532/1.059, allocations: 133 MB / 1.014 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003358/1.059, allocations: 80.69 kB / 1.014 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02183/1.081, allocations: 5.034 MB / 1.019 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.936e-06/1.081, allocations: 0 / 1.019 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.244e-05/1.081, allocations: 11.98 kB / 1.019 GB, free: 1.582 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001864/1.083, allocations: 0.6654 MB / 1.02 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.005e-05/1.083, allocations: 12.02 kB / 1.02 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/1.083, allocations: 55.34 kB / 1.02 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006294/1.084, allocations: 338.6 kB / 1.02 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.383e-05/1.084, allocations: 16 kB / 1.02 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/1.084, allocations: 34.48 kB / 1.02 GB, free: 476 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008129/1.085, allocations: 279.2 kB / 1.02 GB, free: 308 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000959/1.086, allocations: 345.3 kB / 1.021 GB, free: 60 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/1.086, allocations: 4 kB / 1.021 GB, free: 56 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.225e-05/1.086, allocations: 4 kB / 1.021 GB, free: 52 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/1.086, allocations: 8 kB / 1.021 GB, free: 44 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003557/1.09, allocations: 1.171 MB / 1.022 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007017/1.09, allocations: 296.4 kB / 1.022 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003436/1.091, allocations: 146.6 kB / 1.022 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.082e-05/1.091, allocations: 8.375 kB / 1.022 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006388/1.091, allocations: 275.1 kB / 1.023 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=49): time 6.041e-06/1.091, allocations: 0 / 1.023 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of matching and sorting (n=49): time 0.001179/1.093, allocations: 432.6 kB / 1.023 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/1.093, allocations: 176.8 kB / 1.023 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003688/1.093, allocations: 220.4 kB / 1.023 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.055e-05/1.093, allocations: 40.52 kB / 1.023 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000201/1.094, allocations: 209.7 kB / 1.024 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/1.094, allocations: 127.6 kB / 1.024 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/1.094, allocations: 7.938 kB / 1.024 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001665/1.094, allocations: 344.2 kB / 1.024 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/1.094, allocations: 130.2 kB / 1.024 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004699/1.095, allocations: 251.5 kB / 1.024 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004484/1.095, allocations: 171.7 kB / 1.025 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/1.095, allocations: 4 kB / 1.025 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001125/1.096, allocations: 437.8 kB / 1.025 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/1.096, allocations: 8 kB / 1.025 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/1.096, allocations: 0 / 1.025 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-05/1.096, allocations: 8.375 kB / 1.025 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007381/1.097, allocations: 99.7 kB / 1.025 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/1.097, allocations: 11.94 kB / 1.025 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004929/1.098, allocations: 51.5 kB / 1.025 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.519e-05/1.098, allocations: 23.81 kB / 1.025 GB, free: 12.29 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.modFre.firOrdHolRetDam.firstTrigger,modFre.firOrdHolRetDam.firstTrigger,$PRE.modFre.firOrdHolOutDam.firstTrigger,modFre.firOrdHolOutDam.firstTrigger,$PRE.mod.firOrdHolRetDam.firstTrigger,mod.firOrdHolRetDam.firstTrigger,$PRE.mod.firOrdHolOutDam.firstTrigger,mod.firOrdHolOutDam.firstTrigger,$whenCondition1,mod.firOrdHolOutDam.sampleTrigger,$whenCondition2,mod.firOrdHolRetDam.sampleTrigger,$whenCondition3,modFre.firOrdHolOutDam.sampleTrigger,$whenCondition4,modFre.firOrdHolRetDam.sampleTrigger,$PRE.mod.firOrdHolOutDam.tSample,mod.firOrdHolOutDam.tSample,$PRE.mod.firOrdHolOutDam.uSample,mod.firOrdHolOutDam.uSample,$PRE.mod.firOrdHolOutDam.pre_uSample,mod.firOrdHolOutDam.pre_uSample,$PRE.mod.firOrdHolOutDam.c,mod.firOrdHolOutDam.c,$PRE.mod.firOrdHolRetDam.tSample,mod.firOrdHolRetDam.tSample,$PRE.mod.firOrdHolRetDam.uSample,mod.firOrdHolRetDam.uSample,$PRE.mod.firOrdHolRetDam.pre_uSample,mod.firOrdHolRetDam.pre_uSample,$PRE.mod.firOrdHolRetDam.c,mod.firOrdHolRetDam.c,$PRE.modFre.firOrdHolOutDam.tSample,modFre.firOrdHolOutDam.tSample,$PRE.modFre.firOrdHolOutDam.uSample,modFre.firOrdHolOutDam.uSample,$PRE.modFre.firOrdHolOutDam.pre_uSample,modFre.firOrdHolOutDam.pre_uSample,$PRE.modFre.firOrdHolOutDam.c,modFre.firOrdHolOutDam.c,$PRE.modFre.firOrdHolRetDam.tSample,modFre.firOrdHolRetDam.tSample,$PRE.modFre.firOrdHolRetDam.uSample,modFre.firOrdHolRetDam.uSample,$PRE.modFre.firOrdHolRetDam.pre_uSample,modFre.firOrdHolRetDam.pre_uSample,$PRE.modFre.firOrdHolRetDam.c,modFre.firOrdHolRetDam.c) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0002442/1.098, allocations: 148.1 kB / 1.025 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001061/1.099, allocations: 434.8 kB / 1.026 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.815e-05/1.099, allocations: 31.62 kB / 1.026 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/1.1, allocations: 479.9 kB / 1.026 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/1.101, allocations: 4 kB / 1.026 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/1.101, allocations: 4 kB / 1.026 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/1.101, allocations: 0 / 1.026 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/1.103, allocations: 1.035 MB / 1.027 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/1.103, allocations: 4 kB / 1.027 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004432/1.103, allocations: 54.91 kB / 1.027 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.509e-05/1.103, allocations: 4 kB / 1.027 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.868e-05/1.103, allocations: 15.12 kB / 1.027 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.607e-06/1.103, allocations: 4 kB / 1.027 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.103, allocations: 4.125 kB / 1.027 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/1.105, allocations: 0.6097 MB / 1.028 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/1.105, allocations: 115.9 kB / 1.028 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.246e-05/1.105, allocations: 11.12 kB / 1.028 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005667/1.105, allocations: 39.39 kB / 1.028 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/1.106, allocations: 39.91 kB / 1.028 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.587e-05/1.106, allocations: 23.3 kB / 1.028 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002305/1.106, allocations: 162 kB / 1.028 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.81e-07/1.106, allocations: 4 kB / 1.028 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006653/1.107, allocations: 107.5 kB / 1.028 GB, free: 9.496 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 28 (modFre.firOrdHolRetDam.sampleTrigger,modFre.firOrdHolOutDam.sampleTrigger,mod.firOrdHolRetDam.sampleTrigger,mod.firOrdHolOutDam.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mod.firOrdHolOutDam.firstTrigger,mod.firOrdHolOutDam.tSample,mod.firOrdHolOutDam.uSample,mod.firOrdHolOutDam.pre_uSample,mod.firOrdHolOutDam.c,mod.firOrdHolRetDam.firstTrigger,mod.firOrdHolRetDam.tSample,mod.firOrdHolRetDam.uSample,mod.firOrdHolRetDam.pre_uSample,mod.firOrdHolRetDam.c,modFre.firOrdHolOutDam.firstTrigger,modFre.firOrdHolOutDam.tSample,modFre.firOrdHolOutDam.uSample,modFre.firOrdHolOutDam.pre_uSample,modFre.firOrdHolOutDam.c,modFre.firOrdHolRetDam.firstTrigger,modFre.firOrdHolRetDam.tSample,modFre.firOrdHolRetDam.uSample,modFre.firOrdHolRetDam.pre_uSample,modFre.firOrdHolRetDam.c) * Number of discrete states: 8 (modFre.firOrdHolRetDam.uSample,modFre.firOrdHolRetDam.c,modFre.firOrdHolOutDam.uSample,modFre.firOrdHolOutDam.c,mod.firOrdHolRetDam.uSample,mod.firOrdHolRetDam.c,mod.firOrdHolOutDam.uSample,mod.firOrdHolOutDam.c) * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * 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.001724/1.108, allocations: 1.47 MB / 1.03 GB, free: 8.102 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001014/1.109, allocations: 360.7 kB / 1.03 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.109, allocations: 0 / 1.03 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004469/1.11, allocations: 179.7 kB / 1.03 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007261/1.111, allocations: 60.61 kB / 1.031 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/1.113, allocations: 0.5611 MB / 1.031 GB, free: 7.16 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005595/1.113, allocations: 0.8171 MB / 1.032 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003217/1.114, allocations: 51.25 kB / 1.032 GB, free: 6.266 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/1.114, allocations: 145.1 kB / 1.032 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of SimCode: time 1.213e-06/1.114, allocations: 0 / 1.032 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05743/1.171, allocations: 6.744 MB / 1.039 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004019/1.172, allocations: 226.2 kB / 1.039 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.644/3.816, allocations: 0 / 1.039 GB, free: 15.26 MB / 0.6667 GB