Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.786/1.786, allocations: 292.6 MB / 307.5 MB, free: 5.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001197/0.001197, allocations: 198 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.4 MB / 0.6366 GB, free: 8.645 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009358/0.0009355, allocations: 89.42 kB / 0.7509 GB, free: 62.89 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003539, allocations: 12 kB / 0.8749 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2847, allocations: 116.3 MB / 0.9884 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8271/1.112, allocations: 146.9 MB / 1.132 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/1.112, allocations: 102.3 kB / 1.132 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03091/1.143, allocations: 12.71 MB / 1.144 GB, free: 20.11 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.755e-06/1.143, allocations: 0 / 1.144 GB, free: 20.11 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.204e-05/1.143, allocations: 15.98 kB / 1.144 GB, free: 20.09 MB / 0.7292 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.001402/1.145, allocations: 0.8606 MB / 1.145 GB, free: 19.23 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/1.145, allocations: 12.03 kB / 1.145 GB, free: 19.21 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.512e-05/1.145, allocations: 36.88 kB / 1.145 GB, free: 19.17 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/1.145, allocations: 69.78 kB / 1.145 GB, free: 19.11 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008134/1.146, allocations: 463.2 kB / 1.146 GB, free: 18.66 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/1.146, allocations: 8 kB / 1.146 GB, free: 18.65 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/1.146, allocations: 8.234 kB / 1.146 GB, free: 18.64 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/1.146, allocations: 99.75 kB / 1.146 GB, free: 18.55 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/1.146, allocations: 0 / 1.146 GB, free: 18.55 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/1.146, allocations: 3.984 kB / 1.146 GB, free: 18.54 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/1.146, allocations: 0 / 1.146 GB, free: 18.54 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/1.146, allocations: 48.19 kB / 1.146 GB, free: 18.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00086/1.147, allocations: 0.5414 MB / 1.147 GB, free: 18 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003971/1.147, allocations: 106.9 kB / 1.147 GB, free: 17.9 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/1.148, allocations: 4.75 kB / 1.147 GB, free: 17.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/1.148, allocations: 84.16 kB / 1.147 GB, free: 17.82 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/1.148, allocations: 0 / 1.147 GB, free: 17.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0004227/1.148, allocations: 193.6 kB / 1.147 GB, free: 17.64 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/1.148, allocations: 107.6 kB / 1.147 GB, free: 17.51 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000988/1.149, allocations: 0.7913 MB / 1.148 GB, free: 16.83 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/1.149, allocations: 33.7 kB / 1.148 GB, free: 16.79 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/1.149, allocations: 300.3 kB / 1.148 GB, free: 16.52 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/1.15, allocations: 25.61 kB / 1.148 GB, free: 16.49 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/1.15, allocations: 4.938 kB / 1.148 GB, free: 16.49 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.304e-05/1.15, allocations: 311.2 kB / 1.148 GB, free: 16.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.25e-05/1.15, allocations: 28.78 kB / 1.148 GB, free: 16.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/1.15, allocations: 81.95 kB / 1.149 GB, free: 16.07 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.015e-05/1.15, allocations: 32.16 kB / 1.149 GB, free: 16.04 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/1.15, allocations: 4 kB / 1.149 GB, free: 16.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002341/1.15, allocations: 168.1 kB / 1.149 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/1.15, allocations: 8.938 kB / 1.149 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.15, allocations: 0.6562 kB / 1.149 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/1.15, allocations: 0 / 1.149 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.403e-05/1.15, allocations: 19.39 kB / 1.149 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/1.15, allocations: 0.9375 kB / 1.149 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/1.15, allocations: 6.109 kB / 1.149 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/1.15, allocations: 8.609 kB / 1.149 GB, free: 15.84 MB / 0.7292 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.0003228/1.151, allocations: 315.9 kB / 1.149 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/1.151, allocations: 67.95 kB / 1.149 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/1.151, allocations: 188.9 kB / 1.149 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/1.151, allocations: 3.938 kB / 1.149 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/1.151, allocations: 0 / 1.149 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/1.151, allocations: 4.703 kB / 1.149 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003999/1.152, allocations: 396.8 kB / 1.15 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.152, allocations: 1.219 kB / 1.15 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.099e-05/1.152, allocations: 14.38 kB / 1.15 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/1.152, allocations: 0.6094 kB / 1.15 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/1.152, allocations: 4.656 kB / 1.15 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/1.152, allocations: 0 / 1.15 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.152, allocations: 0.6562 kB / 1.15 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/1.152, allocations: 200.8 kB / 1.15 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/1.152, allocations: 144.1 kB / 1.15 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.386e-05/1.152, allocations: 4.656 kB / 1.15 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/1.152, allocations: 10.77 kB / 1.15 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/1.152, allocations: 15.88 kB / 1.15 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/1.152, allocations: 4.562 kB / 1.15 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007381/1.153, allocations: 0.6475 MB / 1.151 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.51e-07/1.153, allocations: 0.9375 kB / 1.151 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003904/1.154, allocations: 90.75 kB / 1.151 GB, free: 13.93 MB / 0.7292 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.001626/1.155, allocations: 1.222 MB / 1.152 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002698/1.155, allocations: 101.2 kB / 1.152 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.155, allocations: 0 / 1.152 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.807e-05/1.156, allocations: 41.47 kB / 1.152 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006118/1.156, allocations: 133 kB / 1.152 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004216/1.16, allocations: 3.678 MB / 1.156 GB, free: 9.363 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/1.161, allocations: 0.9927 MB / 1.157 GB, free: 8.445 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001878/1.161, allocations: 46.2 kB / 1.157 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/1.161, allocations: 172.4 kB / 1.157 GB, free: 8.258 MB / 0.7292 GB Notification: Performance of SimCode: time 1.833e-06/1.161, allocations: 0 / 1.157 GB, free: 8.258 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02636/1.188, allocations: 13.54 MB / 1.17 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/1.188, allocations: 242.2 kB / 1.17 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.371/3.559, allocations: 0 / 1.17 GB, free: 12.16 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)