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.001387/0.001387, allocations: 100.1 kB / 15.88 MB, free: 12 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.001658/0.001658, allocations: 197.6 kB / 16.79 MB, free: 6.809 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.35/1.35, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9006/0.9006, allocations: 135.1 MB / 425.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 60.81 kB / 0.5053 GB, free: 5.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1746, allocations: 80.93 MB / 0.5844 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003361/0.178, allocations: 2.058 MB / 0.5864 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002552/0.1806, allocations: 1.742 MB / 0.5881 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.333e-05/0.1807, allocations: 0 / 0.5881 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.953e-05/0.1808, allocations: 15.91 kB / 0.5881 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.1809, allocations: 47.61 kB / 0.5881 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009168/0.1818, allocations: 287.2 kB / 0.5884 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.1821, allocations: 207.1 kB / 0.5886 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.1822, allocations: 49.44 kB / 0.5886 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.1823, allocations: 79.77 kB / 0.5887 GB, free: 484 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.1825, allocations: 83.67 kB / 0.5888 GB, free: 400 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.1825, allocations: 15.94 kB / 0.5888 GB, free: 384 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007687/0.1833, allocations: 387.5 kB / 0.5892 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.394e-05/0.1833, allocations: 39.84 kB / 0.5892 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.951e-05/0.1834, allocations: 83.66 kB / 0.5893 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004183/0.1839, allocations: 315.5 kB / 0.5896 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1839, allocations: 4 kB / 0.5896 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.32e-07/0.1839, allocations: 0 / 0.5896 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.1839, allocations: 0 / 0.5896 GB, free: 15.56 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.0008931/0.1848, allocations: 0.5109 MB / 0.5901 GB, free: 15 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.1848, allocations: 15.97 kB / 0.5901 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005563/0.1854, allocations: 84.66 kB / 0.5902 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.1856, allocations: 188.2 kB / 0.5904 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.975e-05/0.1857, allocations: 50.25 kB / 0.5904 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/0.1857, allocations: 12.38 kB / 0.5904 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004087/0.1861, allocations: 181.4 kB / 0.5906 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1862, allocations: 0 / 0.5906 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.1862, allocations: 8 kB / 0.5906 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.1862, allocations: 4 kB / 0.5906 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004344/0.1866, allocations: 183.9 kB / 0.5908 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.1881, allocations: 0.9227 MB / 0.5917 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004853/0.1886, allocations: 166.6 kB / 0.5919 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.1888, allocations: 80.83 kB / 0.5919 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006824/0.1895, allocations: 0.5259 MB / 0.5925 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.1895, allocations: 34.56 kB / 0.5925 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.753e-06/0.1895, allocations: 0 / 0.5925 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0006902/0.1902, allocations: 240.3 kB / 0.5927 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.1903, allocations: 51.66 kB / 0.5928 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.1904, allocations: 162.8 kB / 0.5929 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.1905, allocations: 25.7 kB / 0.5929 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.486e-05/0.1906, allocations: 119.8 kB / 0.5931 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/0.1906, allocations: 43.3 kB / 0.5931 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.223e-05/0.1907, allocations: 45.61 kB / 0.5931 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1908, allocations: 322.8 kB / 0.5935 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.191, allocations: 83.95 kB / 0.5935 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.1912, allocations: 97.62 kB / 0.5936 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/0.1916, allocations: 155.5 kB / 0.5938 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1916, allocations: 0 / 0.5938 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004719/0.1921, allocations: 219.2 kB / 0.594 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1921, allocations: 6.344 kB / 0.594 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1921, allocations: 0 / 0.594 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1922, allocations: 0 / 0.594 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/0.1924, allocations: 39.97 kB / 0.594 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1924, allocations: 4 kB / 0.594 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.1926, allocations: 23.86 kB / 0.5941 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.1927, allocations: 8 kB / 0.5941 GB, free: 10.58 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.0001251/0.1928, allocations: 133.7 kB / 0.5942 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/0.1928, allocations: 15.75 kB / 0.5942 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004768/0.1933, allocations: 190.4 kB / 0.5944 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1933, allocations: 4 kB / 0.5944 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1934, allocations: 0 / 0.5944 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1934, allocations: 3.984 kB / 0.5944 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.1947, allocations: 0.9812 MB / 0.5953 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1948, allocations: 0 / 0.5953 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.195, allocations: 31.97 kB / 0.5954 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.195, allocations: 0 / 0.5954 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.195, allocations: 4 kB / 0.5954 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.195, allocations: 4.062 kB / 0.5954 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.195, allocations: 3.938 kB / 0.5954 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000489/0.1955, allocations: 293 kB / 0.5957 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.1956, allocations: 96.84 kB / 0.5958 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.1956, allocations: 8 kB / 0.5958 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.1958, allocations: 11.98 kB / 0.5958 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.1959, allocations: 15.92 kB / 0.5958 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.1959, allocations: 4 kB / 0.5958 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.485e-05/0.196, allocations: 119.2 kB / 0.5959 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.196, allocations: 0 / 0.5959 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004744/0.1965, allocations: 123.9 kB / 0.596 GB, free: 8.352 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.0004442/0.1969, allocations: 227 kB / 0.5962 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004597/0.1974, allocations: 175.9 kB / 0.5964 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.1974, allocations: 0 / 0.5964 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.1976, allocations: 87.83 kB / 0.5965 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.1981, allocations: 48.09 kB / 0.5965 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006968/0.1988, allocations: 391.2 kB / 0.5969 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.1991, allocations: 0.7128 MB / 0.5976 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9e-05/0.1992, allocations: 19.44 kB / 0.5976 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1992, allocations: 0 / 0.5976 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of Templates: time 0.006179/0.2054, allocations: 3.846 MB / 0.6014 GB, free: 2.832 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)