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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 102.4 kB / 16.29 MB, free: 6.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 190.1 kB / 17.22 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.866/1.866, allocations: 292.3 MB / 0.5495 GB, free: 17.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 67.89 kB / 0.6722 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2147, allocations: 114.6 MB / 0.7841 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.00312/0.2178, allocations: 1.98 MB / 0.786 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.346/0.5639, allocations: 2.534 MB / 0.7885 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.564, allocations: 5.844 kB / 0.7885 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.5651, allocations: 479.1 kB / 0.789 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.176e-05/0.5652, allocations: 58.25 kB / 0.789 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007325/0.566, allocations: 279.3 kB / 0.7893 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003076/0.5663, allocations: 313.1 kB / 0.7896 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.5665, allocations: 91.02 kB / 0.7897 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.689e-05/0.5665, allocations: 96.84 kB / 0.7898 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.5667, allocations: 127.7 kB / 0.7899 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.5667, allocations: 7.875 kB / 0.7899 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004042/0.5672, allocations: 319.5 kB / 0.7902 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.516e-05/0.5672, allocations: 96.25 kB / 0.7903 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.5674, allocations: 206.3 kB / 0.7905 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005665/0.568, allocations: 0.7852 MB / 0.7913 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.568, allocations: 5.75 kB / 0.7913 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.533e-06/0.568, allocations: 0 / 0.7913 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.568, allocations: 0 / 0.7913 GB, free: 45.72 MB / 0.6544 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.0007297/0.5687, allocations: 0.8338 MB / 0.7921 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.5688, allocations: 12.22 kB / 0.7921 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.5688, allocations: 61.28 kB / 0.7921 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.5691, allocations: 361.9 kB / 0.7925 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.5691, allocations: 12.38 kB / 0.7925 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.5691, allocations: 5.281 kB / 0.7925 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.5693, allocations: 132.3 kB / 0.7926 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.5694, allocations: 8.906 kB / 0.7926 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.5694, allocations: 0 / 0.7926 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.5694, allocations: 3.5 kB / 0.7926 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.5695, allocations: 97.52 kB / 0.7927 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005509/0.5701, allocations: 0.5368 MB / 0.7933 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.5702, allocations: 111.8 kB / 0.7934 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.914e-05/0.5703, allocations: 62 kB / 0.7934 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/0.5704, allocations: 11.62 kB / 0.7934 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002136/0.5706, allocations: 135.7 kB / 0.7936 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.5706, allocations: 2.906 kB / 0.7936 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0003789/0.571, allocations: 299 kB / 0.7939 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.571, allocations: 85.98 kB / 0.7939 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006845/0.5717, allocations: 0.7607 MB / 0.7947 GB, free: 44 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.5717, allocations: 29.33 kB / 0.7947 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.5719, allocations: 271.9 kB / 0.795 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.5719, allocations: 34.61 kB / 0.795 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.572, allocations: 28.91 kB / 0.795 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.142e-05/0.572, allocations: 309.1 kB / 0.7953 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.822e-05/0.5721, allocations: 48.39 kB / 0.7954 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.944e-05/0.5722, allocations: 48.28 kB / 0.7954 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.5723, allocations: 154.8 kB / 0.7956 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5723, allocations: 3.406 kB / 0.7956 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002459/0.5726, allocations: 266.1 kB / 0.7958 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.5726, allocations: 36.98 kB / 0.7959 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.5726, allocations: 6.375 kB / 0.7959 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.5727, allocations: 0 / 0.7959 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.59e-05/0.5727, allocations: 13.69 kB / 0.7959 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.5727, allocations: 0 / 0.7959 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.5729, allocations: 10.91 kB / 0.7959 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.5729, allocations: 3.375 kB / 0.7959 GB, free: 43.34 MB / 0.6544 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 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002217/0.5731, allocations: 332.9 kB / 0.7962 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/0.5732, allocations: 68.31 kB / 0.7963 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003562/0.5735, allocations: 290.8 kB / 0.7965 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.5736, allocations: 2.906 kB / 0.7965 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.5736, allocations: 0 / 0.7965 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.5736, allocations: 0 / 0.7965 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.5738, allocations: 380.6 kB / 0.7969 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5739, allocations: 0 / 0.7969 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.564e-05/0.5739, allocations: 9.656 kB / 0.7969 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.5739, allocations: 0 / 0.7969 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.5739, allocations: 7.609 kB / 0.7969 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.5739, allocations: 2.906 kB / 0.7969 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5739, allocations: 2.875 kB / 0.7969 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.5742, allocations: 309.8 kB / 0.7972 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.244e-05/0.5743, allocations: 140.6 kB / 0.7974 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.061e-05/0.5744, allocations: 4.969 kB / 0.7974 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.494e-05/0.5745, allocations: 5.922 kB / 0.7974 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.5746, allocations: 8.812 kB / 0.7974 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.5746, allocations: 6 kB / 0.7974 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005159/0.5751, allocations: 0.5614 MB / 0.7979 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.52e-07/0.5751, allocations: 4 kB / 0.7979 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003716/0.5755, allocations: 127 kB / 0.7981 GB, free: 42.51 MB / 0.6544 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,greaterThreshold.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000311/0.5758, allocations: 186.9 kB / 0.7982 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002581/0.5761, allocations: 209 kB / 0.7984 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5761, allocations: 0 / 0.7984 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.5762, allocations: 148.6 kB / 0.7986 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.5766, allocations: 109.2 kB / 0.7987 GB, free: 42.28 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.5779, allocations: 1.022 MB / 0.7997 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/0.5784, allocations: 0.9654 MB / 0.8006 GB, free: 41.21 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.655e-05/0.5785, allocations: 19.42 kB / 0.8006 GB, free: 41.21 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.5786, allocations: 14.91 kB / 0.8007 GB, free: 41.21 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.5786, allocations: 0 / 0.8007 GB, free: 41.21 MB / 0.6544 GB Notification: Performance of Templates: time 0.01159/0.5902, allocations: 5.167 MB / 0.8057 GB, free: 41.01 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)