Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.642/1.642, allocations: 289.7 MB / 302.2 MB, free: 2.152 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.001156/0.001155, allocations: 180.4 kB / 371.6 MB, free: 3.387 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.626/1.626, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009362/0.0009363, allocations: 89.58 kB / 0.745 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.182e-05/4.184e-05, allocations: 4 kB / 0.8663 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2712, allocations: 116.3 MB / 0.9799 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.877/1.148, allocations: 145.9 MB / 1.122 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/1.148, allocations: 88.41 kB / 1.122 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03007/1.179, allocations: 12.91 MB / 1.135 GB, free: 32.14 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.224e-06/1.179, allocations: 0 / 1.135 GB, free: 32.14 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.334e-05/1.179, allocations: 8 kB / 1.135 GB, free: 32.13 MB / 0.7448 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.000744/1.179, allocations: 0.7138 MB / 1.136 GB, free: 31.44 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/1.179, allocations: 12.03 kB / 1.136 GB, free: 31.43 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.232e-05/1.179, allocations: 38.17 kB / 1.136 GB, free: 31.39 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.297e-05/1.18, allocations: 64.97 kB / 1.136 GB, free: 31.32 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/1.18, allocations: 341.2 kB / 1.136 GB, free: 30.97 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/1.18, allocations: 10.7 kB / 1.136 GB, free: 30.96 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/1.18, allocations: 8 kB / 1.136 GB, free: 30.96 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/1.18, allocations: 127.7 kB / 1.136 GB, free: 30.87 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/1.18, allocations: 3.938 kB / 1.136 GB, free: 30.86 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/1.18, allocations: 7.109 kB / 1.136 GB, free: 30.86 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/1.18, allocations: 8 kB / 1.136 GB, free: 30.86 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/1.181, allocations: 98.92 kB / 1.136 GB, free: 30.8 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00069/1.181, allocations: 0.5426 MB / 1.137 GB, free: 30.37 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/1.181, allocations: 120.9 kB / 1.137 GB, free: 30.29 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.881e-05/1.181, allocations: 69.17 kB / 1.137 GB, free: 30.24 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.505e-05/1.182, allocations: 8 kB / 1.137 GB, free: 30.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/1.182, allocations: 142.9 kB / 1.137 GB, free: 30.11 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.894e-06/1.182, allocations: 0.75 kB / 1.137 GB, free: 30.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0003953/1.182, allocations: 278.3 kB / 1.138 GB, free: 29.88 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/1.182, allocations: 81.11 kB / 1.138 GB, free: 29.79 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006959/1.183, allocations: 0.6719 MB / 1.138 GB, free: 29.33 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/1.183, allocations: 29.7 kB / 1.138 GB, free: 29.3 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/1.183, allocations: 282.2 kB / 1.139 GB, free: 29.17 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/1.183, allocations: 24.98 kB / 1.139 GB, free: 29.15 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-06/1.183, allocations: 0 / 1.139 GB, free: 29.15 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.47e-05/1.183, allocations: 316 kB / 1.139 GB, free: 28.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.635e-05/1.183, allocations: 50.03 kB / 1.139 GB, free: 28.81 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.135e-05/1.183, allocations: 61.75 kB / 1.139 GB, free: 28.77 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.159e-05/1.183, allocations: 85.95 kB / 1.139 GB, free: 28.7 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.183, allocations: 0 / 1.139 GB, free: 28.7 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00036/1.184, allocations: 275.7 kB / 1.139 GB, free: 28.48 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.514e-05/1.184, allocations: 40.09 kB / 1.139 GB, free: 28.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/1.184, allocations: 3.938 kB / 1.139 GB, free: 28.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/1.184, allocations: 0 / 1.139 GB, free: 28.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.14e-05/1.184, allocations: 9.266 kB / 1.139 GB, free: 28.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/1.184, allocations: 0.7969 kB / 1.139 GB, free: 28.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/1.184, allocations: 20.7 kB / 1.139 GB, free: 28.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/1.184, allocations: 4 kB / 1.139 GB, free: 28.41 MB / 0.7448 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 () * 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 8.124e-05/1.184, allocations: 147.9 kB / 1.14 GB, free: 28.26 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.874e-05/1.184, allocations: 63.25 kB / 1.14 GB, free: 28.2 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004511/1.185, allocations: 320.5 kB / 1.14 GB, free: 27.96 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/1.185, allocations: 4 kB / 1.14 GB, free: 27.95 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.185, allocations: 0 / 1.14 GB, free: 27.95 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/1.185, allocations: 0.6094 kB / 1.14 GB, free: 27.95 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/1.185, allocations: 370.2 kB / 1.14 GB, free: 27.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.185, allocations: 5.969 kB / 1.14 GB, free: 27.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.74e-05/1.185, allocations: 4.609 kB / 1.14 GB, free: 27.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/1.185, allocations: 0.6562 kB / 1.14 GB, free: 27.66 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/1.185, allocations: 8.5 kB / 1.14 GB, free: 27.65 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/1.185, allocations: 4.469 kB / 1.14 GB, free: 27.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/1.185, allocations: 0 / 1.14 GB, free: 27.64 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/1.186, allocations: 330.5 kB / 1.141 GB, free: 27.37 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/1.186, allocations: 145.2 kB / 1.141 GB, free: 27.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.239e-05/1.186, allocations: 8.562 kB / 1.141 GB, free: 27.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/1.186, allocations: 9.547 kB / 1.141 GB, free: 27.2 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/1.186, allocations: 13.09 kB / 1.141 GB, free: 27.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/1.186, allocations: 9.125 kB / 1.141 GB, free: 27.19 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006367/1.187, allocations: 0.5556 MB / 1.141 GB, free: 26.84 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.187, allocations: 1.219 kB / 1.141 GB, free: 26.84 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005696/1.187, allocations: 149.8 kB / 1.142 GB, free: 26.7 MB / 0.7448 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) * 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.001095/1.188, allocations: 1.084 MB / 1.143 GB, free: 25.68 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002709/1.189, allocations: 209.7 kB / 1.143 GB, free: 25.52 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/1.189, allocations: 0 / 1.143 GB, free: 25.52 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/1.189, allocations: 146.8 kB / 1.143 GB, free: 25.4 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/1.189, allocations: 105.2 kB / 1.143 GB, free: 25.34 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/1.191, allocations: 1.002 MB / 1.144 GB, free: 24.59 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/1.192, allocations: 0.9825 MB / 1.145 GB, free: 23.73 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001013/1.192, allocations: 16.7 kB / 1.145 GB, free: 23.71 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/1.192, allocations: 153.8 kB / 1.145 GB, free: 23.7 MB / 0.7448 GB Notification: Performance of SimCode: time 8.32e-07/1.192, allocations: 0 / 1.145 GB, free: 23.7 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/1.221, allocations: 12.61 MB / 1.157 GB, free: 16.35 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001557/1.221, allocations: 172.1 kB / 1.158 GB, free: 16.12 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/3.711, allocations: 0 / 1.158 GB, free: 16.12 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)