Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001059/0.001059, allocations: 104 kB / 15.6 MB, free: 148 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.001074/0.001074, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7552/0.7552, allocations: 132.2 MB / 422.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 64.75 kB / 0.5018 GB, free: 8.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1732, allocations: 80.21 MB / 0.5801 GB, free: 8.75 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003206/0.1764, allocations: 2.004 MB / 0.5821 GB, free: 6.727 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.1787, allocations: 1.657 MB / 0.5837 GB, free: 5.062 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.848e-05/0.1788, allocations: 4 kB / 0.5837 GB, free: 5.059 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.07e-05/0.1789, allocations: 11.86 kB / 0.5837 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.881e-05/0.179, allocations: 55.55 kB / 0.5837 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008791/0.1799, allocations: 358.8 kB / 0.5841 GB, free: 4.641 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.1801, allocations: 215.1 kB / 0.5843 GB, free: 4.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.1802, allocations: 57.45 kB / 0.5843 GB, free: 4.367 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.358e-05/0.1803, allocations: 79.78 kB / 0.5844 GB, free: 4.289 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.1805, allocations: 91.66 kB / 0.5845 GB, free: 4.199 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.196e-05/0.1805, allocations: 16 kB / 0.5845 GB, free: 4.184 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006751/0.1812, allocations: 399.5 kB / 0.5849 GB, free: 3.793 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.114e-05/0.1812, allocations: 39.89 kB / 0.5849 GB, free: 3.754 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.944e-05/0.1813, allocations: 91.64 kB / 0.585 GB, free: 3.664 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005169/0.1818, allocations: 431.2 kB / 0.5854 GB, free: 3.242 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1819, allocations: 3.938 kB / 0.5854 GB, free: 3.238 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1819, allocations: 0 / 0.5854 GB, free: 3.238 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1819, allocations: 0 / 0.5854 GB, free: 3.238 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.0008122/0.1827, allocations: 0.5147 MB / 0.5859 GB, free: 2.672 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.1827, allocations: 8.031 kB / 0.586 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005673/0.1833, allocations: 92.64 kB / 0.586 GB, free: 2.574 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.1834, allocations: 176.2 kB / 0.5862 GB, free: 2.363 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.457e-05/0.1835, allocations: 54.25 kB / 0.5863 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.1836, allocations: 12.38 kB / 0.5863 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003942/0.184, allocations: 181.4 kB / 0.5864 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.184, allocations: 4 kB / 0.5865 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.184, allocations: 4 kB / 0.5865 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.184, allocations: 4 kB / 0.5865 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004349/0.1845, allocations: 187.9 kB / 0.5866 GB, free: 1.914 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.1857, allocations: 0.9187 MB / 0.5875 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000495/0.1863, allocations: 178.6 kB / 0.5877 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.1864, allocations: 72.83 kB / 0.5878 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006332/0.1871, allocations: 0.5182 MB / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.1871, allocations: 46.38 kB / 0.5883 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.1871, allocations: 0 / 0.5883 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0006897/0.1878, allocations: 236.4 kB / 0.5886 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.1879, allocations: 59.41 kB / 0.5886 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.188, allocations: 154.5 kB / 0.5888 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.188, allocations: 29.7 kB / 0.5888 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/0.1881, allocations: 115.8 kB / 0.5889 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.1882, allocations: 51.3 kB / 0.5889 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.778e-05/0.1882, allocations: 37.61 kB / 0.589 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1883, allocations: 326.8 kB / 0.5893 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.1885, allocations: 83.95 kB / 0.5894 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.1888, allocations: 103.3 kB / 0.5895 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/0.1891, allocations: 144.1 kB / 0.5896 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1891, allocations: 4 kB / 0.5896 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004784/0.1896, allocations: 213.4 kB / 0.5898 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1897, allocations: 6.344 kB / 0.5898 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1897, allocations: 3.984 kB / 0.5898 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.1897, allocations: 4 kB / 0.5898 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.1899, allocations: 35.97 kB / 0.5899 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.19, allocations: 3.938 kB / 0.5899 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.1901, allocations: 27.86 kB / 0.5899 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.1902, allocations: 7.984 kB / 0.5899 GB, free: 14.25 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.0001132/0.1903, allocations: 130.4 kB / 0.59 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.548e-05/0.1903, allocations: 15.81 kB / 0.59 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005032/0.1908, allocations: 194.4 kB / 0.5902 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.1909, allocations: 0 / 0.5902 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1909, allocations: 3.938 kB / 0.5902 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1909, allocations: 0 / 0.5902 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.1922, allocations: 0.9778 MB / 0.5912 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.1922, allocations: 0 / 0.5912 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.1924, allocations: 31.97 kB / 0.5912 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.1924, allocations: 0 / 0.5912 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.1924, allocations: 8 kB / 0.5912 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1924, allocations: 0 / 0.5912 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1924, allocations: 8 kB / 0.5912 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004657/0.1929, allocations: 285 kB / 0.5915 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.193, allocations: 100.8 kB / 0.5916 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.263e-05/0.193, allocations: 4 kB / 0.5916 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.1932, allocations: 15.98 kB / 0.5916 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.1933, allocations: 11.92 kB / 0.5916 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.1933, allocations: 4 kB / 0.5916 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.866e-05/0.1934, allocations: 122.5 kB / 0.5917 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.8e-07/0.1934, allocations: 0 / 0.5917 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004182/0.1938, allocations: 131.9 kB / 0.5919 GB, free: 12.02 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.0004077/0.1942, allocations: 227 kB / 0.5921 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005031/0.1947, allocations: 182.5 kB / 0.5923 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1947, allocations: 0 / 0.5923 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.195, allocations: 79.91 kB / 0.5923 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.1954, allocations: 46.39 kB / 0.5924 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006604/0.1961, allocations: 320.5 kB / 0.5927 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.1963, allocations: 0.7125 MB / 0.5934 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001554/0.1965, allocations: 29.25 kB / 0.5934 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.412e-05/0.1965, allocations: 27.38 kB / 0.5934 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1966, allocations: 0 / 0.5934 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of Templates: time 0.008064/0.2046, allocations: 4.264 MB / 0.5976 GB, free: 6.152 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)