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.0009879/0.000988, allocations: 91.45 kB / 15.36 MB, free: 0.7344 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.007841/0.007841, allocations: 169.7 kB / 16.26 MB, free: 6.68 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.334/1.334, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9606/0.9606, allocations: 135.3 MB / 426.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003537, allocations: 8.781 kB / 0.5076 GB, free: 4.711 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.172, allocations: 82.31 MB / 0.588 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002118/0.1741, allocations: 1.714 MB / 0.5897 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002366/0.1765, allocations: 1.707 MB / 0.5913 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.074e-05/0.1766, allocations: 4 kB / 0.5913 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.188e-05/0.1767, allocations: 11.86 kB / 0.5913 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.1768, allocations: 43.67 kB / 0.5914 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009391/0.1777, allocations: 291.2 kB / 0.5917 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.178, allocations: 215.1 kB / 0.5919 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.1781, allocations: 45.45 kB / 0.5919 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.1782, allocations: 75.77 kB / 0.592 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.1784, allocations: 75.69 kB / 0.592 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.1784, allocations: 8 kB / 0.5921 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007896/0.1792, allocations: 395.5 kB / 0.5924 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.9e-05/0.1792, allocations: 31.91 kB / 0.5925 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.695e-05/0.1793, allocations: 105.4 kB / 0.5926 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005866/0.1799, allocations: 423.1 kB / 0.593 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1799, allocations: 0 / 0.593 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.18, allocations: 4 kB / 0.593 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.18, allocations: 0 / 0.593 GB, free: 13.43 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.0007434/0.1807, allocations: 499.1 kB / 0.5934 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1808, allocations: 8.031 kB / 0.5935 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005786/0.1813, allocations: 96.73 kB / 0.5935 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.1815, allocations: 184.1 kB / 0.5937 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.136e-05/0.1816, allocations: 50.25 kB / 0.5938 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.1816, allocations: 16.38 kB / 0.5938 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/0.182, allocations: 189.4 kB / 0.594 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.182, allocations: 0 / 0.594 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.1821, allocations: 4 kB / 0.594 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1821, allocations: 4 kB / 0.594 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004421/0.1825, allocations: 187.9 kB / 0.5942 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.1839, allocations: 0.9228 MB / 0.5951 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005186/0.1844, allocations: 182.6 kB / 0.5952 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.1846, allocations: 88.7 kB / 0.5953 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006199/0.1852, allocations: 0.5181 MB / 0.5958 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.1853, allocations: 38.5 kB / 0.5959 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.1853, allocations: 0 / 0.5959 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0007175/0.186, allocations: 249.7 kB / 0.5961 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.1861, allocations: 51.41 kB / 0.5961 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.1862, allocations: 158.5 kB / 0.5963 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.1862, allocations: 29.7 kB / 0.5963 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.14e-05/0.1863, allocations: 119.8 kB / 0.5964 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/0.1864, allocations: 47.3 kB / 0.5965 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.1864, allocations: 29.7 kB / 0.5965 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.942e-05/0.1865, allocations: 326.8 kB / 0.5968 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.1867, allocations: 75.95 kB / 0.5969 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.187, allocations: 105.6 kB / 0.597 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003798/0.1873, allocations: 156.1 kB / 0.5971 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1874, allocations: 0 / 0.5971 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004991/0.1879, allocations: 231.2 kB / 0.5974 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1879, allocations: 8 kB / 0.5974 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1879, allocations: 0 / 0.5974 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1879, allocations: 0 / 0.5974 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.1882, allocations: 39.97 kB / 0.5974 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.1882, allocations: 4.031 kB / 0.5974 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.1884, allocations: 19.83 kB / 0.5974 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.1884, allocations: 12 kB / 0.5974 GB, free: 8.414 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.0001091/0.1885, allocations: 129.7 kB / 0.5976 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.1886, allocations: 11.91 kB / 0.5976 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005089/0.1891, allocations: 209.7 kB / 0.5978 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.1891, allocations: 0 / 0.5978 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.1891, allocations: 3.938 kB / 0.5978 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1891, allocations: 4 kB / 0.5978 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.1906, allocations: 0.9934 MB / 0.5988 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1906, allocations: 4 kB / 0.5988 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.1908, allocations: 27.98 kB / 0.5988 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.1908, allocations: 0 / 0.5988 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.1909, allocations: 7.984 kB / 0.5988 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.1909, allocations: 4 kB / 0.5988 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.1909, allocations: 3.938 kB / 0.5988 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007036/0.1916, allocations: 293 kB / 0.5991 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.008e-05/0.1917, allocations: 96.94 kB / 0.5992 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.1917, allocations: 8 kB / 0.5992 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.1919, allocations: 15.98 kB / 0.5992 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.192, allocations: 15.92 kB / 0.5992 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.192, allocations: 11.94 kB / 0.5992 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.09e-05/0.1921, allocations: 118.3 kB / 0.5993 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1921, allocations: 0 / 0.5993 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004616/0.1926, allocations: 131.8 kB / 0.5995 GB, free: 6.141 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.0004428/0.193, allocations: 227 kB / 0.5997 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004894/0.1935, allocations: 187.8 kB / 0.5999 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1935, allocations: 0 / 0.5999 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.1937, allocations: 83.91 kB / 0.5999 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.1941, allocations: 51.66 kB / 0.6 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006686/0.1948, allocations: 393.5 kB / 0.6004 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.1951, allocations: 0.705 MB / 0.601 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001601/0.1953, allocations: 32.31 kB / 0.6011 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.934e-05/0.1954, allocations: 23.42 kB / 0.6011 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of SimCode: time 3.6e-07/0.1954, allocations: 0 / 0.6011 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of Templates: time 0.007856/0.2032, allocations: 4.113 MB / 0.6051 GB, free: 352 kB / 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)