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.268/2.268, allocations: 248.7 MB / 256.2 MB, free: 7.094 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.001521/0.00152, allocations: 182.9 kB / 315.4 MB, free: 4.012 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.04/2.04, allocations: 205.3 MB / 0.5662 GB, free: 0.5195 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.001141/0.00114, allocations: 102.5 kB / 0.6704 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.933e-05/2.923e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2143, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8779/1.092, allocations: 138.7 MB / 1.02 GB, free: 128 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/1.093, allocations: 94.62 kB / 1.02 GB, free: 72 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0552/1.148, allocations: 12.79 MB / 1.032 GB, free: 5.301 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.973e-06/1.148, allocations: 0 / 1.032 GB, free: 5.301 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.365e-05/1.148, allocations: 8 kB / 1.032 GB, free: 5.293 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001152/1.149, allocations: 0.7089 MB / 1.033 GB, free: 4.562 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/1.149, allocations: 12.03 kB / 1.033 GB, free: 4.551 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/1.149, allocations: 59.25 kB / 1.033 GB, free: 4.492 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006442/1.15, allocations: 341.7 kB / 1.033 GB, free: 4.129 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/1.15, allocations: 4 kB / 1.033 GB, free: 4.125 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/1.15, allocations: 4 kB / 1.033 GB, free: 4.121 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00028/1.15, allocations: 95.75 kB / 1.033 GB, free: 4.047 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/1.151, allocations: 126 kB / 1.033 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/1.151, allocations: 0 / 1.033 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/1.151, allocations: 4 kB / 1.033 GB, free: 3.934 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/1.151, allocations: 0 / 1.033 GB, free: 3.934 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/1.152, allocations: 0.5127 MB / 1.034 GB, free: 3.465 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/1.152, allocations: 109.2 kB / 1.034 GB, free: 3.375 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/1.152, allocations: 65.47 kB / 1.034 GB, free: 3.324 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.725e-05/1.152, allocations: 7.953 kB / 1.034 GB, free: 3.316 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002739/1.153, allocations: 138.5 kB / 1.034 GB, free: 3.18 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 3.296e-06/1.153, allocations: 4 kB / 1.034 GB, free: 3.176 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0007717/1.154, allocations: 241.5 kB / 1.035 GB, free: 2.965 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/1.154, allocations: 81.11 kB / 1.035 GB, free: 2.867 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/1.155, allocations: 0.5983 MB / 1.035 GB, free: 2.395 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.514e-05/1.155, allocations: 33.69 kB / 1.035 GB, free: 2.355 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003409/1.155, allocations: 282.4 kB / 1.035 GB, free: 2.211 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.228e-05/1.155, allocations: 26.95 kB / 1.035 GB, free: 2.188 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.252e-05/1.155, allocations: 0 / 1.035 GB, free: 2.188 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002282/1.156, allocations: 371.4 kB / 1.036 GB, free: 1.84 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/1.156, allocations: 59.66 kB / 1.036 GB, free: 1.793 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/1.156, allocations: 49.78 kB / 1.036 GB, free: 1.758 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/1.156, allocations: 50.91 kB / 1.036 GB, free: 1.719 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.156, allocations: 0 / 1.036 GB, free: 1.719 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000637/1.157, allocations: 248.2 kB / 1.036 GB, free: 1.504 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.677e-05/1.157, allocations: 41.64 kB / 1.036 GB, free: 1.457 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/1.157, allocations: 0 / 1.036 GB, free: 1.457 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/1.157, allocations: 0 / 1.036 GB, free: 1.457 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/1.157, allocations: 8 kB / 1.036 GB, free: 1.449 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/1.157, allocations: 0 / 1.036 GB, free: 1.449 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/1.157, allocations: 19.86 kB / 1.036 GB, free: 1.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.72e-05/1.157, allocations: 8 kB / 1.036 GB, free: 1.422 MB / 0.6511 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 () * 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.0001586/1.158, allocations: 147.1 kB / 1.036 GB, free: 1.27 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006707/1.158, allocations: 266.4 kB / 1.037 GB, free: 1.039 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.52e-05/1.158, allocations: 63.2 kB / 1.037 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009038/1.159, allocations: 273 kB / 1.037 GB, free: 0.75 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/1.159, allocations: 3.938 kB / 1.037 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.159, allocations: 0 / 1.037 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/1.159, allocations: 7.984 kB / 1.037 GB, free: 0.7383 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006063/1.16, allocations: 340.1 kB / 1.037 GB, free: 440 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.16, allocations: 4 kB / 1.037 GB, free: 436 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.262e-05/1.16, allocations: 7.938 kB / 1.037 GB, free: 428 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/1.16, allocations: 0 / 1.037 GB, free: 428 kB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/1.16, allocations: 7.953 kB / 1.037 GB, free: 420 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/1.16, allocations: 192 / 1.037 GB, free: 420 kB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.16, allocations: 3.984 kB / 1.037 GB, free: 416 kB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007177/1.161, allocations: 291.5 kB / 1.038 GB, free: 144 kB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/1.161, allocations: 144 kB / 1.038 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.667e-05/1.161, allocations: 7.984 kB / 1.038 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/1.161, allocations: 7.953 kB / 1.038 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.878e-05/1.162, allocations: 7.984 kB / 1.038 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/1.162, allocations: 11.19 kB / 1.038 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001019/1.163, allocations: 0.4968 MB / 1.038 GB, free: 15.58 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.51e-07/1.163, allocations: 0 / 1.038 GB, free: 15.58 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007984/1.163, allocations: 151.3 kB / 1.038 GB, free: 15.44 MB / 0.6667 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) * 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.001904/1.165, allocations: 1.068 MB / 1.04 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004245/1.166, allocations: 196.5 kB / 1.04 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/1.166, allocations: 0 / 1.04 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/1.166, allocations: 140.2 kB / 1.04 GB, free: 14.13 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008618/1.167, allocations: 100.6 kB / 1.04 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/1.17, allocations: 0.9917 MB / 1.041 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000856/1.171, allocations: 0.9769 MB / 1.042 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000156/1.171, allocations: 13.34 kB / 1.042 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/1.171, allocations: 153.4 kB / 1.042 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of SimCode: time 1.092e-06/1.171, allocations: 0 / 1.042 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05992/1.231, allocations: 10.69 MB / 1.052 GB, free: 1.531 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003916/1.231, allocations: 164.1 kB / 1.053 GB, free: 1.34 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.598/3.829, allocations: 2.109 kB / 1.053 GB, free: 1.34 MB / 0.6667 GB