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.001588/0.001588, 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.001491/0.001491, allocations: 192.9 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9012/0.9012, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 64.45 kB / 0.5053 GB, free: 5.305 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1644, allocations: 80.92 MB / 0.5844 GB, free: 4.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003491/0.1679, allocations: 2.01 MB / 0.5863 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00254/0.1705, allocations: 1.659 MB / 0.5879 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.39e-05/0.1705, allocations: 0 / 0.5879 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.032e-05/0.1706, allocations: 23.78 kB / 0.588 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.1708, allocations: 47.56 kB / 0.588 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.1718, allocations: 354.8 kB / 0.5884 GB, free: 432 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.172, allocations: 215.2 kB / 0.5886 GB, free: 216 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.1722, allocations: 65.38 kB / 0.5886 GB, free: 144 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.571e-05/0.1723, allocations: 75.78 kB / 0.5887 GB, free: 68 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.1725, allocations: 91.66 kB / 0.5888 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.1725, allocations: 20 kB / 0.5888 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000772/0.1733, allocations: 395.5 kB / 0.5892 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.485e-05/0.1734, allocations: 47.89 kB / 0.5892 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.982e-05/0.1735, allocations: 87.64 kB / 0.5893 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006852/0.1742, allocations: 427.2 kB / 0.5897 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1742, allocations: 0 / 0.5897 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.193e-06/0.1742, allocations: 0 / 0.5897 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.8e-06/0.1742, allocations: 0 / 0.5897 GB, free: 15.02 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.0009149/0.1751, allocations: 0.5108 MB / 0.5902 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1752, allocations: 16.03 kB / 0.5902 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005996/0.1758, allocations: 84.64 kB / 0.5903 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.1759, allocations: 180.2 kB / 0.5905 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.176, allocations: 50.25 kB / 0.5905 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.1761, allocations: 16.38 kB / 0.5905 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004214/0.1765, allocations: 185.3 kB / 0.5907 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1765, allocations: 0 / 0.5907 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.1765, allocations: 4 kB / 0.5907 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.1766, allocations: 4 kB / 0.5907 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004431/0.177, allocations: 187.9 kB / 0.5909 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.1786, allocations: 0.9228 MB / 0.5918 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005032/0.1791, allocations: 174.5 kB / 0.592 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.1793, allocations: 76.83 kB / 0.5921 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006534/0.1799, allocations: 0.522 MB / 0.5926 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.18, allocations: 38.5 kB / 0.5926 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.18, allocations: 0 / 0.5926 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0007726/0.1808, allocations: 244.8 kB / 0.5928 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.1808, allocations: 51.41 kB / 0.5929 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.181, allocations: 160.5 kB / 0.593 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.1811, allocations: 25.7 kB / 0.5931 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.775e-05/0.1811, allocations: 119.8 kB / 0.5932 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.1812, allocations: 51.28 kB / 0.5932 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.618e-05/0.1813, allocations: 37.61 kB / 0.5933 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1814, allocations: 334.8 kB / 0.5936 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.1816, allocations: 71.97 kB / 0.5936 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.1818, allocations: 103.5 kB / 0.5937 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.1822, allocations: 156.2 kB / 0.5939 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1823, allocations: 0 / 0.5939 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005025/0.1828, allocations: 201.5 kB / 0.5941 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1828, allocations: 8 kB / 0.5941 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1828, allocations: 0 / 0.5941 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1828, allocations: 0 / 0.5941 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.1831, allocations: 43.91 kB / 0.5941 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.1831, allocations: 0 / 0.5941 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.1833, allocations: 27.86 kB / 0.5942 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.1833, allocations: 11.98 kB / 0.5942 GB, free: 10.03 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.0001136/0.1834, allocations: 125.7 kB / 0.5943 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/0.1835, allocations: 15.81 kB / 0.5943 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005549/0.184, allocations: 194.4 kB / 0.5945 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1841, allocations: 4 kB / 0.5945 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1841, allocations: 0 / 0.5945 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.1841, allocations: 0 / 0.5945 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.1856, allocations: 0.9778 MB / 0.5955 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1856, allocations: 0 / 0.5955 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.1859, allocations: 31.91 kB / 0.5955 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.1859, allocations: 4 kB / 0.5955 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.1859, allocations: 4 kB / 0.5955 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1859, allocations: 4.062 kB / 0.5955 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1859, allocations: 7.938 kB / 0.5955 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004865/0.1864, allocations: 284 kB / 0.5958 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.1865, allocations: 100.8 kB / 0.5959 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.1865, allocations: 8 kB / 0.5959 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.1867, allocations: 15.98 kB / 0.5959 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.283e-05/0.1868, allocations: 11.92 kB / 0.5959 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.1868, allocations: 4 kB / 0.5959 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.312e-05/0.1869, allocations: 119.1 kB / 0.596 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.272e-06/0.1869, allocations: 7.938 kB / 0.596 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004423/0.1874, allocations: 131.8 kB / 0.5962 GB, free: 7.797 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.0004237/0.1878, allocations: 224.4 kB / 0.5964 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004843/0.1883, allocations: 183.8 kB / 0.5965 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.1883, allocations: 4 kB / 0.5965 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.1885, allocations: 79.91 kB / 0.5966 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.1889, allocations: 40.16 kB / 0.5967 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006478/0.1896, allocations: 320.2 kB / 0.597 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.1899, allocations: 0.7125 MB / 0.5977 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000147/0.19, allocations: 26.73 kB / 0.5977 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.356e-05/0.1901, allocations: 23.44 kB / 0.5977 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1901, allocations: 4 kB / 0.5977 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of Templates: time 0.00784/0.198, allocations: 4.254 MB / 0.6019 GB, free: 1.945 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)