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.SpeedShift.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.SpeedShift,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.649/1.649, allocations: 288.2 MB / 303.2 MB, free: 8.25 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.001089/0.001089, allocations: 177.1 kB / 371.8 MB, free: 10.27 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.521/1.521, allocations: 205.4 MB / 0.6305 GB, free: 9.902 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.0008755/0.0008755, allocations: 86.92 kB / 0.7439 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.0004329, allocations: 13.06 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2216, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6631/0.8847, allocations: 145 MB / 1.121 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.885, allocations: 100.4 kB / 1.121 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03018/0.9152, allocations: 12.93 MB / 1.134 GB, free: 29.01 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.305e-06/0.9153, allocations: 0 / 1.134 GB, free: 29.01 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.061e-05/0.9153, allocations: 11.69 kB / 1.134 GB, free: 29.01 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.001345/0.9167, allocations: 0.8081 MB / 1.135 GB, free: 28.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.9167, allocations: 11.53 kB / 1.135 GB, free: 28.32 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.965e-05/0.9168, allocations: 53.83 kB / 1.135 GB, free: 28.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.851e-05/0.9169, allocations: 58.31 kB / 1.135 GB, free: 28.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.9174, allocations: 347.7 kB / 1.135 GB, free: 27.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.9175, allocations: 7.312 kB / 1.135 GB, free: 27.94 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.9175, allocations: 11.75 kB / 1.135 GB, free: 27.94 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.9177, allocations: 139.3 kB / 1.135 GB, free: 27.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.9178, allocations: 0 / 1.135 GB, free: 27.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.9178, allocations: 3.984 kB / 1.135 GB, free: 27.87 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.9178, allocations: 3.844 kB / 1.135 GB, free: 27.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.918, allocations: 97.69 kB / 1.135 GB, free: 27.86 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008348/0.9188, allocations: 0.5588 MB / 1.136 GB, free: 27.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.919, allocations: 111.7 kB / 1.136 GB, free: 27.44 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.919, allocations: 3.844 kB / 1.136 GB, free: 27.44 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.9192, allocations: 149.5 kB / 1.136 GB, free: 27.33 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.9192, allocations: 4 kB / 1.136 GB, free: 27.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0005312/0.9197, allocations: 415.8 kB / 1.137 GB, free: 27.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.9198, allocations: 80.95 kB / 1.137 GB, free: 27.01 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000707/0.9205, allocations: 0.6775 MB / 1.137 GB, free: 26.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.9206, allocations: 25.7 kB / 1.137 GB, free: 26.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/0.9208, allocations: 278.5 kB / 1.138 GB, free: 26.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.9208, allocations: 19.53 kB / 1.138 GB, free: 26.63 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/0.9208, allocations: 3.844 kB / 1.138 GB, free: 26.63 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.9209, allocations: 313.7 kB / 1.138 GB, free: 26.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.185e-05/0.921, allocations: 57.8 kB / 1.138 GB, free: 26.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.147e-05/0.9211, allocations: 58.34 kB / 1.138 GB, free: 26.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.878e-05/0.9212, allocations: 79.17 kB / 1.138 GB, free: 26.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.9212, allocations: 0 / 1.138 GB, free: 26.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003048/0.9215, allocations: 282.2 kB / 1.138 GB, free: 26.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.563e-05/0.9216, allocations: 37.38 kB / 1.138 GB, free: 26.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.9216, allocations: 3.953 kB / 1.138 GB, free: 26.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.9216, allocations: 3.906 kB / 1.138 GB, free: 26.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/0.9217, allocations: 7.844 kB / 1.138 GB, free: 26.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.9217, allocations: 11.83 kB / 1.138 GB, free: 26.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.9218, allocations: 14.81 kB / 1.138 GB, free: 26.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.9218, allocations: 7.688 kB / 1.138 GB, free: 26.08 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.0003142/0.9222, allocations: 335.1 kB / 1.139 GB, free: 25.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.123e-05/0.9222, allocations: 61.59 kB / 1.139 GB, free: 25.85 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004248/0.9227, allocations: 319.9 kB / 1.139 GB, free: 25.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.9227, allocations: 3.953 kB / 1.139 GB, free: 25.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.9227, allocations: 3.969 kB / 1.139 GB, free: 25.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.9227, allocations: 4 kB / 1.139 GB, free: 25.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.923, allocations: 363.7 kB / 1.139 GB, free: 25.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.923, allocations: 0 / 1.139 GB, free: 25.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.121e-05/0.9231, allocations: 11.48 kB / 1.139 GB, free: 25.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.9231, allocations: 0 / 1.139 GB, free: 25.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.9231, allocations: 10.59 kB / 1.139 GB, free: 25.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.9231, allocations: 0 / 1.139 GB, free: 25.47 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.9231, allocations: 3.953 kB / 1.139 GB, free: 25.47 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/0.9235, allocations: 337.3 kB / 1.14 GB, free: 25.31 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.9236, allocations: 138.4 kB / 1.14 GB, free: 25.18 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.409e-05/0.9237, allocations: 6.344 kB / 1.14 GB, free: 25.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.9238, allocations: 7.891 kB / 1.14 GB, free: 25.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.9239, allocations: 10.86 kB / 1.14 GB, free: 25.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.9239, allocations: 7.625 kB / 1.14 GB, free: 25.17 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005829/0.9245, allocations: 0.5605 MB / 1.14 GB, free: 24.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9245, allocations: 0 / 1.14 GB, free: 24.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005587/0.925, allocations: 154.3 kB / 1.141 GB, free: 24.95 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.001293/0.9263, allocations: 1.103 MB / 1.142 GB, free: 24.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.9266, allocations: 203.8 kB / 1.142 GB, free: 24.11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9266, allocations: 0 / 1.142 GB, free: 24.11 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.9267, allocations: 154.5 kB / 1.142 GB, free: 24.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00044/0.9272, allocations: 97.64 kB / 1.142 GB, free: 23.99 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004139/0.9313, allocations: 3.304 MB / 1.145 GB, free: 22.54 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006613/0.932, allocations: 0.9777 MB / 1.146 GB, free: 21.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001154/0.9322, allocations: 16.92 kB / 1.146 GB, free: 21.74 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.9323, allocations: 155.8 kB / 1.146 GB, free: 21.71 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/0.9323, allocations: 0 / 1.146 GB, free: 21.71 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02648/0.9588, allocations: 12.36 MB / 1.159 GB, free: 13.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/0.959, allocations: 218.6 kB / 1.159 GB, free: 13.45 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.371/3.33, allocations: 0 / 1.159 GB, free: 13.45 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)