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.001284/0.001284, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 191.1 kB / 16.53 MB, free: 6.391 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001966/0.001966, allocations: 299 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9254/0.9254, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 93.05 kB / 0.5952 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1729, allocations: 86.98 MB / 0.6802 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003192/0.1761, allocations: 2.009 MB / 0.6821 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002292/0.1784, allocations: 1.654 MB / 0.6838 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.31e-05/0.1785, allocations: 4 kB / 0.6838 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.516e-05/0.1785, allocations: 15.86 kB / 0.6838 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.1787, allocations: 51.55 kB / 0.6838 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009519/0.1796, allocations: 358.7 kB / 0.6842 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.1798, allocations: 223.1 kB / 0.6844 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.18, allocations: 53.73 kB / 0.6844 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.065e-05/0.1801, allocations: 75.84 kB / 0.6845 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.1802, allocations: 91.66 kB / 0.6846 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.1803, allocations: 20 kB / 0.6846 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007032/0.181, allocations: 399.5 kB / 0.685 GB, free: 11.76 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.115e-05/0.181, allocations: 39.89 kB / 0.685 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.282e-05/0.1811, allocations: 91.64 kB / 0.6851 GB, free: 11.63 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00052/0.1817, allocations: 430.9 kB / 0.6855 GB, free: 11.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1817, allocations: 0 / 0.6855 GB, free: 11.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1817, allocations: 0 / 0.6855 GB, free: 11.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1817, allocations: 3.938 kB / 0.6855 GB, free: 11.2 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.0007512/0.1825, allocations: 0.5186 MB / 0.686 GB, free: 10.63 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.1825, allocations: 8.031 kB / 0.686 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005536/0.1831, allocations: 88.73 kB / 0.6861 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.1832, allocations: 176.2 kB / 0.6863 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.894e-05/0.1833, allocations: 50.25 kB / 0.6863 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.1833, allocations: 16.38 kB / 0.6864 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003988/0.1837, allocations: 179.9 kB / 0.6865 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1837, allocations: 7.875 kB / 0.6865 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.1838, allocations: 4 kB / 0.6865 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.1838, allocations: 4 kB / 0.6865 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004338/0.1842, allocations: 187.8 kB / 0.6867 GB, free: 9.875 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.1855, allocations: 0.919 MB / 0.6876 GB, free: 8.832 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004887/0.186, allocations: 170.5 kB / 0.6878 GB, free: 8.656 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.1862, allocations: 72.83 kB / 0.6879 GB, free: 8.582 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006132/0.1868, allocations: 0.5181 MB / 0.6884 GB, free: 7.953 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.1869, allocations: 38.56 kB / 0.6884 GB, free: 7.906 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.1869, allocations: 3.938 kB / 0.6884 GB, free: 7.902 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.000689/0.1876, allocations: 237.7 kB / 0.6886 GB, free: 7.664 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.1876, allocations: 55.41 kB / 0.6887 GB, free: 7.598 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.1878, allocations: 156.3 kB / 0.6888 GB, free: 7.438 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.1878, allocations: 29.7 kB / 0.6889 GB, free: 7.402 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.428e-05/0.1879, allocations: 115.8 kB / 0.689 GB, free: 7.285 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.1879, allocations: 55.28 kB / 0.689 GB, free: 7.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-05/0.188, allocations: 37.7 kB / 0.6891 GB, free: 7.188 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1881, allocations: 330.8 kB / 0.6894 GB, free: 6.855 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.1883, allocations: 71.95 kB / 0.6894 GB, free: 6.785 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.1885, allocations: 95.55 kB / 0.6895 GB, free: 6.688 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.1889, allocations: 151.5 kB / 0.6897 GB, free: 6.535 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.1889, allocations: 3.938 kB / 0.6897 GB, free: 6.531 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004809/0.1894, allocations: 217.3 kB / 0.6899 GB, free: 6.312 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1894, allocations: 4 kB / 0.6899 GB, free: 6.309 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1894, allocations: 0 / 0.6899 GB, free: 6.309 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1895, allocations: 4 kB / 0.6899 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.1897, allocations: 43.94 kB / 0.6899 GB, free: 6.262 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1897, allocations: 0 / 0.6899 GB, free: 6.262 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.1899, allocations: 23.83 kB / 0.69 GB, free: 6.238 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.1899, allocations: 7.984 kB / 0.69 GB, free: 6.23 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 0.0001139/0.19, allocations: 131 kB / 0.6901 GB, free: 6.094 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.1901, allocations: 11.91 kB / 0.6901 GB, free: 6.082 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005001/0.1906, allocations: 205.1 kB / 0.6903 GB, free: 5.879 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.1906, allocations: 0 / 0.6903 GB, free: 5.879 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1906, allocations: 0 / 0.6903 GB, free: 5.879 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.1906, allocations: 0 / 0.6903 GB, free: 5.879 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.192, allocations: 0.9778 MB / 0.6913 GB, free: 4.746 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.192, allocations: 4 kB / 0.6913 GB, free: 4.742 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.1922, allocations: 27.97 kB / 0.6913 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1922, allocations: 4.062 kB / 0.6913 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.1922, allocations: 11.94 kB / 0.6913 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1922, allocations: 0 / 0.6913 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.1922, allocations: 8 kB / 0.6913 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004755/0.1927, allocations: 288.9 kB / 0.6916 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/0.1928, allocations: 96.94 kB / 0.6917 GB, free: 4.273 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.1928, allocations: 0 / 0.6917 GB, free: 4.273 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.193, allocations: 15.98 kB / 0.6917 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.1931, allocations: 15.92 kB / 0.6917 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.1931, allocations: 4 kB / 0.6917 GB, free: 4.238 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.35e-05/0.1932, allocations: 116.9 kB / 0.6918 GB, free: 4.125 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1932, allocations: 0 / 0.6918 GB, free: 4.125 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004272/0.1936, allocations: 139.8 kB / 0.692 GB, free: 3.988 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.0003952/0.194, allocations: 227 kB / 0.6922 GB, free: 3.758 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004756/0.1945, allocations: 182 kB / 0.6923 GB, free: 3.582 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1945, allocations: 0 / 0.6923 GB, free: 3.582 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.1947, allocations: 79.91 kB / 0.6924 GB, free: 3.504 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.1951, allocations: 53.73 kB / 0.6925 GB, free: 3.453 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006325/0.1958, allocations: 320.8 kB / 0.6928 GB, free: 3.105 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.196, allocations: 0.7125 MB / 0.6935 GB, free: 2.367 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001424/0.1962, allocations: 36.53 kB / 0.6935 GB, free: 2.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.075e-05/0.1962, allocations: 19.44 kB / 0.6935 GB, free: 2.32 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1962, allocations: 0 / 0.6935 GB, free: 2.32 MB / 494.1 MB Notification: Performance of Templates: time 0.007315/0.2036, allocations: 4.261 MB / 0.6977 GB, free: 14.11 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)