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.715/1.715, allocations: 288.4 MB / 304.3 MB, free: 8.188 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.0009637/0.0009637, allocations: 177.7 kB / 372.9 MB, free: 10.12 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.696/1.696, allocations: 205.4 MB / 0.6317 GB, free: 9.848 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.0008224/0.0008224, allocations: 96.06 kB / 0.745 GB, free: 5.754 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003762, allocations: 17.91 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2168, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6481/0.8649, allocations: 145 MB / 1.122 GB, free: 16.61 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.8652, allocations: 97.23 kB / 1.122 GB, free: 16.61 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02857/0.8938, allocations: 12.97 MB / 1.135 GB, free: 29.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8939, allocations: 3.906 kB / 1.135 GB, free: 29.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.059e-05/0.8939, allocations: 3.969 kB / 1.135 GB, free: 29.2 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.0008248/0.8947, allocations: 0.8022 MB / 1.136 GB, free: 28.51 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.8948, allocations: 11.44 kB / 1.136 GB, free: 28.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.075e-05/0.8948, allocations: 66.5 kB / 1.136 GB, free: 28.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.8952, allocations: 375.5 kB / 1.136 GB, free: 28.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.8952, allocations: 4.281 kB / 1.136 GB, free: 28.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.8953, allocations: 11.5 kB / 1.136 GB, free: 28.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.8955, allocations: 140.7 kB / 1.136 GB, free: 28.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.8955, allocations: 0 / 1.136 GB, free: 28.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.8955, allocations: 3.875 kB / 1.136 GB, free: 28.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.8955, allocations: 3.906 kB / 1.136 GB, free: 28.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.8957, allocations: 99.67 kB / 1.137 GB, free: 28.08 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006464/0.8963, allocations: 0.554 MB / 1.137 GB, free: 27.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.8965, allocations: 115.1 kB / 1.137 GB, free: 27.66 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.534e-05/0.8966, allocations: 69.16 kB / 1.137 GB, free: 27.65 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.032e-05/0.8966, allocations: 7.859 kB / 1.137 GB, free: 27.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.8968, allocations: 152 kB / 1.137 GB, free: 27.53 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.8968, allocations: 0 / 1.137 GB, free: 27.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0004454/0.8973, allocations: 341.2 kB / 1.138 GB, free: 27.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.8973, allocations: 84.14 kB / 1.138 GB, free: 27.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006521/0.898, allocations: 0.7504 MB / 1.139 GB, free: 27.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.898, allocations: 29.69 kB / 1.139 GB, free: 27.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.8982, allocations: 277.6 kB / 1.139 GB, free: 26.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.8982, allocations: 26.48 kB / 1.139 GB, free: 26.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-06/0.8983, allocations: 7.125 kB / 1.139 GB, free: 26.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.8984, allocations: 309.7 kB / 1.139 GB, free: 26.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.172e-05/0.8984, allocations: 57.34 kB / 1.139 GB, free: 26.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.165e-05/0.8985, allocations: 58.77 kB / 1.139 GB, free: 26.56 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.8987, allocations: 163.9 kB / 1.139 GB, free: 26.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8987, allocations: 0 / 1.139 GB, free: 26.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002733/0.899, allocations: 284.5 kB / 1.14 GB, free: 26.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.041e-05/0.899, allocations: 41.12 kB / 1.14 GB, free: 26.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.899, allocations: 0 / 1.14 GB, free: 26.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.899, allocations: 4 kB / 1.14 GB, free: 26.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.739e-05/0.8991, allocations: 7.562 kB / 1.14 GB, free: 26.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.8991, allocations: 3.844 kB / 1.14 GB, free: 26.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.8992, allocations: 15.55 kB / 1.14 GB, free: 26.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.8993, allocations: 10.62 kB / 1.14 GB, free: 26.3 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.0002712/0.8995, allocations: 334.3 kB / 1.14 GB, free: 26.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.8996, allocations: 65.59 kB / 1.14 GB, free: 26.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000384/0.9, allocations: 327.9 kB / 1.141 GB, free: 25.95 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.9, allocations: 4 kB / 1.141 GB, free: 25.95 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.9, allocations: 3.781 kB / 1.141 GB, free: 25.95 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.9, allocations: 3.984 kB / 1.141 GB, free: 25.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.9003, allocations: 375.6 kB / 1.141 GB, free: 25.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.9003, allocations: 0 / 1.141 GB, free: 25.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-05/0.9003, allocations: 3.844 kB / 1.141 GB, free: 25.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.9003, allocations: 7.781 kB / 1.141 GB, free: 25.69 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.9004, allocations: 3.984 kB / 1.141 GB, free: 25.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.9004, allocations: 3.844 kB / 1.141 GB, free: 25.69 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.9004, allocations: 0 / 1.141 GB, free: 25.69 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.9007, allocations: 336 kB / 1.141 GB, free: 25.53 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.9008, allocations: 150 kB / 1.141 GB, free: 25.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.989e-05/0.9009, allocations: 3.844 kB / 1.141 GB, free: 25.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.375e-05/0.901, allocations: 3.844 kB / 1.141 GB, free: 25.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.901, allocations: 7.828 kB / 1.141 GB, free: 25.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.9011, allocations: 10.94 kB / 1.141 GB, free: 25.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004687/0.9015, allocations: 0.5567 MB / 1.142 GB, free: 25.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9015, allocations: 4 kB / 1.142 GB, free: 25.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004572/0.902, allocations: 154.3 kB / 1.142 GB, free: 25.16 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.0004968/0.9025, allocations: 360.5 kB / 1.142 GB, free: 24.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.9027, allocations: 205.4 kB / 1.143 GB, free: 24.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9028, allocations: 3.938 kB / 1.143 GB, free: 24.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.9029, allocations: 144.2 kB / 1.143 GB, free: 24.82 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.9033, allocations: 101.5 kB / 1.143 GB, free: 24.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.9044, allocations: 1.096 MB / 1.144 GB, free: 24.23 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/0.9049, allocations: 0.9723 MB / 1.145 GB, free: 23.44 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.98e-05/0.905, allocations: 17.06 kB / 1.145 GB, free: 23.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.905, allocations: 18.28 kB / 1.145 GB, free: 23.43 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.905, allocations: 0 / 1.145 GB, free: 23.43 MB / 0.698 GB Notification: Performance of Templates: time 0.009563/0.9146, allocations: 6.335 MB / 1.151 GB, free: 20.29 MB / 0.698 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)