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.001339/0.001338, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001346/0.001346, allocations: 194.1 kB / 16.25 MB, free: 6.633 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.349/1.349, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.934/0.934, allocations: 135.6 MB / 425.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 68.77 kB / 0.5054 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1637, allocations: 81.02 MB / 0.5845 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003142/0.1669, allocations: 2.073 MB / 0.5865 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002384/0.1693, allocations: 1.648 MB / 0.5881 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.175e-05/0.1694, allocations: 4 kB / 0.5881 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.661e-05/0.1695, allocations: 11.86 kB / 0.5881 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.1696, allocations: 43.67 kB / 0.5882 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008888/0.1705, allocations: 319.2 kB / 0.5885 GB, free: 208 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.1707, allocations: 215.2 kB / 0.5887 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.1709, allocations: 49.47 kB / 0.5887 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.171, allocations: 83.69 kB / 0.5888 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.1711, allocations: 91.67 kB / 0.5889 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.1712, allocations: 16 kB / 0.5889 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006862/0.1719, allocations: 419.5 kB / 0.5893 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.899e-05/0.1719, allocations: 35.91 kB / 0.5894 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.712e-05/0.172, allocations: 87.66 kB / 0.5894 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005338/0.1726, allocations: 439.2 kB / 0.5899 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1726, allocations: 0 / 0.5899 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1726, allocations: 4 kB / 0.5899 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.1726, allocations: 0 / 0.5899 GB, free: 14.79 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.0008184/0.1734, allocations: 0.5108 MB / 0.5904 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.1734, allocations: 8.031 kB / 0.5904 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000536/0.174, allocations: 88.66 kB / 0.5905 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.1742, allocations: 188.1 kB / 0.5906 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.332e-05/0.1742, allocations: 50.25 kB / 0.5907 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.1743, allocations: 16.38 kB / 0.5907 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.1747, allocations: 185.4 kB / 0.5909 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1747, allocations: 0 / 0.5909 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.1747, allocations: 4 kB / 0.5909 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.1748, allocations: 4 kB / 0.5909 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004218/0.1752, allocations: 187.8 kB / 0.5911 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.1765, allocations: 0.9188 MB / 0.592 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004875/0.177, allocations: 170.6 kB / 0.5921 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.1772, allocations: 76.77 kB / 0.5922 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006581/0.1779, allocations: 0.5259 MB / 0.5927 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.1779, allocations: 38.56 kB / 0.5927 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.1779, allocations: 0 / 0.5927 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0006704/0.1786, allocations: 229.8 kB / 0.593 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.1787, allocations: 55.41 kB / 0.593 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.1788, allocations: 162.8 kB / 0.5932 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.1789, allocations: 33.7 kB / 0.5932 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.49e-05/0.1789, allocations: 115.7 kB / 0.5933 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.579e-05/0.179, allocations: 47.39 kB / 0.5934 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.257e-05/0.1791, allocations: 37.61 kB / 0.5934 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1792, allocations: 330.8 kB / 0.5937 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.1794, allocations: 71.95 kB / 0.5938 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.1796, allocations: 101.6 kB / 0.5939 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000358/0.18, allocations: 147.7 kB / 0.594 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.18, allocations: 0 / 0.594 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004788/0.1805, allocations: 219.8 kB / 0.5942 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1805, allocations: 6.5 kB / 0.5942 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1805, allocations: 0 / 0.5942 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1805, allocations: 4 kB / 0.5942 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.1808, allocations: 35.97 kB / 0.5943 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1808, allocations: 0 / 0.5943 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.181, allocations: 27.77 kB / 0.5943 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.181, allocations: 8 kB / 0.5943 GB, free: 9.812 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.0001172/0.1811, allocations: 133.8 kB / 0.5944 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.242e-05/0.1812, allocations: 19.8 kB / 0.5945 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004984/0.1817, allocations: 194.4 kB / 0.5946 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1817, allocations: 0 / 0.5946 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1817, allocations: 4 kB / 0.5946 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.1817, allocations: 3.984 kB / 0.5946 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.1832, allocations: 0.9797 MB / 0.5956 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1832, allocations: 4 kB / 0.5956 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.1834, allocations: 27.97 kB / 0.5956 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1834, allocations: 0 / 0.5956 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.1834, allocations: 8 kB / 0.5956 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1834, allocations: 0 / 0.5956 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.1834, allocations: 11.88 kB / 0.5957 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004762/0.1839, allocations: 280.8 kB / 0.5959 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/0.184, allocations: 104.8 kB / 0.596 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.184, allocations: 0 / 0.596 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.1842, allocations: 15.98 kB / 0.596 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.1843, allocations: 19.92 kB / 0.5961 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.1843, allocations: 4 kB / 0.5961 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.84e-05/0.1844, allocations: 115.2 kB / 0.5962 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1844, allocations: 0 / 0.5962 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004419/0.1848, allocations: 131.9 kB / 0.5963 GB, free: 7.57 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.0004183/0.1853, allocations: 227 kB / 0.5965 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004786/0.1857, allocations: 179.8 kB / 0.5967 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1858, allocations: 0 / 0.5967 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.186, allocations: 83.97 kB / 0.5968 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.1864, allocations: 43.95 kB / 0.5968 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000642/0.187, allocations: 368.7 kB / 0.5972 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.1873, allocations: 0.7163 MB / 0.5979 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001516/0.1875, allocations: 29.27 kB / 0.5979 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.567e-05/0.1876, allocations: 19.44 kB / 0.5979 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1876, allocations: 0 / 0.5979 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of Templates: time 0.0079/0.1955, allocations: 4.242 MB / 0.602 GB, free: 1.676 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)