Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.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.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",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.113/2.113, 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.002235/0.002234, allocations: 178.6 kB / 325.5 MB, free: 2.898 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.342/2.342, allocations: 205.4 MB / 0.5764 GB, free: 20.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.001228/0.001227, allocations: 95.92 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004805/0.0004804, allocations: 15.47 kB / 0.7951 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2132, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2341/0.4473, allocations: 139.5 MB / 1.035 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004035/0.4478, allocations: 103.9 kB / 1.035 GB, free: 5.691 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05236/0.5002, allocations: 12.71 MB / 1.048 GB, free: 8.914 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.504e-06/0.5002, allocations: 0 / 1.048 GB, free: 8.914 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.979e-05/0.5003, allocations: 12 kB / 1.048 GB, free: 8.902 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00173/0.502, allocations: 0.8699 MB / 1.048 GB, free: 7.977 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.5021, allocations: 15.97 kB / 1.048 GB, free: 7.961 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.71e-05/0.5022, allocations: 34.56 kB / 1.048 GB, free: 7.918 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.5023, allocations: 67.2 kB / 1.049 GB, free: 7.852 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.5034, allocations: 459.6 kB / 1.049 GB, free: 7.363 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.5035, allocations: 4 kB / 1.049 GB, free: 7.359 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.5035, allocations: 4 kB / 1.049 GB, free: 7.355 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/0.5038, allocations: 108.2 kB / 1.049 GB, free: 7.234 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.5038, allocations: 0 / 1.049 GB, free: 7.234 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.5039, allocations: 0 / 1.049 GB, free: 7.234 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.5039, allocations: 4 kB / 1.049 GB, free: 7.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.5041, allocations: 43.97 kB / 1.049 GB, free: 7.188 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.5053, allocations: 0.5317 MB / 1.05 GB, free: 6.605 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000638/0.506, allocations: 106.6 kB / 1.05 GB, free: 6.492 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.506, allocations: 4 kB / 1.05 GB, free: 6.488 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002603/0.5063, allocations: 87.52 kB / 1.05 GB, free: 6.391 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.405e-06/0.5063, allocations: 0 / 1.05 GB, free: 6.391 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0006903/0.507, allocations: 201 kB / 1.05 GB, free: 6.188 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.492e-05/0.5071, allocations: 114.8 kB / 1.05 GB, free: 6.051 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.5088, allocations: 0.785 MB / 1.051 GB, free: 5.262 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.5088, allocations: 33.7 kB / 1.051 GB, free: 5.223 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004213/0.5093, allocations: 300 kB / 1.051 GB, free: 4.926 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.055e-05/0.5093, allocations: 23.66 kB / 1.051 GB, free: 4.902 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.188e-05/0.5094, allocations: 0 / 1.051 GB, free: 4.902 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.5095, allocations: 313.9 kB / 1.052 GB, free: 4.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.5096, allocations: 31.97 kB / 1.052 GB, free: 4.559 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.5099, allocations: 88.2 kB / 1.052 GB, free: 4.457 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.51, allocations: 32.05 kB / 1.052 GB, free: 4.426 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.5101, allocations: 0 / 1.052 GB, free: 4.426 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004984/0.5106, allocations: 168.8 kB / 1.052 GB, free: 4.254 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.5106, allocations: 5.719 kB / 1.052 GB, free: 4.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5106, allocations: 4 kB / 1.052 GB, free: 4.246 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.5107, allocations: 4.031 kB / 1.052 GB, free: 4.242 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.5108, allocations: 15.98 kB / 1.052 GB, free: 4.227 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.5108, allocations: 3.953 kB / 1.052 GB, free: 4.223 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/0.5111, allocations: 11.89 kB / 1.052 GB, free: 4.211 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.5111, allocations: 4 kB / 1.052 GB, free: 4.207 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.sta.combiTimeTable.nextTimeEvent,speSel.stage,sta.combiTimeTable.nextTimeEvent,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.000601/0.5117, allocations: 313.6 kB / 1.052 GB, free: 3.891 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.5119, allocations: 67.3 kB / 1.052 GB, free: 3.824 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005923/0.5125, allocations: 191.5 kB / 1.052 GB, free: 3.629 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.5125, allocations: 0 / 1.052 GB, free: 3.629 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.5125, allocations: 0 / 1.052 GB, free: 3.629 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.5125, allocations: 11.94 kB / 1.052 GB, free: 3.617 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006455/0.5132, allocations: 385.4 kB / 1.053 GB, free: 3.191 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.5132, allocations: 0 / 1.053 GB, free: 3.191 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.5133, allocations: 11.98 kB / 1.053 GB, free: 3.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.5133, allocations: 3.938 kB / 1.053 GB, free: 3.176 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.5134, allocations: 4 kB / 1.053 GB, free: 3.172 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5134, allocations: 0 / 1.053 GB, free: 3.172 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.5134, allocations: 0 / 1.053 GB, free: 3.172 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004842/0.5139, allocations: 212.1 kB / 1.053 GB, free: 2.945 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002022/0.5141, allocations: 140.3 kB / 1.053 GB, free: 2.789 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.14e-05/0.5142, allocations: 4 kB / 1.053 GB, free: 2.785 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.5145, allocations: 15.98 kB / 1.053 GB, free: 2.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.801e-05/0.5145, allocations: 7.984 kB / 1.053 GB, free: 2.762 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.5146, allocations: 4 kB / 1.053 GB, free: 2.758 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00133/0.5159, allocations: 0.6512 MB / 1.054 GB, free: 2.109 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.11e-07/0.5159, allocations: 4 kB / 1.054 GB, free: 2.105 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005982/0.5165, allocations: 83.92 kB / 1.054 GB, free: 2.023 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: 4 ($whenCondition1,speSel.stage,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002425/0.519, allocations: 1.214 MB / 1.055 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004531/0.5195, allocations: 91.88 kB / 1.055 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5195, allocations: 0 / 1.055 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.5197, allocations: 40.12 kB / 1.055 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.5208, allocations: 150.9 kB / 1.055 GB, free: 0.668 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5818/1.103, allocations: 3.694 MB / 1.059 GB, free: 146.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005914/1.103, allocations: 0.9895 MB / 1.06 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002869/1.104, allocations: 43.55 kB / 1.06 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003098/1.104, allocations: 182.3 kB / 1.06 GB, free: 145.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.213e-06/1.104, allocations: 0 / 1.06 GB, free: 145.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04906/1.153, allocations: 13.51 MB / 1.073 GB, free: 145.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000244/1.153, allocations: 244.3 kB / 1.074 GB, free: 144.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.843/3.996, allocations: 2.656 kB / 1.074 GB, free: 144.8 MB / 0.698 GB