Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.436/1.436, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001927/0.001927, allocations: 181.2 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.913/1.913, allocations: 205.4 MB / 0.5775 GB, free: 20.56 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.0008255/0.0008255, allocations: 99.95 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.0003672, allocations: 13.59 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.235, allocations: 106.4 MB / 0.9002 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1815/0.4166, allocations: 139.7 MB / 1.037 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003315/0.417, allocations: 99.94 kB / 1.037 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03225/0.4493, allocations: 12.72 MB / 1.049 GB, free: 7.422 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4493, allocations: 0 / 1.049 GB, free: 7.422 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.63e-05/0.4494, allocations: 8 kB / 1.049 GB, free: 7.414 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001511/0.4509, allocations: 0.8681 MB / 1.05 GB, free: 6.488 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.451, allocations: 12.03 kB / 1.05 GB, free: 6.477 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.354e-05/0.451, allocations: 38.55 kB / 1.05 GB, free: 6.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.4512, allocations: 63.25 kB / 1.05 GB, free: 6.367 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008776/0.4521, allocations: 471.4 kB / 1.05 GB, free: 5.867 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.4521, allocations: 4 kB / 1.05 GB, free: 5.863 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.4521, allocations: 4 kB / 1.05 GB, free: 5.859 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.4523, allocations: 104.2 kB / 1.051 GB, free: 5.742 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.4524, allocations: 0 / 1.051 GB, free: 5.742 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.4524, allocations: 3.984 kB / 1.051 GB, free: 5.738 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4524, allocations: 0 / 1.051 GB, free: 5.738 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.4525, allocations: 43.97 kB / 1.051 GB, free: 5.695 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008586/0.4534, allocations: 0.524 MB / 1.051 GB, free: 5.121 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003996/0.4538, allocations: 114.7 kB / 1.051 GB, free: 5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.4538, allocations: 4 kB / 1.051 GB, free: 4.996 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.454, allocations: 83.48 kB / 1.051 GB, free: 4.902 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.454, allocations: 0 / 1.051 GB, free: 4.902 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004566/0.4545, allocations: 200.7 kB / 1.052 GB, free: 4.699 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.4546, allocations: 118.7 kB / 1.052 GB, free: 4.559 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.4556, allocations: 0.7889 MB / 1.052 GB, free: 3.766 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.4556, allocations: 33.7 kB / 1.052 GB, free: 3.727 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002704/0.4559, allocations: 296.1 kB / 1.053 GB, free: 3.434 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.456, allocations: 27.64 kB / 1.053 GB, free: 3.406 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.456, allocations: 0 / 1.053 GB, free: 3.406 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.4561, allocations: 310 kB / 1.053 GB, free: 3.098 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.739e-05/0.4562, allocations: 31.92 kB / 1.053 GB, free: 3.066 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.4563, allocations: 88.2 kB / 1.053 GB, free: 2.965 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.387e-05/0.4564, allocations: 27.98 kB / 1.053 GB, free: 2.938 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4564, allocations: 0 / 1.053 GB, free: 2.938 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002981/0.4567, allocations: 172.8 kB / 1.053 GB, free: 2.762 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.4567, allocations: 8 kB / 1.053 GB, free: 2.754 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4567, allocations: 0 / 1.053 GB, free: 2.754 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.4568, allocations: 4.031 kB / 1.053 GB, free: 2.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.4569, allocations: 15.98 kB / 1.053 GB, free: 2.734 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.4569, allocations: 0 / 1.053 GB, free: 2.734 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.457, allocations: 11.86 kB / 1.053 GB, free: 2.723 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.457, allocations: 4 kB / 1.053 GB, free: 2.719 MB / 0.698 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.0003239/0.4574, allocations: 311.7 kB / 1.054 GB, free: 2.406 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.319e-05/0.4574, allocations: 71.14 kB / 1.054 GB, free: 2.336 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003416/0.4578, allocations: 191.6 kB / 1.054 GB, free: 2.141 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.4578, allocations: 0 / 1.054 GB, free: 2.141 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.4578, allocations: 0 / 1.054 GB, free: 2.141 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4578, allocations: 4 kB / 1.054 GB, free: 2.137 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004059/0.4582, allocations: 401.4 kB / 1.054 GB, free: 1.695 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.4583, allocations: 0 / 1.054 GB, free: 1.695 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.703e-05/0.4583, allocations: 8 kB / 1.054 GB, free: 1.688 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.4583, allocations: 3.938 kB / 1.054 GB, free: 1.684 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.4584, allocations: 4 kB / 1.054 GB, free: 1.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4584, allocations: 0 / 1.054 GB, free: 1.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4584, allocations: 3.984 kB / 1.054 GB, free: 1.676 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.4587, allocations: 208.1 kB / 1.055 GB, free: 1.453 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.4589, allocations: 140.3 kB / 1.055 GB, free: 1.297 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.635e-05/0.4589, allocations: 4 kB / 1.055 GB, free: 1.293 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.4591, allocations: 4 kB / 1.055 GB, free: 1.289 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.4591, allocations: 11.98 kB / 1.055 GB, free: 1.277 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.4591, allocations: 4 kB / 1.055 GB, free: 1.273 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008169/0.46, allocations: 0.6512 MB / 1.055 GB, free: 0.625 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.1e-07/0.46, allocations: 4 kB / 1.055 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004094/0.4604, allocations: 83.92 kB / 1.055 GB, free: 0.5391 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: 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.4765/0.9369, allocations: 1.215 MB / 1.057 GB, free: 146.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000442/0.9374, allocations: 91.23 kB / 1.057 GB, free: 146.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.9374, allocations: 0 / 1.057 GB, free: 146.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.9375, allocations: 44.03 kB / 1.057 GB, free: 146.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000951/0.9385, allocations: 140.2 kB / 1.057 GB, free: 146.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004851/0.9433, allocations: 3.682 MB / 1.06 GB, free: 145.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.9438, allocations: 0.9911 MB / 1.061 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002284/0.9441, allocations: 45.48 kB / 1.061 GB, free: 144.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/0.9443, allocations: 179.6 kB / 1.062 GB, free: 144.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.402e-06/0.9443, allocations: 0 / 1.062 GB, free: 144.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03817/0.9825, allocations: 13.53 MB / 1.075 GB, free: 143.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002401/0.9828, allocations: 258.3 kB / 1.075 GB, free: 143.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/3.436, allocations: 4 kB / 1.075 GB, free: 143.3 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)