Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001616/0.001616, allocations: 195.2 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00201/0.00201, allocations: 286.5 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9116/0.9116, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 93.08 kB / 0.5945 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1585, allocations: 86.99 MB / 0.6794 GB, free: 1.176 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002873/0.1614, allocations: 2.052 MB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.1637, allocations: 1.745 MB / 0.6832 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.303e-05/0.1638, allocations: 0 / 0.6832 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.317e-05/0.1638, allocations: 19.91 kB / 0.6832 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.494e-05/0.1639, allocations: 39.62 kB / 0.6832 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000702/0.1646, allocations: 294.1 kB / 0.6835 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.1648, allocations: 215.1 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1649, allocations: 41.75 kB / 0.6837 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.462e-05/0.165, allocations: 71.78 kB / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.1652, allocations: 87.66 kB / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.1652, allocations: 12 kB / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006652/0.1659, allocations: 395.5 kB / 0.6843 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.1659, allocations: 39.83 kB / 0.6843 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.262e-05/0.166, allocations: 79.66 kB / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005134/0.1665, allocations: 426.9 kB / 0.6848 GB, free: 11.69 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.1665, allocations: 0 / 0.6848 GB, free: 11.69 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1665, allocations: 0 / 0.6848 GB, free: 11.69 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.1665, allocations: 0 / 0.6848 GB, free: 11.69 MB / 494.1 MB 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.0007158/0.1673, allocations: 0.5243 MB / 0.6853 GB, free: 11.11 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.1673, allocations: 12.03 kB / 0.6853 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005594/0.1679, allocations: 84.73 kB / 0.6854 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.168, allocations: 176.2 kB / 0.6856 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.002e-05/0.1681, allocations: 50.25 kB / 0.6856 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.1681, allocations: 16.38 kB / 0.6856 GB, free: 10.74 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000395/0.1685, allocations: 179.3 kB / 0.6858 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1685, allocations: 3.938 kB / 0.6858 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.1686, allocations: 12 kB / 0.6858 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1686, allocations: 4 kB / 0.6858 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004436/0.169, allocations: 188.3 kB / 0.686 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.1703, allocations: 0.9074 MB / 0.6869 GB, free: 9.324 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004753/0.1708, allocations: 178.5 kB / 0.6871 GB, free: 9.141 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.171, allocations: 76.83 kB / 0.6871 GB, free: 9.062 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006319/0.1716, allocations: 0.5142 MB / 0.6876 GB, free: 8.438 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.1717, allocations: 38.56 kB / 0.6877 GB, free: 8.391 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.1717, allocations: 4 kB / 0.6877 GB, free: 8.387 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006808/0.1724, allocations: 229.4 kB / 0.6879 GB, free: 8.156 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.1724, allocations: 55.41 kB / 0.6879 GB, free: 8.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.1725, allocations: 156.7 kB / 0.6881 GB, free: 7.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.1726, allocations: 33.7 kB / 0.6881 GB, free: 7.891 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.1726, allocations: 115.7 kB / 0.6882 GB, free: 7.773 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.1727, allocations: 63.22 kB / 0.6883 GB, free: 7.711 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.362e-05/0.1728, allocations: 37.7 kB / 0.6883 GB, free: 7.668 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.652e-05/0.1729, allocations: 326.8 kB / 0.6886 GB, free: 7.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.1731, allocations: 67.97 kB / 0.6887 GB, free: 7.273 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.1733, allocations: 93.66 kB / 0.6888 GB, free: 7.176 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/0.1737, allocations: 147.5 kB / 0.6889 GB, free: 7.027 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1737, allocations: 7.875 kB / 0.6889 GB, free: 7.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004935/0.1742, allocations: 218.9 kB / 0.6892 GB, free: 6.801 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1742, allocations: 4 kB / 0.6892 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1742, allocations: 8.031 kB / 0.6892 GB, free: 6.789 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.1742, allocations: 4 kB / 0.6892 GB, free: 6.785 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.1745, allocations: 39.91 kB / 0.6892 GB, free: 6.746 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1745, allocations: 0 / 0.6892 GB, free: 6.746 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.1747, allocations: 23.83 kB / 0.6892 GB, free: 6.723 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.1747, allocations: 7.984 kB / 0.6892 GB, free: 6.715 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (com.isOn,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.907e-05/0.1748, allocations: 127.1 kB / 0.6894 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.1749, allocations: 15.91 kB / 0.6894 GB, free: 6.566 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005016/0.1754, allocations: 205.5 kB / 0.6896 GB, free: 6.363 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1754, allocations: 0 / 0.6896 GB, free: 6.363 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1754, allocations: 0 / 0.6896 GB, free: 6.363 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.1754, allocations: 4 kB / 0.6896 GB, free: 6.359 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.1767, allocations: 0.974 MB / 0.6905 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1768, allocations: 0 / 0.6905 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.177, allocations: 35.97 kB / 0.6906 GB, free: 5.195 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.177, allocations: 4 kB / 0.6906 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.177, allocations: 4 kB / 0.6906 GB, free: 5.188 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.177, allocations: 0 / 0.6906 GB, free: 5.188 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.177, allocations: 7.984 kB / 0.6906 GB, free: 5.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004822/0.1775, allocations: 296.9 kB / 0.6909 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.1776, allocations: 92.94 kB / 0.691 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.1776, allocations: 0 / 0.691 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.1778, allocations: 15.98 kB / 0.691 GB, free: 4.742 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.1779, allocations: 19.86 kB / 0.691 GB, free: 4.723 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.1779, allocations: 4 kB / 0.691 GB, free: 4.719 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.766e-05/0.178, allocations: 125.1 kB / 0.6911 GB, free: 4.598 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.178, allocations: 0 / 0.6911 GB, free: 4.598 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004055/0.1784, allocations: 131.8 kB / 0.6912 GB, free: 4.469 MB / 494.1 MB 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 (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.0004111/0.1788, allocations: 227 kB / 0.6915 GB, free: 4.238 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004516/0.1793, allocations: 171.8 kB / 0.6916 GB, free: 4.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1793, allocations: 0 / 0.6916 GB, free: 4.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.1795, allocations: 80.09 kB / 0.6917 GB, free: 3.992 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.1799, allocations: 47.84 kB / 0.6917 GB, free: 3.945 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006066/0.1805, allocations: 362.3 kB / 0.6921 GB, free: 3.559 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.1808, allocations: 0.7128 MB / 0.6928 GB, free: 2.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000156/0.1809, allocations: 29.17 kB / 0.6928 GB, free: 2.797 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.88e-05/0.181, allocations: 19.44 kB / 0.6928 GB, free: 2.777 MB / 494.1 MB Notification: Performance of SimCode: time 2.01e-07/0.181, allocations: 0 / 0.6928 GB, free: 2.777 MB / 494.1 MB Notification: Performance of Templates: time 0.0071/0.1881, allocations: 4.149 MB / 0.6969 GB, free: 14.68 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)