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.81/1.81, allocations: 288.2 MB / 303.2 MB, free: 8.191 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.001306/0.001305, allocations: 186.5 kB / 371.8 MB, free: 10.28 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.609/1.609, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009303/0.0009303, allocations: 89.16 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004082, allocations: 20.16 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2409, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8154/1.056, allocations: 146 MB / 1.122 GB, free: 16.33 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/1.057, allocations: 98 kB / 1.122 GB, free: 16.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02889/1.086, allocations: 12.72 MB / 1.135 GB, free: 29.08 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.004e-06/1.086, allocations: 0 / 1.135 GB, free: 29.08 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.56e-05/1.086, allocations: 7.375 kB / 1.135 GB, free: 29.08 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.001433/1.087, allocations: 0.8628 MB / 1.135 GB, free: 28.36 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/1.087, allocations: 11.41 kB / 1.135 GB, free: 28.36 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.56e-05/1.087, allocations: 45.48 kB / 1.135 GB, free: 28.31 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/1.087, allocations: 65.72 kB / 1.136 GB, free: 28.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008131/1.088, allocations: 468.3 kB / 1.136 GB, free: 27.96 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/1.088, allocations: 0 / 1.136 GB, free: 27.96 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/1.088, allocations: 7.719 kB / 1.136 GB, free: 27.96 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/1.089, allocations: 96.23 kB / 1.136 GB, free: 27.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/1.089, allocations: 0 / 1.136 GB, free: 27.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/1.089, allocations: 4 kB / 1.136 GB, free: 27.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/1.089, allocations: 3.984 kB / 1.136 GB, free: 27.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/1.089, allocations: 44.33 kB / 1.136 GB, free: 27.88 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007995/1.089, allocations: 0.5412 MB / 1.137 GB, free: 27.51 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/1.09, allocations: 104.4 kB / 1.137 GB, free: 27.47 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/1.09, allocations: 4 kB / 1.137 GB, free: 27.47 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/1.09, allocations: 88.88 kB / 1.137 GB, free: 27.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.502e-06/1.09, allocations: 0 / 1.137 GB, free: 27.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003941/1.09, allocations: 191.6 kB / 1.137 GB, free: 27.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/1.091, allocations: 106.8 kB / 1.137 GB, free: 27.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009413/1.091, allocations: 0.7938 MB / 1.138 GB, free: 26.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/1.092, allocations: 36.7 kB / 1.138 GB, free: 26.92 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/1.092, allocations: 303.3 kB / 1.138 GB, free: 26.81 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/1.092, allocations: 15 kB / 1.138 GB, free: 26.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/1.092, allocations: 3.719 kB / 1.138 GB, free: 26.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.092, allocations: 312.8 kB / 1.139 GB, free: 26.49 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.998e-05/1.092, allocations: 25.61 kB / 1.139 GB, free: 26.49 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.757e-05/1.092, allocations: 86.36 kB / 1.139 GB, free: 26.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.539e-05/1.092, allocations: 32.92 kB / 1.139 GB, free: 26.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.092, allocations: 0 / 1.139 GB, free: 26.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000255/1.092, allocations: 171.4 kB / 1.139 GB, free: 26.35 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/1.092, allocations: 3.812 kB / 1.139 GB, free: 26.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/1.092, allocations: 0 / 1.139 GB, free: 26.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/1.093, allocations: 3.844 kB / 1.139 GB, free: 26.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.702e-05/1.093, allocations: 11.41 kB / 1.139 GB, free: 26.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/1.093, allocations: 8.016 kB / 1.139 GB, free: 26.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/1.093, allocations: 7.312 kB / 1.139 GB, free: 26.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/1.093, allocations: 7.766 kB / 1.139 GB, free: 26.34 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.0003129/1.093, allocations: 311 kB / 1.139 GB, free: 26.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.032e-05/1.093, allocations: 66 kB / 1.139 GB, free: 26.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000319/1.093, allocations: 201.2 kB / 1.139 GB, free: 26.06 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/1.094, allocations: 0 / 1.139 GB, free: 26.06 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.094, allocations: 4 kB / 1.139 GB, free: 26.06 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/1.094, allocations: 4 kB / 1.139 GB, free: 26.05 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/1.094, allocations: 392.1 kB / 1.14 GB, free: 25.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/1.094, allocations: 3.844 kB / 1.14 GB, free: 25.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.388e-05/1.094, allocations: 7.531 kB / 1.14 GB, free: 25.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/1.094, allocations: 4.031 kB / 1.14 GB, free: 25.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/1.094, allocations: 3.25 kB / 1.14 GB, free: 25.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/1.094, allocations: 80 / 1.14 GB, free: 25.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.094, allocations: 3.984 kB / 1.14 GB, free: 25.79 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/1.094, allocations: 216.4 kB / 1.14 GB, free: 25.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/1.094, allocations: 142.3 kB / 1.14 GB, free: 25.53 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.622e-05/1.094, allocations: 3.688 kB / 1.14 GB, free: 25.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/1.095, allocations: 7.031 kB / 1.14 GB, free: 25.53 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/1.095, allocations: 7.859 kB / 1.14 GB, free: 25.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/1.095, allocations: 7.281 kB / 1.14 GB, free: 25.53 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006766/1.095, allocations: 0.6508 MB / 1.141 GB, free: 25.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.095, allocations: 0 / 1.141 GB, free: 25.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003629/1.096, allocations: 80.58 kB / 1.141 GB, free: 25.31 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.001759/1.098, allocations: 1.237 MB / 1.142 GB, free: 24.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002455/1.098, allocations: 85.22 kB / 1.142 GB, free: 24.46 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.098, allocations: 0 / 1.142 GB, free: 24.46 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.636e-05/1.098, allocations: 41.42 kB / 1.142 GB, free: 24.45 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006245/1.099, allocations: 136.6 kB / 1.142 GB, free: 24.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004319/1.103, allocations: 3.682 MB / 1.146 GB, free: 22.71 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005423/1.103, allocations: 0.9898 MB / 1.147 GB, free: 21.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001711/1.104, allocations: 45.45 kB / 1.147 GB, free: 21.89 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/1.104, allocations: 182.4 kB / 1.147 GB, free: 21.87 MB / 0.698 GB Notification: Performance of SimCode: time 1.012e-06/1.104, allocations: 4 kB / 1.147 GB, free: 21.86 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/1.131, allocations: 13.53 MB / 1.16 GB, free: 12.52 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/1.131, allocations: 259.3 kB / 1.161 GB, free: 12.18 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/3.583, allocations: 0 / 1.161 GB, free: 12.18 MB / 0.698 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)