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.165/2.165, allocations: 248.5 MB / 261.1 MB, free: 6.09 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.001475/0.001475, allocations: 179 kB / 320.4 MB, free: 15.34 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.918/1.918, allocations: 205.1 MB / 0.571 GB, free: 11.82 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.001065/0.001065, allocations: 101.5 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.366e-05/3.385e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2053, allocations: 106.3 MB / 0.8907 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8366/1.042, allocations: 139.4 MB / 1.027 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003259/1.042, allocations: 92.5 kB / 1.027 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05263/1.095, allocations: 12.69 MB / 1.039 GB, free: 0.6992 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.653e-06/1.095, allocations: 0 / 1.039 GB, free: 0.6992 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.974e-05/1.095, allocations: 11.94 kB / 1.039 GB, free: 0.6875 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001158/1.096, allocations: 0.7114 MB / 1.04 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/1.096, allocations: 8.031 kB / 1.04 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.42e-05/1.096, allocations: 37.94 kB / 1.04 GB, free: 15.9 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/1.096, allocations: 67.11 kB / 1.04 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/1.098, allocations: 465.4 kB / 1.041 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/1.098, allocations: 11.31 kB / 1.041 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/1.098, allocations: 4 kB / 1.041 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/1.098, allocations: 101.1 kB / 1.041 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/1.098, allocations: 0 / 1.041 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/1.098, allocations: 0 / 1.041 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/1.098, allocations: 0 / 1.041 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/1.098, allocations: 47.92 kB / 1.041 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/1.099, allocations: 0.534 MB / 1.041 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005122/1.1, allocations: 100.7 kB / 1.041 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.954e-05/1.1, allocations: 29.8 kB / 1.041 GB, free: 14.63 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/1.1, allocations: 10.75 kB / 1.041 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002166/1.1, allocations: 80.5 kB / 1.041 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 2.605e-06/1.1, allocations: 0 / 1.041 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7): time 0.000463/1.101, allocations: 162.2 kB / 1.042 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.456e-05/1.101, allocations: 114.7 kB / 1.042 GB, free: 14.26 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/1.103, allocations: 0.7794 MB / 1.042 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.302e-05/1.103, allocations: 33.02 kB / 1.043 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003935/1.103, allocations: 307.4 kB / 1.043 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.695e-05/1.103, allocations: 23.48 kB / 1.043 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/1.103, allocations: 0 / 1.043 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.103, allocations: 306 kB / 1.043 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.947e-05/1.103, allocations: 30.3 kB / 1.043 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/1.103, allocations: 77.89 kB / 1.043 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/1.104, allocations: 38.36 kB / 1.043 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.104, allocations: 0 / 1.043 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004013/1.104, allocations: 162.4 kB / 1.043 GB, free: 12.87 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/1.104, allocations: 11.98 kB / 1.043 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/1.104, allocations: 0 / 1.043 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/1.104, allocations: 0 / 1.043 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/1.104, allocations: 15.95 kB / 1.043 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/1.104, allocations: 8.078 kB / 1.043 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/1.105, allocations: 11.55 kB / 1.043 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/1.105, allocations: 8.031 kB / 1.043 GB, free: 12.82 MB / 0.6667 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 () * 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.0001107/1.105, allocations: 108.2 kB / 1.044 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/1.105, allocations: 67.16 kB / 1.044 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005417/1.105, allocations: 179.8 kB / 1.044 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/1.105, allocations: 0 / 1.044 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/1.105, allocations: 7.891 kB / 1.044 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.105, allocations: 0 / 1.044 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000581/1.106, allocations: 394 kB / 1.044 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/1.106, allocations: 0 / 1.044 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/1.106, allocations: 15.94 kB / 1.044 GB, free: 12.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/1.106, allocations: 0 / 1.044 GB, free: 12.1 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/1.106, allocations: 7.984 kB / 1.044 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/1.106, allocations: 0 / 1.044 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.106, allocations: 0 / 1.044 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003918/1.107, allocations: 198.4 kB / 1.044 GB, free: 11.9 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002384/1.107, allocations: 143.1 kB / 1.045 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.935e-05/1.107, allocations: 11.92 kB / 1.045 GB, free: 11.74 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/1.107, allocations: 12 kB / 1.045 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.976e-05/1.107, allocations: 11.8 kB / 1.045 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/1.107, allocations: 0 / 1.045 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001303/1.109, allocations: 0.645 MB / 1.045 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.434e-06/1.109, allocations: 0 / 1.045 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005639/1.109, allocations: 95 kB / 1.045 GB, free: 11.15 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: 4 ($whenCondition1,speSel.stage,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * 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.002174/1.111, allocations: 1.155 MB / 1.046 GB, free: 10.12 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003474/1.112, allocations: 88.33 kB / 1.047 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.112, allocations: 4.062 kB / 1.047 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/1.112, allocations: 42.3 kB / 1.047 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/1.113, allocations: 134.3 kB / 1.047 GB, free: 9.922 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/1.116, allocations: 1.056 MB / 1.048 GB, free: 8.98 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008/1.117, allocations: 0.9964 MB / 1.049 GB, free: 8.02 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002987/1.117, allocations: 46.36 kB / 1.049 GB, free: 7.977 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000309/1.117, allocations: 177.6 kB / 1.049 GB, free: 7.941 MB / 0.6667 GB Notification: Performance of SimCode: time 1.983e-06/1.117, allocations: 0 / 1.049 GB, free: 7.941 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0475/1.165, allocations: 13.73 MB / 1.062 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003581/1.165, allocations: 219.7 kB / 1.063 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.883/4.048, allocations: 2.5 kB / 1.063 GB, free: 10.19 MB / 0.6823 GB