Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.646/1.646, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001099/0.001099, allocations: 176.9 kB / 361.4 MB, free: 6.855 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.62/1.62, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0009428/0.0009428, allocations: 93.7 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.248e-05/4.258e-05, allocations: 8 kB / 0.8519 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7212/0.7213, allocations: 115.3 MB / 0.9645 GB, free: 78.94 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2021/0.9234, allocations: 145.2 MB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.9237, allocations: 97.66 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03186/0.9556, allocations: 12.53 MB / 1.119 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9556, allocations: 0 / 1.119 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.963e-05/0.9557, allocations: 8 kB / 1.119 GB, free: 14.05 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.001007/0.9567, allocations: 0.7169 MB / 1.119 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.9567, allocations: 8.031 kB / 1.119 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.9569, allocations: 68.27 kB / 1.119 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008166/0.9577, allocations: 463.5 kB / 1.12 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.9578, allocations: 4 kB / 1.12 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.9578, allocations: 4 kB / 1.12 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001083/0.9579, allocations: 39.98 kB / 1.12 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.9581, allocations: 92.23 kB / 1.12 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.9581, allocations: 3.938 kB / 1.12 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.9581, allocations: 0 / 1.12 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.9581, allocations: 0 / 1.12 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008734/0.959, allocations: 0.5089 MB / 1.12 GB, free: 12 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.9593, allocations: 90.66 kB / 1.121 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.219e-05/0.9594, allocations: 36.36 kB / 1.121 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.9594, allocations: 96 / 1.121 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/0.9596, allocations: 92.61 kB / 1.121 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.675e-06/0.9596, allocations: 4 kB / 1.121 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003535/0.96, allocations: 158.8 kB / 1.121 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.96, allocations: 102.8 kB / 1.121 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.9611, allocations: 0.7499 MB / 1.122 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.9611, allocations: 25.7 kB / 1.122 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002728/0.9614, allocations: 300.1 kB / 1.122 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.9615, allocations: 23.64 kB / 1.122 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.9615, allocations: 0 / 1.122 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.9616, allocations: 317.9 kB / 1.122 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.272e-05/0.9617, allocations: 24 kB / 1.122 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.972e-05/0.9618, allocations: 80.2 kB / 1.122 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.82e-05/0.9618, allocations: 27.98 kB / 1.122 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.9618, allocations: 0 / 1.122 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002471/0.9621, allocations: 156.9 kB / 1.123 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.9621, allocations: 8 kB / 1.123 GB, free: 9.742 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.9621, allocations: 0 / 1.123 GB, free: 9.742 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.9621, allocations: 0 / 1.123 GB, free: 9.742 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.896e-05/0.9622, allocations: 15.98 kB / 1.123 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.9623, allocations: 0 / 1.123 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.9624, allocations: 11.89 kB / 1.123 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.9624, allocations: 4 kB / 1.123 GB, free: 9.711 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 () * 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 9.714e-05/0.9626, allocations: 114.8 kB / 1.123 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002235/0.9628, allocations: 165.9 kB / 1.123 GB, free: 9.426 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.74e-05/0.9629, allocations: 63.2 kB / 1.123 GB, free: 9.363 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.9632, allocations: 175.8 kB / 1.123 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.9632, allocations: 4 kB / 1.123 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.9632, allocations: 0 / 1.123 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.9632, allocations: 0 / 1.123 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004379/0.9636, allocations: 379.5 kB / 1.123 GB, free: 8.766 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9637, allocations: 3.938 kB / 1.123 GB, free: 8.762 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.577e-05/0.9637, allocations: 8 kB / 1.123 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.9637, allocations: 0 / 1.123 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.9637, allocations: 8 kB / 1.124 GB, free: 8.746 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.9638, allocations: 4.562 kB / 1.124 GB, free: 8.742 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.9638, allocations: 3.984 kB / 1.124 GB, free: 8.738 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.964, allocations: 186.8 kB / 1.124 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.9641, allocations: 144.2 kB / 1.124 GB, free: 8.379 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.9642, allocations: 8 kB / 1.124 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.9643, allocations: 10.8 kB / 1.124 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.9644, allocations: 11.98 kB / 1.124 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.9644, allocations: 0 / 1.124 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007659/0.9652, allocations: 0.6123 MB / 1.124 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9652, allocations: 0 / 1.124 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003681/0.9656, allocations: 71.92 kB / 1.125 GB, free: 7.676 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) * 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.001656/0.9673, allocations: 1.156 MB / 1.126 GB, free: 6.625 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002076/0.9675, allocations: 87.89 kB / 1.126 GB, free: 6.539 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9675, allocations: 0 / 1.126 GB, free: 6.539 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.173e-05/0.9676, allocations: 36 kB / 1.126 GB, free: 6.504 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006502/0.9682, allocations: 140.6 kB / 1.126 GB, free: 6.371 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.97, allocations: 1.05 MB / 1.127 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006551/0.9707, allocations: 0.9941 MB / 1.128 GB, free: 4.258 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001796/0.9709, allocations: 43.2 kB / 1.128 GB, free: 4.219 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/0.9711, allocations: 175.4 kB / 1.128 GB, free: 4.047 MB / 0.7292 GB Notification: Performance of SimCode: time 4.71e-07/0.9711, allocations: 0 / 1.128 GB, free: 4.047 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03364/1.005, allocations: 11.89 MB / 1.14 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/1.005, allocations: 205.9 kB / 1.14 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/3.317, allocations: 0 / 1.14 GB, free: 8.145 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)