Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.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.SpeedShift,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",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.096/2.096, allocations: 251 MB / 265.9 MB, free: 11.7 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.001576/0.001576, allocations: 181.5 kB / 325.5 MB, free: 2.902 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.257/2.257, allocations: 205.4 MB / 0.5764 GB, free: 20.77 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.001147/0.001146, allocations: 95.55 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005413/0.0005414, allocations: 17.12 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2078, allocations: 106.3 MB / 0.8988 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2425/0.4503, allocations: 138.5 MB / 1.034 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003448/0.4507, allocations: 95.94 kB / 1.034 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0579/0.5087, allocations: 12.94 MB / 1.047 GB, free: 9.613 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.905e-06/0.5087, allocations: 0 / 1.047 GB, free: 9.613 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.36e-05/0.5088, allocations: 8 kB / 1.047 GB, free: 9.605 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.002006/0.5108, allocations: 0.8157 MB / 1.048 GB, free: 8.734 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.5109, allocations: 12.03 kB / 1.048 GB, free: 8.723 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.657e-05/0.511, allocations: 46.55 kB / 1.048 GB, free: 8.668 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.5111, allocations: 59.25 kB / 1.048 GB, free: 8.609 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006658/0.5118, allocations: 347.7 kB / 1.048 GB, free: 8.227 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.5118, allocations: 19.84 kB / 1.048 GB, free: 8.207 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.5119, allocations: 8 kB / 1.048 GB, free: 8.199 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003725/0.5123, allocations: 131.9 kB / 1.048 GB, free: 8.062 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.5123, allocations: 0 / 1.048 GB, free: 8.062 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.5123, allocations: 4 kB / 1.048 GB, free: 8.059 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.178e-06/0.5123, allocations: 4 kB / 1.048 GB, free: 8.055 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.5126, allocations: 100.1 kB / 1.048 GB, free: 7.957 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.5139, allocations: 0.5475 MB / 1.049 GB, free: 7.359 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.5142, allocations: 122.4 kB / 1.049 GB, free: 7.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.697e-05/0.5142, allocations: 8.062 kB / 1.049 GB, free: 7.223 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002831/0.5145, allocations: 149.1 kB / 1.049 GB, free: 7.059 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 2.254e-06/0.5145, allocations: 0 / 1.049 GB, free: 7.059 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0009534/0.5155, allocations: 419.5 kB / 1.05 GB, free: 6.617 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/0.5156, allocations: 89.14 kB / 1.05 GB, free: 6.512 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.5169, allocations: 0.6752 MB / 1.05 GB, free: 5.832 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.517, allocations: 25.7 kB / 1.05 GB, free: 5.801 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003795/0.5174, allocations: 276.3 kB / 1.051 GB, free: 5.523 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.124e-05/0.5175, allocations: 19.72 kB / 1.051 GB, free: 5.504 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.71e-05/0.5175, allocations: 4 kB / 1.051 GB, free: 5.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.5176, allocations: 314 kB / 1.051 GB, free: 5.188 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.5178, allocations: 55.97 kB / 1.051 GB, free: 5.133 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.518, allocations: 51.95 kB / 1.051 GB, free: 5.082 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.5181, allocations: 81.67 kB / 1.051 GB, free: 4.996 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.5182, allocations: 3.938 kB / 1.051 GB, free: 4.992 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006542/0.5188, allocations: 286.4 kB / 1.051 GB, free: 4.699 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.895e-05/0.5189, allocations: 33.7 kB / 1.051 GB, free: 4.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5189, allocations: 0 / 1.051 GB, free: 4.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.5189, allocations: 0 / 1.051 GB, free: 4.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.5191, allocations: 19.92 kB / 1.051 GB, free: 4.641 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.5191, allocations: 3.938 kB / 1.051 GB, free: 4.637 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.5193, allocations: 11.94 kB / 1.051 GB, free: 4.625 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/0.5194, allocations: 8 kB / 1.051 GB, free: 4.617 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0006068/0.52, allocations: 335.4 kB / 1.052 GB, free: 4.273 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.924e-05/0.5201, allocations: 63.2 kB / 1.052 GB, free: 4.211 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007954/0.5209, allocations: 316.6 kB / 1.052 GB, free: 3.887 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.5209, allocations: 4 kB / 1.052 GB, free: 3.883 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.5209, allocations: 4 kB / 1.052 GB, free: 3.879 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.521, allocations: 0 / 1.052 GB, free: 3.879 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005847/0.5215, allocations: 373.3 kB / 1.052 GB, free: 3.465 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.5216, allocations: 4 kB / 1.052 GB, free: 3.461 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.53e-05/0.5216, allocations: 11.92 kB / 1.052 GB, free: 3.449 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.5217, allocations: 0 / 1.052 GB, free: 3.449 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.5217, allocations: 7.953 kB / 1.052 GB, free: 3.441 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.5217, allocations: 0 / 1.052 GB, free: 3.441 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.5217, allocations: 0 / 1.052 GB, free: 3.441 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006927/0.5224, allocations: 334.2 kB / 1.053 GB, free: 3.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002234/0.5227, allocations: 148.2 kB / 1.053 GB, free: 2.926 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.639e-05/0.5228, allocations: 8 kB / 1.053 GB, free: 2.918 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.523, allocations: 11.94 kB / 1.053 GB, free: 2.906 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.523, allocations: 4 kB / 1.053 GB, free: 2.902 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/0.5231, allocations: 11.98 kB / 1.053 GB, free: 2.891 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001174/0.5243, allocations: 0.5575 MB / 1.054 GB, free: 2.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/0.5243, allocations: 0 / 1.054 GB, free: 2.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007459/0.525, allocations: 147.9 kB / 1.054 GB, free: 2.195 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: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.001724/0.5268, allocations: 1.093 MB / 1.055 GB, free: 1.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004526/0.5272, allocations: 203.3 kB / 1.055 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5273, allocations: 4 kB / 1.055 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002586/0.5275, allocations: 143.4 kB / 1.055 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007496/0.5283, allocations: 107.1 kB / 1.055 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.556/1.084, allocations: 3.3 MB / 1.058 GB, free: 147.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005728/1.085, allocations: 0.9757 MB / 1.059 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001567/1.085, allocations: 21.86 kB / 1.059 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/1.085, allocations: 151.2 kB / 1.06 GB, free: 146.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.694e-06/1.085, allocations: 3.5 kB / 1.06 GB, free: 146.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05099/1.136, allocations: 12.34 MB / 1.072 GB, free: 146 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002811/1.137, allocations: 200.3 kB / 1.072 GB, free: 145.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.865/4.002, allocations: 0 / 1.072 GB, free: 145.8 MB / 0.698 GB