Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001501/0.001501, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001763/0.001763, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.409/1.409, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9848/0.9848, allocations: 135.1 MB / 425.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 69.42 kB / 0.5049 GB, free: 5.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1725, allocations: 80.93 MB / 0.5839 GB, free: 4.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003212/0.1757, allocations: 2.06 MB / 0.5859 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002268/0.178, allocations: 1.648 MB / 0.5875 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.073e-05/0.1781, allocations: 4 kB / 0.5875 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.575e-05/0.1782, allocations: 15.91 kB / 0.5875 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.1783, allocations: 43.61 kB / 0.5876 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000946/0.1793, allocations: 307.2 kB / 0.5879 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.1795, allocations: 223.1 kB / 0.5881 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.1796, allocations: 53.45 kB / 0.5881 GB, free: 0.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.892e-05/0.1797, allocations: 79.77 kB / 0.5882 GB, free: 432 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.1799, allocations: 87.67 kB / 0.5883 GB, free: 344 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.1799, allocations: 20 kB / 0.5883 GB, free: 324 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007631/0.1807, allocations: 419.4 kB / 0.5887 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.828e-05/0.1807, allocations: 47.89 kB / 0.5888 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.1809, allocations: 87.66 kB / 0.5888 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005435/0.1814, allocations: 427.2 kB / 0.5892 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1814, allocations: 0 / 0.5892 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.825e-06/0.1814, allocations: 4 kB / 0.5892 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.1814, allocations: 0 / 0.5892 GB, free: 15.35 MB / 0.4981 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.0007832/0.1822, allocations: 0.5186 MB / 0.5898 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1823, allocations: 8.031 kB / 0.5898 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005663/0.1828, allocations: 92.64 kB / 0.5899 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.183, allocations: 184.2 kB / 0.59 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.728e-05/0.1831, allocations: 42.27 kB / 0.5901 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.1831, allocations: 16.38 kB / 0.5901 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004079/0.1835, allocations: 189.4 kB / 0.5903 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.1835, allocations: 0 / 0.5903 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.1836, allocations: 8 kB / 0.5903 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.1836, allocations: 8 kB / 0.5903 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004092/0.184, allocations: 179.8 kB / 0.5905 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.1853, allocations: 0.9189 MB / 0.5913 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000478/0.1858, allocations: 174.5 kB / 0.5915 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.186, allocations: 84.81 kB / 0.5916 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000642/0.1867, allocations: 0.5181 MB / 0.5921 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.1867, allocations: 30.56 kB / 0.5921 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.1867, allocations: 0 / 0.5921 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0007313/0.1875, allocations: 244.6 kB / 0.5924 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.1875, allocations: 51.41 kB / 0.5924 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.1877, allocations: 158.1 kB / 0.5926 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.1877, allocations: 29.7 kB / 0.5926 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.494e-05/0.1878, allocations: 127.7 kB / 0.5927 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.596e-05/0.1878, allocations: 43.3 kB / 0.5928 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-05/0.1879, allocations: 45.61 kB / 0.5928 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.188, allocations: 326.8 kB / 0.5931 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.1882, allocations: 75.95 kB / 0.5932 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.1884, allocations: 97.62 kB / 0.5933 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.1888, allocations: 143.7 kB / 0.5934 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1888, allocations: 0 / 0.5934 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004799/0.1893, allocations: 216 kB / 0.5936 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.1893, allocations: 11.94 kB / 0.5936 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1893, allocations: 0 / 0.5936 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.1894, allocations: 0 / 0.5936 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.1896, allocations: 43.94 kB / 0.5937 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.1896, allocations: 4 kB / 0.5937 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.1898, allocations: 23.83 kB / 0.5937 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.1898, allocations: 4 kB / 0.5937 GB, free: 10.37 MB / 0.4981 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 (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.0001157/0.19, allocations: 129.8 kB / 0.5938 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.396e-05/0.19, allocations: 11.81 kB / 0.5938 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004952/0.1905, allocations: 202.4 kB / 0.594 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1905, allocations: 4 kB / 0.594 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1905, allocations: 0 / 0.594 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1905, allocations: 0 / 0.594 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.192, allocations: 0.9817 MB / 0.595 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.192, allocations: 0 / 0.595 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.1922, allocations: 31.92 kB / 0.595 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1922, allocations: 4.062 kB / 0.595 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.1922, allocations: 7.984 kB / 0.595 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.1922, allocations: 7.984 kB / 0.595 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1922, allocations: 3.938 kB / 0.595 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004782/0.1927, allocations: 281.1 kB / 0.5953 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.827e-05/0.1928, allocations: 92.86 kB / 0.5954 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.1928, allocations: 8 kB / 0.5954 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.193, allocations: 15.97 kB / 0.5954 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.1931, allocations: 19.86 kB / 0.5954 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.1931, allocations: 4 kB / 0.5954 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001063/0.1932, allocations: 119.2 kB / 0.5956 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.794e-06/0.1932, allocations: 4 kB / 0.5956 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004538/0.1937, allocations: 127.8 kB / 0.5957 GB, free: 8.121 MB / 0.4981 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 (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.0004598/0.1942, allocations: 227.1 kB / 0.5959 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004912/0.1947, allocations: 179.9 kB / 0.5961 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1947, allocations: 0 / 0.5961 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.1949, allocations: 83.89 kB / 0.5962 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.1953, allocations: 44.05 kB / 0.5962 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00067/0.196, allocations: 364 kB / 0.5965 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.1963, allocations: 0.7125 MB / 0.5972 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001586/0.1965, allocations: 33.27 kB / 0.5973 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.614e-05/0.1965, allocations: 23.36 kB / 0.5973 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.1965, allocations: 4 kB / 0.5973 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of Templates: time 0.008122/0.2047, allocations: 4.236 MB / 0.6014 GB, free: 2.238 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)