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: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.67/1.67, allocations: 285.4 MB / 298 MB, free: 5.938 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.001059/0.001059, allocations: 184.8 kB / 366.4 MB, free: 2.102 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.687/1.687, allocations: 205.1 MB / 0.6248 GB, free: 7.75 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.000944/0.0009442, allocations: 90.88 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.54e-05/3.543e-05, allocations: 4 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.797/0.797, allocations: 115.3 MB / 0.9709 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2205/1.018, allocations: 144.9 MB / 1.112 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/1.018, allocations: 97.67 kB / 1.113 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03522/1.053, allocations: 12.9 MB / 1.125 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.933e-06/1.053, allocations: 0 / 1.125 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.507e-05/1.053, allocations: 8 kB / 1.125 GB, free: 9.922 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.00139/1.055, allocations: 0.7092 MB / 1.126 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/1.055, allocations: 12.03 kB / 1.126 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002076/1.055, allocations: 59.25 kB / 1.126 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007034/1.056, allocations: 343.8 kB / 1.126 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/1.056, allocations: 4 kB / 1.126 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/1.056, allocations: 15.94 kB / 1.126 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/1.056, allocations: 130.2 kB / 1.126 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/1.056, allocations: 0 / 1.126 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/1.056, allocations: 0 / 1.126 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/1.056, allocations: 10.91 kB / 1.126 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/1.056, allocations: 100.1 kB / 1.126 GB, free: 8.449 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/1.057, allocations: 0.5515 MB / 1.127 GB, free: 7.848 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/1.058, allocations: 118.5 kB / 1.127 GB, free: 7.723 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/1.058, allocations: 68.94 kB / 1.127 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.169e-05/1.058, allocations: 4 kB / 1.127 GB, free: 7.648 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002345/1.058, allocations: 148.9 kB / 1.127 GB, free: 7.484 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.703e-06/1.058, allocations: 0 / 1.127 GB, free: 7.484 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.000569/1.059, allocations: 270.7 kB / 1.128 GB, free: 7.207 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.159e-05/1.059, allocations: 81.11 kB / 1.128 GB, free: 7.109 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009842/1.06, allocations: 0.6793 MB / 1.128 GB, free: 6.426 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/1.06, allocations: 29.64 kB / 1.128 GB, free: 6.391 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/1.06, allocations: 280.2 kB / 1.129 GB, free: 6.109 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/1.06, allocations: 19.72 kB / 1.129 GB, free: 6.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-06/1.06, allocations: 0 / 1.129 GB, free: 6.09 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001237/1.06, allocations: 310 kB / 1.129 GB, free: 5.781 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-05/1.06, allocations: 55.97 kB / 1.129 GB, free: 5.727 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.708e-05/1.06, allocations: 55.95 kB / 1.129 GB, free: 5.672 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/1.061, allocations: 87.98 kB / 1.129 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.061, allocations: 0 / 1.129 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004079/1.061, allocations: 274.6 kB / 1.129 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.049e-05/1.061, allocations: 45.62 kB / 1.129 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.061, allocations: 6.453 kB / 1.129 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/1.061, allocations: 0 / 1.129 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.791e-05/1.061, allocations: 11.94 kB / 1.129 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/1.061, allocations: 0 / 1.129 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/1.061, allocations: 15.84 kB / 1.129 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/1.061, allocations: 11.98 kB / 1.129 GB, free: 5.207 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 () * 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.000127/1.062, allocations: 140.2 kB / 1.13 GB, free: 5.059 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.9e-05/1.062, allocations: 63.25 kB / 1.13 GB, free: 4.996 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005091/1.062, allocations: 318.9 kB / 1.13 GB, free: 4.672 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/1.062, allocations: 7.953 kB / 1.13 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.062, allocations: 0 / 1.13 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.062, allocations: 0 / 1.13 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004514/1.063, allocations: 365.5 kB / 1.13 GB, free: 4.258 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.063, allocations: 0 / 1.13 GB, free: 4.258 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.758e-05/1.063, allocations: 11.94 kB / 1.13 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/1.063, allocations: 7.938 kB / 1.13 GB, free: 4.238 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/1.063, allocations: 7.984 kB / 1.13 GB, free: 4.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/1.063, allocations: 4 kB / 1.13 GB, free: 4.227 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.063, allocations: 3.953 kB / 1.13 GB, free: 4.223 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000462/1.063, allocations: 320.3 kB / 1.131 GB, free: 3.887 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001969/1.064, allocations: 148.3 kB / 1.131 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.163e-05/1.064, allocations: 1.125 kB / 1.131 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/1.064, allocations: 16 kB / 1.131 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/1.064, allocations: 11.94 kB / 1.131 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/1.064, allocations: 4 kB / 1.131 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007464/1.065, allocations: 0.5537 MB / 1.131 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.61e-07/1.065, allocations: 1.688 kB / 1.131 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006979/1.065, allocations: 155.8 kB / 1.132 GB, free: 2.992 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) * 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.0009819/1.066, allocations: 352.1 kB / 1.132 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003361/1.067, allocations: 205.4 kB / 1.132 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.067, allocations: 0 / 1.132 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/1.067, allocations: 143.3 kB / 1.132 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000536/1.067, allocations: 99.25 kB / 1.132 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/1.069, allocations: 0.7978 MB / 1.133 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006114/1.069, allocations: 0.9774 MB / 1.134 GB, free: 368 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.623e-05/1.069, allocations: 17.56 kB / 1.134 GB, free: 348 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/1.07, allocations: 19.42 kB / 1.134 GB, free: 328 kB / 0.7292 GB Notification: Performance of SimCode: time 4.21e-07/1.07, allocations: 0 / 1.134 GB, free: 328 kB / 0.7292 GB Notification: Performance of Templates: time 0.01405/1.084, allocations: 6.502 MB / 1.14 GB, free: 9.941 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)