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.0008176/0.0008178, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.000938/0.0009384, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.049/1.049, allocations: 135.3 MB / 426.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003551, allocations: 8 kB / 0.507 GB, free: 5.113 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1712, allocations: 82.31 MB / 0.5874 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.001944/0.1732, allocations: 1.672 MB / 0.589 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.1751, allocations: 1.544 MB / 0.5905 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.588e-05/0.1752, allocations: 7.938 kB / 0.5905 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.277e-05/0.1752, allocations: 7.922 kB / 0.5905 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.435e-05/0.1753, allocations: 51.61 kB / 0.5906 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007248/0.1761, allocations: 263.2 kB / 0.5908 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.1763, allocations: 203.1 kB / 0.591 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1764, allocations: 45.62 kB / 0.5911 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.465e-05/0.1765, allocations: 71.78 kB / 0.5911 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.1766, allocations: 75.73 kB / 0.5912 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.1766, allocations: 8 kB / 0.5912 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006632/0.1773, allocations: 387.5 kB / 0.5916 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.234e-05/0.1774, allocations: 27.91 kB / 0.5916 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.1774, allocations: 53.64 kB / 0.5917 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003486/0.1778, allocations: 311.5 kB / 0.592 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1778, allocations: 0 / 0.592 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1778, allocations: 4 kB / 0.592 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.1778, allocations: 0 / 0.592 GB, free: 14.24 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.0006886/0.1785, allocations: 0.4911 MB / 0.5924 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.1785, allocations: 8.031 kB / 0.5925 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005037/0.179, allocations: 95.8 kB / 0.5925 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.1792, allocations: 186.7 kB / 0.5927 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.703e-05/0.1793, allocations: 49.69 kB / 0.5928 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.1793, allocations: 16 kB / 0.5928 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004083/0.1797, allocations: 189.4 kB / 0.593 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1797, allocations: 0 / 0.593 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.1798, allocations: 7.984 kB / 0.593 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.1798, allocations: 4 kB / 0.593 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004287/0.1802, allocations: 183.9 kB / 0.5932 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.1815, allocations: 0.9189 MB / 0.5941 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004708/0.182, allocations: 178.6 kB / 0.5942 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.1822, allocations: 84.83 kB / 0.5943 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005864/0.1828, allocations: 0.5184 MB / 0.5948 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.1828, allocations: 34.56 kB / 0.5948 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.1828, allocations: 0 / 0.5948 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0006917/0.1835, allocations: 253.4 kB / 0.5951 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.1836, allocations: 55.36 kB / 0.5951 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.1837, allocations: 173.6 kB / 0.5953 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.1837, allocations: 25.7 kB / 0.5953 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.672e-05/0.1838, allocations: 123.7 kB / 0.5954 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.1839, allocations: 39.36 kB / 0.5955 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/0.1839, allocations: 4 kB / 0.5955 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.184, allocations: 322.8 kB / 0.5958 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.1842, allocations: 79.95 kB / 0.5959 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.1844, allocations: 99.91 kB / 0.596 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.1846, allocations: 67.97 kB / 0.596 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1846, allocations: 7.953 kB / 0.596 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004538/0.1851, allocations: 219.4 kB / 0.5962 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1851, allocations: 7.953 kB / 0.5963 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1851, allocations: 0 / 0.5963 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1851, allocations: 0 / 0.5963 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.1853, allocations: 47.94 kB / 0.5963 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1854, allocations: 0 / 0.5963 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.1855, allocations: 31.77 kB / 0.5963 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.1856, allocations: 7.984 kB / 0.5963 GB, free: 9.348 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 ($PRE.com.isOn,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.1857, allocations: 125.8 kB / 0.5965 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.1857, allocations: 11.81 kB / 0.5965 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004851/0.1862, allocations: 218.2 kB / 0.5967 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1862, allocations: 4 kB / 0.5967 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1862, allocations: 0 / 0.5967 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1862, allocations: 4 kB / 0.5967 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.1875, allocations: 0.9895 MB / 0.5977 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1875, allocations: 4 kB / 0.5977 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.1877, allocations: 35.91 kB / 0.5977 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.1877, allocations: 0 / 0.5977 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.1878, allocations: 0 / 0.5977 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.1878, allocations: 4 kB / 0.5977 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1878, allocations: 0 / 0.5977 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004593/0.1882, allocations: 293.1 kB / 0.598 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.469e-05/0.1883, allocations: 100.9 kB / 0.5981 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.1884, allocations: 8 kB / 0.5981 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.1886, allocations: 23.95 kB / 0.5981 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.1886, allocations: 11.92 kB / 0.5981 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.1887, allocations: 7.938 kB / 0.5981 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.377e-05/0.1888, allocations: 122.9 kB / 0.5982 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1888, allocations: 0 / 0.5982 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004696/0.1892, allocations: 127.9 kB / 0.5984 GB, free: 7.074 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004426/0.1897, allocations: 223.1 kB / 0.5986 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004761/0.1902, allocations: 183.9 kB / 0.5987 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1902, allocations: 0 / 0.5987 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.1904, allocations: 88.08 kB / 0.5988 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.1908, allocations: 47.86 kB / 0.5989 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006554/0.1915, allocations: 381.4 kB / 0.5992 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.1917, allocations: 0.7089 MB / 0.5999 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001519/0.1919, allocations: 31.59 kB / 0.6 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.632e-05/0.192, allocations: 23.42 kB / 0.6 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of SimCode: time 5.91e-07/0.192, allocations: 0 / 0.6 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of Templates: time 0.00712/0.1991, allocations: 4.046 MB / 0.6039 GB, free: 1.355 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)