Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.534/2.534, allocations: 287.9 MB / 302.9 MB, free: 8.215 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.001402/0.001402, allocations: 179.3 kB / 371.4 MB, free: 10.66 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.245/2.245, allocations: 205.4 MB / 0.6301 GB, free: 10.38 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.001022/0.001022, allocations: 90.56 kB / 0.7434 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008363/0.0008365, allocations: 10.98 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.159, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00197/0.161, allocations: 1.613 MB / 0.9803 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00217/0.1632, allocations: 1.475 MB / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.153e-05/0.1633, allocations: 4 kB / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.805e-05/0.1634, allocations: 19.84 kB / 0.9818 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.1635, allocations: 51.88 kB / 0.9818 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008506/0.1644, allocations: 267.3 kB / 0.9821 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.1645, allocations: 143.7 kB / 0.9822 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1647, allocations: 45.64 kB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.848e-05/0.1648, allocations: 63.84 kB / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.1649, allocations: 83.67 kB / 0.9824 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.165, allocations: 8 kB / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007903/0.1658, allocations: 387.5 kB / 0.9828 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.396e-05/0.1658, allocations: 31.91 kB / 0.9828 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.052e-05/0.1659, allocations: 53.64 kB / 0.9829 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004785/0.1663, allocations: 307.5 kB / 0.9832 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.654e-06/0.1664, allocations: 0 / 0.9832 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.164e-06/0.1664, allocations: 7.938 kB / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.448e-06/0.1664, allocations: 0 / 0.9832 GB, free: 23.61 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000685/0.1671, allocations: 0.4911 MB / 0.9837 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1671, allocations: 12.02 kB / 0.9837 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005907/0.1677, allocations: 91.81 kB / 0.9838 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.518e-05/0.1679, allocations: 186.7 kB / 0.9839 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.107e-05/0.1679, allocations: 49.69 kB / 0.984 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.168, allocations: 16 kB / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004527/0.1685, allocations: 189.3 kB / 0.9842 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1685, allocations: 0 / 0.9842 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.1685, allocations: 8 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.1685, allocations: 4 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005345/0.1691, allocations: 183.8 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.1705, allocations: 0.919 MB / 0.9853 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005765/0.1711, allocations: 186.5 kB / 0.9854 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005878/0.1717, allocations: 0.5181 MB / 0.986 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.1717, allocations: 34.56 kB / 0.986 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 2.436e-06/0.1717, allocations: 0 / 0.986 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0008179/0.1725, allocations: 245.8 kB / 0.9862 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.1726, allocations: 59.34 kB / 0.9863 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.1727, allocations: 151.7 kB / 0.9864 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.1728, allocations: 33.7 kB / 0.9865 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/0.1728, allocations: 123.7 kB / 0.9866 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.992e-05/0.1729, allocations: 51.34 kB / 0.9866 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.598e-05/0.1729, allocations: 4 kB / 0.9866 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.671e-05/0.173, allocations: 322.8 kB / 0.9869 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.1732, allocations: 83.89 kB / 0.987 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.1735, allocations: 98.7 kB / 0.9871 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.1738, allocations: 65.19 kB / 0.9872 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.749e-06/0.1738, allocations: 0 / 0.9872 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006148/0.1744, allocations: 223.9 kB / 0.9874 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1744, allocations: 15.89 kB / 0.9874 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.294e-06/0.1744, allocations: 0 / 0.9874 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1745, allocations: 0 / 0.9874 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/0.1748, allocations: 39.97 kB / 0.9874 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.279e-06/0.1748, allocations: 0 / 0.9874 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.175, allocations: 35.77 kB / 0.9875 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.175, allocations: 7.938 kB / 0.9875 GB, free: 18.81 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 (20): * Single equations (assignments): 20 * 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.0001045/0.1752, allocations: 121.8 kB / 0.9876 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.922e-05/0.1752, allocations: 15.81 kB / 0.9876 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000608/0.1759, allocations: 212.2 kB / 0.9878 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.097e-06/0.1759, allocations: 0 / 0.9878 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.544e-06/0.1759, allocations: 0 / 0.9878 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.868e-06/0.1759, allocations: 0 / 0.9878 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.1776, allocations: 0.9934 MB / 0.9888 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.033e-06/0.1776, allocations: 0 / 0.9888 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.1779, allocations: 36.05 kB / 0.9888 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.1779, allocations: 4 kB / 0.9888 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.1779, allocations: 3.984 kB / 0.9888 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.483e-06/0.1779, allocations: 4 kB / 0.9888 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.371e-06/0.1779, allocations: 4 kB / 0.9888 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006296/0.1786, allocations: 316.4 kB / 0.9891 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.1786, allocations: 100.8 kB / 0.9892 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.1787, allocations: 4 kB / 0.9892 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/0.179, allocations: 19.98 kB / 0.9892 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.1791, allocations: 11.97 kB / 0.9893 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.1791, allocations: 8 kB / 0.9893 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.338e-05/0.1792, allocations: 116.9 kB / 0.9894 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.595e-06/0.1792, allocations: 0 / 0.9894 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005573/0.1798, allocations: 131.8 kB / 0.9895 GB, free: 16.51 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 (14): * Single equations (assignments): 14 * 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.0004587/0.1803, allocations: 227 kB / 0.9897 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005507/0.1808, allocations: 183.8 kB / 0.9899 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.385e-06/0.1808, allocations: 0 / 0.9899 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002425/0.1811, allocations: 83.91 kB / 0.99 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.1815, allocations: 44.02 kB / 0.99 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006924/0.1822, allocations: 385.4 kB / 0.9904 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/0.1823, allocations: 0.7128 MB / 0.9911 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002064/0.1826, allocations: 29.92 kB / 0.9911 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.336e-05/0.1827, allocations: 23.42 kB / 0.9911 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of SimCode: time 1.758e-06/0.1827, allocations: 0 / 0.9911 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of Templates: time 0.009135/0.1918, allocations: 4.038 MB / 0.9951 GB, free: 10.79 MB / 0.6198 GB