Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_8_0_0_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_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 8.0.0/package.mo): time 2.494/2.494, allocations: 287.3 MB / 302.3 MB, free: 8.367 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.00156/0.001559, allocations: 185.8 kB / 370.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.00114/0.00114, allocations: 105.1 kB / 0.7428 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006606/0.0006605, allocations: 13.47 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2175, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9634/1.181, allocations: 145.8 MB / 1.121 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000343/1.181, allocations: 95.64 kB / 1.121 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04799/1.229, allocations: 12.72 MB / 1.133 GB, free: 29.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.215e-06/1.229, allocations: 0 / 1.133 GB, free: 29.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.329e-05/1.229, allocations: 7.781 kB / 1.133 GB, free: 29.18 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.001538/1.231, allocations: 0.8618 MB / 1.134 GB, free: 28.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/1.231, allocations: 11.53 kB / 1.134 GB, free: 28.46 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.337e-05/1.231, allocations: 34.5 kB / 1.134 GB, free: 28.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/1.231, allocations: 70.2 kB / 1.134 GB, free: 28.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009535/1.232, allocations: 465.9 kB / 1.135 GB, free: 28.06 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/1.232, allocations: 7.734 kB / 1.135 GB, free: 28.06 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/1.232, allocations: 3.938 kB / 1.135 GB, free: 28.06 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/1.233, allocations: 104.1 kB / 1.135 GB, free: 27.98 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.233, allocations: 0 / 1.135 GB, free: 27.98 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/1.233, allocations: 0 / 1.135 GB, free: 27.98 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/1.233, allocations: 0 / 1.135 GB, free: 27.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/1.233, allocations: 48.38 kB / 1.135 GB, free: 27.98 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009586/1.234, allocations: 0.5354 MB / 1.135 GB, free: 27.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005858/1.234, allocations: 107 kB / 1.135 GB, free: 27.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/1.234, allocations: 0 / 1.135 GB, free: 27.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/1.235, allocations: 91.59 kB / 1.135 GB, free: 27.51 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.984e-06/1.235, allocations: 0 / 1.135 GB, free: 27.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0006094/1.235, allocations: 188.8 kB / 1.136 GB, free: 27.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.663e-05/1.235, allocations: 114.3 kB / 1.136 GB, free: 27.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/1.237, allocations: 0.7887 MB / 1.137 GB, free: 27.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.111e-05/1.237, allocations: 32.92 kB / 1.137 GB, free: 27.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003451/1.237, allocations: 302.5 kB / 1.137 GB, free: 26.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/1.237, allocations: 22.78 kB / 1.137 GB, free: 26.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-06/1.237, allocations: 0 / 1.137 GB, free: 26.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.238, allocations: 310 kB / 1.137 GB, free: 26.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/1.238, allocations: 28.61 kB / 1.137 GB, free: 26.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/1.238, allocations: 91.27 kB / 1.137 GB, free: 26.53 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/1.238, allocations: 28.55 kB / 1.137 GB, free: 26.53 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/1.238, allocations: 0 / 1.137 GB, free: 26.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000421/1.238, allocations: 175.9 kB / 1.137 GB, free: 26.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/1.238, allocations: 3.844 kB / 1.137 GB, free: 26.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/1.239, allocations: 0 / 1.137 GB, free: 26.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/1.239, allocations: 4.031 kB / 1.137 GB, free: 26.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/1.239, allocations: 15.5 kB / 1.138 GB, free: 26.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/1.239, allocations: 4 kB / 1.138 GB, free: 26.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/1.239, allocations: 15.38 kB / 1.138 GB, free: 26.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/1.239, allocations: 3.844 kB / 1.138 GB, free: 26.43 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.0005072/1.239, allocations: 308.1 kB / 1.138 GB, free: 26.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.793e-05/1.24, allocations: 65.44 kB / 1.138 GB, free: 26.24 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005465/1.24, allocations: 191.5 kB / 1.138 GB, free: 26.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/1.24, allocations: 3.984 kB / 1.138 GB, free: 26.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.24, allocations: 3.938 kB / 1.138 GB, free: 26.15 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/1.24, allocations: 0 / 1.138 GB, free: 26.15 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005015/1.241, allocations: 397.2 kB / 1.138 GB, free: 25.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/1.241, allocations: 7.781 kB / 1.138 GB, free: 25.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.403e-05/1.241, allocations: 7.703 kB / 1.138 GB, free: 25.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/1.241, allocations: 3.656 kB / 1.138 GB, free: 25.89 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/1.241, allocations: 0 / 1.138 GB, free: 25.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/1.241, allocations: 0 / 1.138 GB, free: 25.89 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.241, allocations: 0 / 1.138 GB, free: 25.89 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004312/1.241, allocations: 214.2 kB / 1.139 GB, free: 25.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/1.242, allocations: 142.9 kB / 1.139 GB, free: 25.63 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.033e-05/1.242, allocations: 11.52 kB / 1.139 GB, free: 25.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/1.242, allocations: 3.875 kB / 1.139 GB, free: 25.63 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/1.242, allocations: 11.45 kB / 1.139 GB, free: 25.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/1.242, allocations: 0 / 1.139 GB, free: 25.62 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001153/1.243, allocations: 0.6486 MB / 1.139 GB, free: 25.42 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.243, allocations: 4 kB / 1.139 GB, free: 25.42 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005258/1.244, allocations: 88.05 kB / 1.14 GB, free: 25.41 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.002498/1.246, allocations: 1.224 MB / 1.141 GB, free: 24.59 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004253/1.247, allocations: 95.28 kB / 1.141 GB, free: 24.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/1.247, allocations: 0 / 1.141 GB, free: 24.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/1.247, allocations: 38.11 kB / 1.141 GB, free: 24.56 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/1.248, allocations: 132.6 kB / 1.141 GB, free: 24.53 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006599/1.254, allocations: 3.689 MB / 1.145 GB, free: 22.82 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007837/1.255, allocations: 0.9956 MB / 1.146 GB, free: 22.02 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003084/1.256, allocations: 49.58 kB / 1.146 GB, free: 22 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/1.256, allocations: 179.5 kB / 1.146 GB, free: 21.97 MB / 0.698 GB Notification: Performance of SimCode: time 1.823e-06/1.256, allocations: 0 / 1.146 GB, free: 21.97 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04733/1.303, allocations: 13.52 MB / 1.159 GB, free: 13.64 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003801/1.304, allocations: 245.1 kB / 1.159 GB, free: 13.36 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.923/4.227, allocations: 0 / 1.159 GB, free: 13.36 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)