Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.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.SpeedShift,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",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.588/2.588, allocations: 287.3 MB / 302.3 MB, free: 8.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.001568/0.001568, allocations: 189 kB / 370.8 MB, free: 10.85 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.077/2.077, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001156/0.001155, allocations: 99.73 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004982/0.0004981, allocations: 16.88 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2222, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9544/1.177, allocations: 144.8 MB / 1.12 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/1.177, allocations: 98.36 kB / 1.12 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05154/1.229, allocations: 12.93 MB / 1.132 GB, free: 29.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.126e-06/1.229, allocations: 3.938 kB / 1.132 GB, free: 29.06 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.845e-05/1.229, allocations: 7.688 kB / 1.132 GB, free: 29.06 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001555/1.23, allocations: 0.8165 MB / 1.133 GB, free: 28.37 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/1.23, allocations: 11.66 kB / 1.133 GB, free: 28.37 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.97e-05/1.23, allocations: 45.02 kB / 1.133 GB, free: 28.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.778e-05/1.231, allocations: 62.16 kB / 1.133 GB, free: 28.29 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006117/1.231, allocations: 352.8 kB / 1.134 GB, free: 27.99 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/1.231, allocations: 3.844 kB / 1.134 GB, free: 27.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/1.231, allocations: 11.25 kB / 1.134 GB, free: 27.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/1.232, allocations: 129.8 kB / 1.134 GB, free: 27.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/1.232, allocations: 3.906 kB / 1.134 GB, free: 27.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/1.232, allocations: 3.312 kB / 1.134 GB, free: 27.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/1.232, allocations: 0 / 1.134 GB, free: 27.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002461/1.232, allocations: 108.3 kB / 1.134 GB, free: 27.91 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/1.233, allocations: 0.5555 MB / 1.134 GB, free: 27.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/1.233, allocations: 118.4 kB / 1.135 GB, free: 27.49 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.827e-05/1.233, allocations: 14.67 kB / 1.135 GB, free: 27.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002552/1.234, allocations: 140.1 kB / 1.135 GB, free: 27.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 3.016e-06/1.234, allocations: 3.938 kB / 1.135 GB, free: 27.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0008228/1.235, allocations: 415 kB / 1.135 GB, free: 27.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/1.235, allocations: 80.98 kB / 1.135 GB, free: 27.06 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/1.236, allocations: 0.6742 MB / 1.136 GB, free: 26.83 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.55e-05/1.236, allocations: 29.7 kB / 1.136 GB, free: 26.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003111/1.236, allocations: 280.6 kB / 1.136 GB, free: 26.69 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.982e-05/1.236, allocations: 22.98 kB / 1.136 GB, free: 26.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.429e-05/1.237, allocations: 0 / 1.136 GB, free: 26.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.237, allocations: 316.9 kB / 1.137 GB, free: 26.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/1.237, allocations: 52.59 kB / 1.137 GB, free: 26.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/1.237, allocations: 55.69 kB / 1.137 GB, free: 26.35 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/1.237, allocations: 79.86 kB / 1.137 GB, free: 26.31 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.237, allocations: 0 / 1.137 GB, free: 26.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005864/1.238, allocations: 279.3 kB / 1.137 GB, free: 26.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.663e-05/1.238, allocations: 40.94 kB / 1.137 GB, free: 26.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.238, allocations: 0 / 1.137 GB, free: 26.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/1.238, allocations: 0 / 1.137 GB, free: 26.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/1.238, allocations: 15.58 kB / 1.137 GB, free: 26.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/1.238, allocations: 0 / 1.137 GB, free: 26.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/1.238, allocations: 15.69 kB / 1.137 GB, free: 26.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/1.238, allocations: 7.531 kB / 1.137 GB, free: 26.14 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0005443/1.239, allocations: 336.6 kB / 1.137 GB, free: 25.94 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.315e-05/1.239, allocations: 61.72 kB / 1.137 GB, free: 25.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007355/1.24, allocations: 326.8 kB / 1.138 GB, free: 25.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/1.24, allocations: 3.938 kB / 1.138 GB, free: 25.78 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.24, allocations: 0 / 1.138 GB, free: 25.78 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.24, allocations: 0 / 1.138 GB, free: 25.78 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005152/1.24, allocations: 369.7 kB / 1.138 GB, free: 25.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.24, allocations: 0 / 1.138 GB, free: 25.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.947e-05/1.24, allocations: 7.719 kB / 1.138 GB, free: 25.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.341e-06/1.24, allocations: 0 / 1.138 GB, free: 25.53 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/1.24, allocations: 11.36 kB / 1.138 GB, free: 25.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/1.24, allocations: 7.953 kB / 1.138 GB, free: 25.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/1.24, allocations: 128 / 1.138 GB, free: 25.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006044/1.241, allocations: 335.9 kB / 1.138 GB, free: 25.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/1.241, allocations: 141.1 kB / 1.139 GB, free: 25.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.624e-05/1.241, allocations: 7.828 kB / 1.139 GB, free: 25.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/1.242, allocations: 11.06 kB / 1.139 GB, free: 25.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.541e-05/1.242, allocations: 11.78 kB / 1.139 GB, free: 25.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/1.242, allocations: 11.75 kB / 1.139 GB, free: 25.21 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009989/1.243, allocations: 0.5592 MB / 1.139 GB, free: 25.03 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.243, allocations: 0 / 1.139 GB, free: 25.03 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007869/1.244, allocations: 149 kB / 1.139 GB, free: 25 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: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.001705/1.245, allocations: 1.097 MB / 1.14 GB, free: 24.24 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003994/1.246, allocations: 205.1 kB / 1.141 GB, free: 24.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/1.246, allocations: 0 / 1.141 GB, free: 24.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001985/1.246, allocations: 144.4 kB / 1.141 GB, free: 24.09 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007678/1.247, allocations: 104 kB / 1.141 GB, free: 24.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006076/1.253, allocations: 3.309 MB / 1.144 GB, free: 22.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007645/1.254, allocations: 0.9717 MB / 1.145 GB, free: 21.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001556/1.254, allocations: 17.12 kB / 1.145 GB, free: 21.79 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/1.254, allocations: 158 kB / 1.145 GB, free: 21.77 MB / 0.698 GB Notification: Performance of SimCode: time 1.152e-06/1.254, allocations: 0 / 1.145 GB, free: 21.77 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04562/1.3, allocations: 12.34 MB / 1.157 GB, free: 14.86 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002952/1.3, allocations: 211.1 kB / 1.157 GB, free: 14.62 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.808/4.108, allocations: 0 / 1.157 GB, free: 14.62 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)