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.001255/0.001255, allocations: 109 kB / 16.41 MB, free: 6.488 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.001189/0.001189, allocations: 187 kB / 17.34 MB, free: 5.73 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8161/0.8161, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.56 kB / 0.5863 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1677, allocations: 80.93 MB / 0.6653 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003402/0.1712, allocations: 2.011 MB / 0.6673 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002575/0.1738, allocations: 1.662 MB / 0.6689 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.679e-05/0.1739, allocations: 4 kB / 0.6689 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.612e-05/0.1739, allocations: 19.78 kB / 0.6689 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.1741, allocations: 47.55 kB / 0.669 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.1752, allocations: 364.1 kB / 0.6693 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.1755, allocations: 223.1 kB / 0.6695 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.1756, allocations: 61.3 kB / 0.6696 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.1758, allocations: 87.75 kB / 0.6697 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.1759, allocations: 83.69 kB / 0.6697 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.176, allocations: 20 kB / 0.6698 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007609/0.1767, allocations: 411.5 kB / 0.6701 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4e-05/0.1768, allocations: 39.91 kB / 0.6702 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.197e-05/0.1769, allocations: 87.66 kB / 0.6703 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005631/0.1774, allocations: 422.9 kB / 0.6707 GB, free: 296 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1775, allocations: 0 / 0.6707 GB, free: 296 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1775, allocations: 4 kB / 0.6707 GB, free: 292 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.1775, allocations: 0 / 0.6707 GB, free: 292 kB / 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.0008626/0.1783, allocations: 0.5109 MB / 0.6712 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.1784, allocations: 13.11 kB / 0.6712 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005749/0.179, allocations: 92.64 kB / 0.6713 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.1791, allocations: 184.1 kB / 0.6715 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.641e-05/0.1792, allocations: 42.27 kB / 0.6715 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.1793, allocations: 20.12 kB / 0.6715 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004281/0.1797, allocations: 201.8 kB / 0.6717 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.1797, allocations: 0 / 0.6717 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.1797, allocations: 8 kB / 0.6717 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1797, allocations: 0 / 0.6717 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004477/0.1802, allocations: 179.9 kB / 0.6719 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.1816, allocations: 0.9146 MB / 0.6728 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004957/0.1821, allocations: 170.5 kB / 0.6729 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.1823, allocations: 84.81 kB / 0.673 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006521/0.183, allocations: 0.5181 MB / 0.6735 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.183, allocations: 34.56 kB / 0.6736 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.183, allocations: 0 / 0.6736 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0007189/0.1838, allocations: 240.9 kB / 0.6738 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.1838, allocations: 55.41 kB / 0.6738 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.184, allocations: 157.8 kB / 0.674 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.184, allocations: 33.7 kB / 0.674 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.052e-05/0.1841, allocations: 115.8 kB / 0.6741 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.1841, allocations: 51.3 kB / 0.6742 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.471e-05/0.1842, allocations: 37.7 kB / 0.6742 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1844, allocations: 326.8 kB / 0.6745 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.1846, allocations: 75.95 kB / 0.6746 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.1849, allocations: 92.08 kB / 0.6747 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/0.1852, allocations: 153.6 kB / 0.6748 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1852, allocations: 0 / 0.6748 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005092/0.1858, allocations: 215.8 kB / 0.675 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.1858, allocations: 4 kB / 0.675 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1858, allocations: 0 / 0.675 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1858, allocations: 11.97 kB / 0.6751 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.1861, allocations: 39.91 kB / 0.6751 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1861, allocations: 0 / 0.6751 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.1863, allocations: 23.83 kB / 0.6751 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.1863, allocations: 4 kB / 0.6751 GB, free: 11.31 MB / 0.5137 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.000133/0.1865, allocations: 135 kB / 0.6753 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.384e-05/0.1865, allocations: 11.91 kB / 0.6753 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005209/0.187, allocations: 194.4 kB / 0.6754 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.187, allocations: 0 / 0.6754 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.1871, allocations: 4 kB / 0.6755 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1871, allocations: 3.984 kB / 0.6755 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/0.1885, allocations: 0.9855 MB / 0.6764 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.1886, allocations: 4 kB / 0.6764 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.1888, allocations: 31.98 kB / 0.6765 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.1888, allocations: 7.922 kB / 0.6765 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.1888, allocations: 4 kB / 0.6765 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.1888, allocations: 3.938 kB / 0.6765 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1888, allocations: 4 kB / 0.6765 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004985/0.1893, allocations: 293 kB / 0.6768 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-05/0.1894, allocations: 85.02 kB / 0.6768 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.664e-05/0.1894, allocations: 4 kB / 0.6768 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.1897, allocations: 19.91 kB / 0.6769 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.1897, allocations: 15.98 kB / 0.6769 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.1897, allocations: 4 kB / 0.6769 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.6e-05/0.1898, allocations: 119.2 kB / 0.677 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1898, allocations: 0 / 0.677 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004933/0.1903, allocations: 127.9 kB / 0.6771 GB, free: 9.066 MB / 0.5137 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.000456/0.1908, allocations: 223 kB / 0.6773 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005066/0.1913, allocations: 179.8 kB / 0.6775 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1913, allocations: 0 / 0.6775 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.1915, allocations: 87.83 kB / 0.6776 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.192, allocations: 42.05 kB / 0.6776 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006912/0.1927, allocations: 342.3 kB / 0.6779 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.193, allocations: 0.7047 MB / 0.6786 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.784e-05/0.1931, allocations: 31.36 kB / 0.6787 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of SimCode: time 4.61e-07/0.1931, allocations: 0 / 0.6787 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of Templates: time 0.006348/0.1995, allocations: 3.867 MB / 0.6824 GB, free: 3.562 MB / 0.5137 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)