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.SingleZone.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.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_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.349/2.349, allocations: 248.5 MB / 261.1 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.001464/0.001463, allocations: 183.3 kB / 320.4 MB, free: 15.33 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.973/1.973, 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.001136/0.001136, allocations: 98.47 kB / 0.6754 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.388e-05/3.399e-05, allocations: 0 / 0.787 GB, free: 97.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1981, allocations: 106.2 MB / 0.8908 GB, free: 7.348 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8494/1.048, allocations: 135.2 MB / 1.023 GB, free: 144 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003364/1.048, allocations: 88.83 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02837/1.076, allocations: 7.181 MB / 1.03 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.844e-06/1.076, allocations: 0 / 1.03 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.542e-05/1.076, allocations: 12 kB / 1.03 GB, free: 10.02 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001412/1.078, allocations: 0.6508 MB / 1.031 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/1.078, allocations: 8.031 kB / 1.031 GB, free: 9.348 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001242/1.078, allocations: 75.22 kB / 1.031 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/1.078, allocations: 59.53 kB / 1.031 GB, free: 9.23 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008399/1.079, allocations: 402.8 kB / 1.031 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.014e-05/1.079, allocations: 30.56 kB / 1.031 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.274e-05/1.079, allocations: 39.72 kB / 1.031 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/1.08, allocations: 426.9 kB / 1.032 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/1.08, allocations: 4 kB / 1.032 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.038e-05/1.08, allocations: 18.81 kB / 1.032 GB, free: 8.512 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/1.08, allocations: 12 kB / 1.032 GB, free: 8.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007876/1.081, allocations: 293 kB / 1.032 GB, free: 8.324 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003119/1.084, allocations: 1.374 MB / 1.033 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007664/1.085, allocations: 256.8 kB / 1.033 GB, free: 7.059 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/1.086, allocations: 117.2 kB / 1.034 GB, free: 6.988 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.407e-05/1.086, allocations: 4 kB / 1.034 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003984/1.086, allocations: 175.4 kB / 1.034 GB, free: 6.836 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=26): time 2.955e-06/1.086, allocations: 0 / 1.034 GB, free: 6.836 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26): time 0.0007091/1.087, allocations: 248.1 kB / 1.034 GB, free: 6.652 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.45e-05/1.087, allocations: 158.2 kB / 1.034 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006699/1.088, allocations: 394.6 kB / 1.034 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/1.088, allocations: 33.39 kB / 1.035 GB, free: 6.125 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/1.088, allocations: 236.6 kB / 1.035 GB, free: 5.961 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.526e-05/1.088, allocations: 83.75 kB / 1.035 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/1.088, allocations: 6.688 kB / 1.035 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001619/1.088, allocations: 354.7 kB / 1.035 GB, free: 5.551 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/1.088, allocations: 78.25 kB / 1.035 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003111/1.089, allocations: 159.1 kB / 1.035 GB, free: 5.371 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/1.089, allocations: 98.84 kB / 1.035 GB, free: 5.312 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.089, allocations: 0 / 1.035 GB, free: 5.312 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007255/1.09, allocations: 303.6 kB / 1.036 GB, free: 5.086 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001318/1.09, allocations: 273 kB / 1.036 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.09, allocations: 0 / 1.036 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/1.09, allocations: 4.062 kB / 1.036 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005902/1.091, allocations: 71.89 kB / 1.036 GB, free: 4.734 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/1.091, allocations: 3.953 kB / 1.036 GB, free: 4.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004561/1.091, allocations: 62.34 kB / 1.036 GB, free: 4.676 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/1.091, allocations: 8 kB / 1.036 GB, free: 4.668 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/1.091, allocations: 4 kB / 1.036 GB, free: 4.664 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005816/1.092, allocations: 226.4 kB / 1.036 GB, free: 4.523 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/1.092, allocations: 4 kB / 1.036 GB, free: 4.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/1.092, allocations: 0 / 1.036 GB, free: 4.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004724/1.092, allocations: 63.84 kB / 1.036 GB, free: 4.457 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/1.092, allocations: 0 / 1.036 GB, free: 4.457 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003831/1.093, allocations: 62.75 kB / 1.037 GB, free: 4.402 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/1.093, allocations: 8 kB / 1.037 GB, free: 4.395 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001461/1.093, allocations: 123.8 kB / 1.037 GB, free: 4.277 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.587e-05/1.093, allocations: 39.53 kB / 1.037 GB, free: 4.238 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007573/1.094, allocations: 284.3 kB / 1.037 GB, free: 4.043 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/1.094, allocations: 0 / 1.037 GB, free: 4.043 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.094, allocations: 4 kB / 1.037 GB, free: 4.039 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/1.094, allocations: 7.984 kB / 1.037 GB, free: 4.031 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/1.095, allocations: 0.8567 MB / 1.038 GB, free: 3.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/1.095, allocations: 4 kB / 1.038 GB, free: 3.316 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004983/1.096, allocations: 59.97 kB / 1.038 GB, free: 3.262 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/1.096, allocations: 4 kB / 1.038 GB, free: 3.258 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/1.096, allocations: 3.062 kB / 1.038 GB, free: 3.258 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.317e-06/1.096, allocations: 11.92 kB / 1.038 GB, free: 3.246 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/1.096, allocations: 0 / 1.038 GB, free: 3.246 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/1.097, allocations: 0.5356 MB / 1.038 GB, free: 2.785 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/1.097, allocations: 127.2 kB / 1.039 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-05/1.097, allocations: 11.17 kB / 1.039 GB, free: 2.645 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004158/1.098, allocations: 30.61 kB / 1.039 GB, free: 2.617 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.756e-05/1.098, allocations: 27.47 kB / 1.039 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/1.098, allocations: 7.812 kB / 1.039 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005462/1.098, allocations: 307.4 kB / 1.039 GB, free: 2.363 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.098, allocations: 0 / 1.039 GB, free: 2.363 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006981/1.099, allocations: 134.5 kB / 1.039 GB, free: 2.242 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (mod.uTSup.I.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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 Backend phase and start with SimCode phase: time 0.001548/1.101, allocations: 1.385 MB / 1.04 GB, free: 0.9375 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009715/1.102, allocations: 350.7 kB / 1.041 GB, free: 0.7109 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.102, allocations: 0 / 1.041 GB, free: 0.7109 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002816/1.102, allocations: 118.2 kB / 1.041 GB, free: 0.6289 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008911/1.103, allocations: 94.98 kB / 1.041 GB, free: 0.5586 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/1.105, allocations: 0.5938 MB / 1.041 GB, free: 0 / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005045/1.105, allocations: 0.8202 MB / 1.042 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004889/1.106, allocations: 67.23 kB / 1.042 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/1.106, allocations: 140.5 kB / 1.042 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of SimCode: time 1.112e-06/1.106, allocations: 4 kB / 1.042 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04419/1.15, allocations: 8.509 MB / 1.051 GB, free: 6.738 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003617/1.151, allocations: 225.2 kB / 1.051 GB, free: 6.512 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.648/3.799, allocations: 0 / 1.051 GB, free: 6.512 MB / 0.6667 GB