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.24/2.24, allocations: 248.5 MB / 261 MB, free: 5.984 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.001424/0.001424, allocations: 174.6 kB / 320.4 MB, free: 15.35 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.889/1.889, allocations: 205.2 MB / 0.5711 GB, free: 11.74 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.001088/0.001088, allocations: 102.4 kB / 0.6754 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.748e-05/3.765e-05, allocations: 7.984 kB / 0.787 GB, free: 97.71 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1993, allocations: 106.3 MB / 0.8908 GB, free: 7.355 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8353/1.035, allocations: 132.8 MB / 1.02 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/1.035, allocations: 90.91 kB / 1.021 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02161/1.057, allocations: 5.063 MB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.803e-06/1.057, allocations: 0 / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.259e-05/1.057, allocations: 8 kB / 1.025 GB, free: 14.07 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001801/1.059, allocations: 0.6713 MB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/1.059, allocations: 8.031 kB / 1.026 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001448/1.059, allocations: 87.95 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/1.059, allocations: 55.3 kB / 1.026 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006005/1.06, allocations: 325.2 kB / 1.027 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.838e-05/1.06, allocations: 49.98 kB / 1.027 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/1.06, allocations: 46.25 kB / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/1.061, allocations: 402.7 kB / 1.027 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/1.061, allocations: 0 / 1.027 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.077e-05/1.061, allocations: 20.86 kB / 1.027 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/1.061, allocations: 12 kB / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008369/1.062, allocations: 301.2 kB / 1.027 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003536/1.065, allocations: 1.299 MB / 1.029 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007454/1.066, allocations: 320.2 kB / 1.029 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/1.067, allocations: 148.9 kB / 1.029 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.223e-05/1.067, allocations: 11.75 kB / 1.029 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006675/1.067, allocations: 296 kB / 1.029 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=49): time 2.966e-06/1.067, allocations: 0 / 1.029 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=49): time 0.001292/1.069, allocations: 460.2 kB / 1.03 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/1.069, allocations: 177.7 kB / 1.03 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006374/1.069, allocations: 350.1 kB / 1.03 GB, free: 9.984 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/1.07, allocations: 58.44 kB / 1.03 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/1.07, allocations: 195.3 kB / 1.031 GB, free: 9.801 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/1.07, allocations: 139.3 kB / 1.031 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/1.07, allocations: 14.06 kB / 1.031 GB, free: 9.68 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001635/1.07, allocations: 354.2 kB / 1.031 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003907/1.071, allocations: 138.9 kB / 1.031 GB, free: 9.262 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005202/1.071, allocations: 276.9 kB / 1.031 GB, free: 9.008 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004968/1.072, allocations: 173.7 kB / 1.032 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/1.072, allocations: 0 / 1.032 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00127/1.073, allocations: 0.5066 MB / 1.032 GB, free: 8.508 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/1.073, allocations: 8 kB / 1.032 GB, free: 8.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.077e-05/1.073, allocations: 4 kB / 1.032 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.952e-05/1.073, allocations: 4 kB / 1.032 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007226/1.074, allocations: 91.39 kB / 1.032 GB, free: 8.406 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/1.074, allocations: 8 kB / 1.032 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000552/1.074, allocations: 82.78 kB / 1.032 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-05/1.074, allocations: 23.14 kB / 1.032 GB, free: 8.309 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.0002578/1.075, allocations: 170.1 kB / 1.032 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/1.075, allocations: 47.42 kB / 1.033 GB, free: 8.109 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/1.076, allocations: 0.504 MB / 1.033 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/1.076, allocations: 8 kB / 1.033 GB, free: 7.734 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.076, allocations: 4 kB / 1.033 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/1.076, allocations: 3.984 kB / 1.033 GB, free: 7.727 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/1.079, allocations: 1.137 MB / 1.034 GB, free: 6.793 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.079, allocations: 128 / 1.034 GB, free: 6.793 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004405/1.079, allocations: 55.91 kB / 1.034 GB, free: 6.738 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-05/1.079, allocations: 7.953 kB / 1.034 GB, free: 6.73 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.032e-05/1.079, allocations: 19.56 kB / 1.034 GB, free: 6.719 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/1.079, allocations: 3.984 kB / 1.034 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/1.079, allocations: 7.984 kB / 1.034 GB, free: 6.707 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/1.081, allocations: 0.6476 MB / 1.035 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/1.081, allocations: 135.9 kB / 1.035 GB, free: 5.988 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/1.081, allocations: 11.12 kB / 1.035 GB, free: 5.984 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005891/1.082, allocations: 54.58 kB / 1.035 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/1.082, allocations: 35.78 kB / 1.035 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-05/1.082, allocations: 19.42 kB / 1.035 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004386/1.082, allocations: 263.8 kB / 1.035 GB, free: 5.691 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.91e-07/1.082, allocations: 4 kB / 1.035 GB, free: 5.688 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006089/1.083, allocations: 107.3 kB / 1.035 GB, free: 5.598 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.001801/1.085, allocations: 1.499 MB / 1.037 GB, free: 4.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001107/1.086, allocations: 392.3 kB / 1.037 GB, free: 3.902 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.086, allocations: 4.25 kB / 1.037 GB, free: 3.898 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005053/1.086, allocations: 197.3 kB / 1.038 GB, free: 3.762 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009414/1.087, allocations: 90.39 kB / 1.038 GB, free: 3.695 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/1.089, allocations: 0.6182 MB / 1.038 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/1.09, allocations: 0.8207 MB / 1.039 GB, free: 2.289 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003191/1.09, allocations: 64.52 kB / 1.039 GB, free: 2.227 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003092/1.091, allocations: 149.7 kB / 1.039 GB, free: 2.176 MB / 0.6511 GB Notification: Performance of SimCode: time 1.573e-06/1.091, allocations: 4 kB / 1.039 GB, free: 2.172 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04589/1.137, allocations: 8.893 MB / 1.048 GB, free: 9.488 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002974/1.137, allocations: 221.2 kB / 1.048 GB, free: 9.266 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.664/3.8, allocations: 3.938 kB / 1.048 GB, free: 9.262 MB / 0.6667 GB