Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.569/2.569, allocations: 287.9 MB / 302.9 MB, free: 8.281 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.001406/0.001405, allocations: 182.7 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 2.115/2.115, allocations: 205.4 MB / 0.6301 GB, free: 10.39 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.001764/0.001764, allocations: 92.38 kB / 0.7434 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000617/0.0006172, allocations: 16.38 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.156, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.001942/0.158, allocations: 1.629 MB / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002163/0.1602, allocations: 1.479 MB / 0.9818 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.348e-05/0.1604, allocations: 4 kB / 0.9818 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.473e-05/0.1604, allocations: 19.84 kB / 0.9818 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.1605, allocations: 55.86 kB / 0.9819 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009195/0.1615, allocations: 268.8 kB / 0.9821 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.1617, allocations: 147.7 kB / 0.9823 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1618, allocations: 41.73 kB / 0.9823 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.866e-05/0.1619, allocations: 67.83 kB / 0.9824 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.1621, allocations: 83.67 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.1621, allocations: 12 kB / 0.9825 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008016/0.1629, allocations: 387.5 kB / 0.9828 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.776e-05/0.163, allocations: 39.89 kB / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.31e-05/0.163, allocations: 49.64 kB / 0.9829 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004892/0.1635, allocations: 319.5 kB / 0.9832 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.63e-06/0.1635, allocations: 0 / 0.9832 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.292e-06/0.1636, allocations: 0 / 0.9832 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.639e-06/0.1636, allocations: 0 / 0.9832 GB, free: 23.58 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007406/0.1643, allocations: 0.4989 MB / 0.9837 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1644, allocations: 8.031 kB / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.1655, allocations: 143.7 kB / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.1656, allocations: 182.8 kB / 0.984 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.216e-05/0.1657, allocations: 49.7 kB / 0.9841 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.1658, allocations: 15.94 kB / 0.9841 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006604/0.1665, allocations: 217.3 kB / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1665, allocations: 0 / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.1665, allocations: 8 kB / 0.9843 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.52e-06/0.1666, allocations: 4 kB / 0.9843 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008528/0.1674, allocations: 239.6 kB / 0.9845 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.169, allocations: 0.9587 MB / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005708/0.1696, allocations: 190.6 kB / 0.9857 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/0.1707, allocations: 0.5181 MB / 0.9862 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.1707, allocations: 38.56 kB / 0.9862 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 6.148e-06/0.1708, allocations: 0 / 0.9862 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.002911/0.1737, allocations: 335.5 kB / 0.9865 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.1738, allocations: 63.36 kB / 0.9866 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.1741, allocations: 151.9 kB / 0.9867 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.209e-05/0.1742, allocations: 29.7 kB / 0.9867 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.1743, allocations: 120.1 kB / 0.9869 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.1745, allocations: 63.19 kB / 0.9869 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.1745, allocations: 4 kB / 0.9869 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1747, allocations: 322.8 kB / 0.9872 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009034/0.1756, allocations: 104.3 kB / 0.9873 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009228/0.1765, allocations: 120.3 kB / 0.9875 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008633/0.1774, allocations: 97.45 kB / 0.9875 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.628e-06/0.1775, allocations: 0 / 0.9875 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001923/0.1794, allocations: 277.7 kB / 0.9878 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.1795, allocations: 8 kB / 0.9878 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.1795, allocations: 0 / 0.9878 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.1795, allocations: 0 / 0.9878 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008111/0.1804, allocations: 51.89 kB / 0.9879 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.1804, allocations: 4 kB / 0.9879 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006357/0.1811, allocations: 43.67 kB / 0.9879 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.448e-05/0.1811, allocations: 8 kB / 0.9879 GB, free: 18.36 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.com.isOn,com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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.0002221/0.1814, allocations: 121.8 kB / 0.988 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.1815, allocations: 11.91 kB / 0.988 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/0.1835, allocations: 277.2 kB / 0.9883 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.438e-06/0.1835, allocations: 4 kB / 0.9883 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.1835, allocations: 3.938 kB / 0.9883 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.1836, allocations: 7.938 kB / 0.9883 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003729/0.1873, allocations: 1.077 MB / 0.9894 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.1874, allocations: 4 kB / 0.9894 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007002/0.1881, allocations: 51.91 kB / 0.9894 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.1881, allocations: 0 / 0.9894 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.928e-05/0.1882, allocations: 11.95 kB / 0.9894 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.266e-06/0.1882, allocations: 0 / 0.9894 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.549e-06/0.1882, allocations: 3.984 kB / 0.9894 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.19, allocations: 372.4 kB / 0.9898 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-05/0.1901, allocations: 100.8 kB / 0.9899 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.965e-05/0.1902, allocations: 0 / 0.9899 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000748/0.191, allocations: 31.97 kB / 0.9899 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.066e-05/0.1911, allocations: 7.984 kB / 0.9899 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.197e-05/0.1911, allocations: 11.98 kB / 0.9899 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001659/0.1913, allocations: 122.2 kB / 0.9901 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.054e-06/0.1914, allocations: 0 / 0.9901 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001172/0.1925, allocations: 127.9 kB / 0.9902 GB, free: 15.82 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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.0008925/0.1935, allocations: 223.1 kB / 0.9904 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001717/0.1952, allocations: 231.8 kB / 0.9906 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.873e-06/0.1953, allocations: 4.062 kB / 0.9906 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008136/0.1961, allocations: 122.2 kB / 0.9907 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007633/0.1969, allocations: 48.05 kB / 0.9908 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004189/0.2011, allocations: 0.5286 MB / 0.9913 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.2014, allocations: 0.7167 MB / 0.992 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005745/0.202, allocations: 33.47 kB / 0.992 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.2022, allocations: 27.36 kB / 0.9921 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of SimCode: time 2.857e-06/0.2022, allocations: 4 kB / 0.9921 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of Templates: time 0.01764/0.2199, allocations: 4.292 MB / 0.9963 GB, free: 9.586 MB / 0.6198 GB