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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.795/1.795, allocations: 293 MB / 309 MB, free: 4.828 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.001285/0.001285, allocations: 187.8 kB / 378.7 MB, free: 1.027 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.779/1.779, allocations: 205.4 MB / 0.6383 GB, free: 8.25 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.0008634/0.0008634, allocations: 90.17 kB / 0.7527 GB, free: 62.8 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004549/0.0004553, allocations: 16 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2888, allocations: 116.4 MB / 0.9905 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7777/1.067, allocations: 146.1 MB / 1.133 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/1.067, allocations: 99.28 kB / 1.133 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03439/1.101, allocations: 12.97 MB / 1.146 GB, free: 20.11 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.314e-06/1.101, allocations: 0 / 1.146 GB, free: 20.11 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.237e-05/1.101, allocations: 12 kB / 1.146 GB, free: 20.09 MB / 0.7292 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.001146/1.102, allocations: 0.8031 MB / 1.147 GB, free: 19.27 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/1.103, allocations: 8.031 kB / 1.147 GB, free: 19.26 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/1.103, allocations: 64.75 kB / 1.147 GB, free: 19.2 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004703/1.103, allocations: 375.5 kB / 1.147 GB, free: 18.82 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.522e-05/1.103, allocations: 4.984 kB / 1.147 GB, free: 18.81 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/1.103, allocations: 16.38 kB / 1.147 GB, free: 18.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/1.104, allocations: 139.1 kB / 1.147 GB, free: 18.68 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/1.104, allocations: 0 / 1.147 GB, free: 18.68 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/1.104, allocations: 1.219 kB / 1.147 GB, free: 18.68 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/1.104, allocations: 4 kB / 1.147 GB, free: 18.68 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/1.104, allocations: 102.4 kB / 1.147 GB, free: 18.59 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008717/1.105, allocations: 0.5569 MB / 1.148 GB, free: 18.07 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/1.105, allocations: 115.7 kB / 1.148 GB, free: 17.96 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.07e-05/1.105, allocations: 69.84 kB / 1.148 GB, free: 17.9 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.276e-05/1.105, allocations: 10.86 kB / 1.148 GB, free: 17.89 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/1.105, allocations: 144.7 kB / 1.148 GB, free: 17.75 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/1.105, allocations: 0 / 1.148 GB, free: 17.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0004917/1.106, allocations: 335.7 kB / 1.149 GB, free: 17.45 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/1.106, allocations: 85.77 kB / 1.149 GB, free: 17.34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009382/1.107, allocations: 0.7523 MB / 1.149 GB, free: 16.71 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/1.107, allocations: 25.7 kB / 1.149 GB, free: 16.68 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/1.107, allocations: 278.8 kB / 1.15 GB, free: 16.41 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/1.107, allocations: 25.39 kB / 1.15 GB, free: 16.39 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-06/1.107, allocations: 8 kB / 1.15 GB, free: 16.38 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.008e-05/1.107, allocations: 308.7 kB / 1.15 GB, free: 16.08 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.867e-05/1.107, allocations: 56.91 kB / 1.15 GB, free: 16.03 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.406e-05/1.107, allocations: 54.31 kB / 1.15 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/1.107, allocations: 168.3 kB / 1.15 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.107, allocations: 0 / 1.15 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003267/1.108, allocations: 281.8 kB / 1.15 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/1.108, allocations: 39.94 kB / 1.151 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/1.108, allocations: 0 / 1.151 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/1.108, allocations: 4 kB / 1.151 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.255e-05/1.108, allocations: 10.98 kB / 1.151 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/1.108, allocations: 1.875 kB / 1.151 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/1.108, allocations: 29.41 kB / 1.151 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/1.108, allocations: 4.656 kB / 1.151 GB, free: 15.47 MB / 0.7292 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.0003213/1.108, allocations: 330 kB / 1.151 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.398e-05/1.108, allocations: 67.19 kB / 1.151 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004209/1.109, allocations: 326.5 kB / 1.151 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/1.109, allocations: 5.594 kB / 1.151 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.109, allocations: 0 / 1.151 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.109, allocations: 0 / 1.151 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003769/1.109, allocations: 374.4 kB / 1.152 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/1.109, allocations: 0 / 1.152 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.963e-05/1.109, allocations: 5.406 kB / 1.152 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/1.109, allocations: 3.938 kB / 1.152 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/1.109, allocations: 4.703 kB / 1.152 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/1.109, allocations: 0.8125 kB / 1.152 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.109, allocations: 5.594 kB / 1.152 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003684/1.11, allocations: 341 kB / 1.152 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/1.11, allocations: 146.1 kB / 1.152 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.173e-05/1.11, allocations: 4 kB / 1.152 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.576e-05/1.11, allocations: 9.453 kB / 1.152 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/1.11, allocations: 8 kB / 1.152 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/1.11, allocations: 9.406 kB / 1.152 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006539/1.111, allocations: 0.5572 MB / 1.153 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/1.111, allocations: 4 kB / 1.153 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006498/1.111, allocations: 164 kB / 1.153 GB, free: 13.31 MB / 0.7292 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.0008128/1.112, allocations: 351.1 kB / 1.153 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002485/1.112, allocations: 200.5 kB / 1.153 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.112, allocations: 3.938 kB / 1.153 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/1.113, allocations: 147.7 kB / 1.154 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005348/1.113, allocations: 100.3 kB / 1.154 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/1.115, allocations: 1.098 MB / 1.155 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/1.115, allocations: 0.968 MB / 1.156 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001243/1.115, allocations: 25.16 kB / 1.156 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/1.115, allocations: 15.44 kB / 1.156 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of SimCode: time 3.01e-07/1.115, allocations: 0 / 1.156 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of Templates: time 0.01248/1.128, allocations: 6.3 MB / 1.162 GB, free: 5.801 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (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 & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)