Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.472/2.472, allocations: 287.9 MB / 302.9 MB, free: 8.277 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001413/0.001412, allocations: 185.1 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.979/1.979, allocations: 205.4 MB / 0.6301 GB, free: 10.36 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 86.42 kB / 0.7434 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004689/0.0004692, allocations: 17.75 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1541, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002088/0.1562, allocations: 1.632 MB / 0.9804 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003005/0.1592, allocations: 2.204 MB / 0.9825 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.1594, allocations: 0 / 0.9825 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.1608, allocations: 0.4946 MB / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.161, allocations: 51.91 kB / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007987/0.1618, allocations: 198.4 kB / 0.9832 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003792/0.1622, allocations: 259.4 kB / 0.9835 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.1624, allocations: 80.98 kB / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.1625, allocations: 91.53 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.1627, allocations: 127.4 kB / 0.9838 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.1627, allocations: 7.938 kB / 0.9838 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005087/0.1632, allocations: 263.6 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.185e-05/0.1634, allocations: 83.67 kB / 0.9841 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.825e-05/0.1635, allocations: 125.4 kB / 0.9842 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005782/0.164, allocations: 0.5963 MB / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1641, allocations: 0 / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.943e-06/0.1641, allocations: 0 / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.224e-06/0.1641, allocations: 0 / 0.9848 GB, free: 21.96 MB / 0.6198 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.0009241/0.165, allocations: 0.7791 MB / 0.9856 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1651, allocations: 8.031 kB / 0.9856 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.637e-05/0.1652, allocations: 63.2 kB / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.1655, allocations: 331.8 kB / 0.986 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.1656, allocations: 4 kB / 0.986 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.1656, allocations: 12 kB / 0.986 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.1659, allocations: 126.1 kB / 0.9861 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.96e-06/0.1659, allocations: 0 / 0.9861 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.1659, allocations: 4 kB / 0.9861 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.958e-06/0.1659, allocations: 8 kB / 0.9861 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.1661, allocations: 100.1 kB / 0.9862 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007967/0.1669, allocations: 0.5397 MB / 0.9867 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.1671, allocations: 102.6 kB / 0.9868 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.238e-05/0.1672, allocations: 12.03 kB / 0.9868 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/0.1674, allocations: 125.1 kB / 0.987 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.878e-06/0.1674, allocations: 0 / 0.987 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0005499/0.168, allocations: 391.5 kB / 0.9873 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.1681, allocations: 85.11 kB / 0.9874 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009798/0.169, allocations: 0.7503 MB / 0.9881 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.1691, allocations: 29.7 kB / 0.9882 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/0.1693, allocations: 284.1 kB / 0.9884 GB, free: 18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.1694, allocations: 23.72 kB / 0.9885 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.321e-06/0.1694, allocations: 0 / 0.9885 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.062e-05/0.1695, allocations: 310 kB / 0.9888 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.751e-05/0.1696, allocations: 43.98 kB / 0.9888 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.706e-05/0.1697, allocations: 47.97 kB / 0.9888 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.1698, allocations: 69.69 kB / 0.9889 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.673e-06/0.1698, allocations: 0 / 0.9889 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003863/0.1702, allocations: 270.4 kB / 0.9892 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/0.1702, allocations: 37.69 kB / 0.9892 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.899e-06/0.1703, allocations: 4 kB / 0.9892 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1703, allocations: 0 / 0.9892 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.205e-05/0.1704, allocations: 16.06 kB / 0.9892 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.802e-06/0.1704, allocations: 0 / 0.9892 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.1706, allocations: 23.77 kB / 0.9893 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.1706, allocations: 4 kB / 0.9893 GB, free: 17.14 MB / 0.6198 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,greaterThreshold.y,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.0003491/0.171, allocations: 327.9 kB / 0.9896 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.439e-05/0.1711, allocations: 63.3 kB / 0.9896 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004818/0.1715, allocations: 308.5 kB / 0.9899 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1716, allocations: 0 / 0.9899 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.434e-06/0.1716, allocations: 0 / 0.9899 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.186e-06/0.1716, allocations: 0 / 0.9899 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.172, allocations: 365.5 kB / 0.9903 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.117e-06/0.172, allocations: 0 / 0.9903 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.621e-05/0.1721, allocations: 11.98 kB / 0.9903 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.1721, allocations: 3.953 kB / 0.9903 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.1721, allocations: 7.984 kB / 0.9903 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.616e-06/0.1721, allocations: 0 / 0.9903 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.716e-06/0.1721, allocations: 0 / 0.9903 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004104/0.1725, allocations: 310.3 kB / 0.9906 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.1727, allocations: 144.3 kB / 0.9907 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.958e-05/0.1728, allocations: 7.953 kB / 0.9907 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.173, allocations: 15.92 kB / 0.9907 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.173, allocations: 4 kB / 0.9908 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.173, allocations: 7.984 kB / 0.9908 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007404/0.1738, allocations: 0.5614 MB / 0.9913 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.32e-07/0.1738, allocations: 0 / 0.9913 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004706/0.1743, allocations: 116 kB / 0.9914 GB, free: 14.79 MB / 0.6198 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 (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.0003726/0.1747, allocations: 199.1 kB / 0.9916 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003211/0.175, allocations: 207.3 kB / 0.9918 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.043e-06/0.175, allocations: 0 / 0.9918 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.1752, allocations: 139.4 kB / 0.9919 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005197/0.1757, allocations: 102.9 kB / 0.992 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.1773, allocations: 1.098 MB / 0.9931 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/0.1778, allocations: 0.9819 MB / 0.9941 GB, free: 12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001004/0.1779, allocations: 25.48 kB / 0.9941 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.178, allocations: 15.44 kB / 0.9941 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of SimCode: time 1.643e-06/0.178, allocations: 0 / 0.9941 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of Templates: time 0.01233/0.1903, allocations: 4.842 MB / 0.9988 GB, free: 7.188 MB / 0.6198 GB