Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001678/0.001679, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.001754/0.001755, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7747/0.7747, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 71.45 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1715, allocations: 80.21 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.004009/0.1756, allocations: 2.001 MB / 0.6623 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002766/0.1784, allocations: 1.671 MB / 0.6639 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.1785, allocations: 4 kB / 0.6639 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.671e-05/0.1787, allocations: 15.8 kB / 0.6639 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.1789, allocations: 55.55 kB / 0.664 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.1802, allocations: 354.8 kB / 0.6643 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003145/0.1805, allocations: 227 kB / 0.6645 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.1807, allocations: 57.41 kB / 0.6646 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.1808, allocations: 75.83 kB / 0.6647 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.181, allocations: 91.67 kB / 0.6648 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.1811, allocations: 16 kB / 0.6648 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008465/0.1819, allocations: 411.5 kB / 0.6652 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.551e-05/0.182, allocations: 47.89 kB / 0.6652 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.135e-05/0.1821, allocations: 83.66 kB / 0.6653 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005826/0.1827, allocations: 427 kB / 0.6657 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1827, allocations: 0 / 0.6657 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.215e-06/0.1827, allocations: 0 / 0.6657 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.1827, allocations: 0 / 0.6657 GB, free: 4.754 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.0009098/0.1836, allocations: 0.5196 MB / 0.6662 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.1837, allocations: 8.031 kB / 0.6662 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005912/0.1843, allocations: 88.73 kB / 0.6663 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.1844, allocations: 184.2 kB / 0.6665 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.203e-05/0.1845, allocations: 54.19 kB / 0.6665 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.1845, allocations: 20.06 kB / 0.6665 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004199/0.185, allocations: 182 kB / 0.6667 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.185, allocations: 0 / 0.6667 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.185, allocations: 4 kB / 0.6667 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.185, allocations: 4 kB / 0.6667 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.1855, allocations: 188.5 kB / 0.6669 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.1869, allocations: 0.9109 MB / 0.6678 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000503/0.1874, allocations: 173.8 kB / 0.668 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.1876, allocations: 72.83 kB / 0.668 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006467/0.1883, allocations: 0.5259 MB / 0.6685 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.1883, allocations: 38.5 kB / 0.6686 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.1883, allocations: 0 / 0.6686 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0007058/0.1891, allocations: 237.6 kB / 0.6688 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.1891, allocations: 51.41 kB / 0.6689 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.1892, allocations: 162.5 kB / 0.669 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.1893, allocations: 29.7 kB / 0.669 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.197e-05/0.1894, allocations: 115.8 kB / 0.6691 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/0.1894, allocations: 47.3 kB / 0.6692 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.916e-05/0.1895, allocations: 33.7 kB / 0.6692 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1896, allocations: 334.8 kB / 0.6695 GB, free: 416 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.1898, allocations: 67.97 kB / 0.6696 GB, free: 348 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.1901, allocations: 108.2 kB / 0.6697 GB, free: 236 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.1904, allocations: 149.6 kB / 0.6699 GB, free: 80 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1904, allocations: 0 / 0.6699 GB, free: 80 kB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000519/0.191, allocations: 215.5 kB / 0.6701 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.191, allocations: 8 kB / 0.6701 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.191, allocations: 3.938 kB / 0.6701 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.191, allocations: 0 / 0.6701 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.1913, allocations: 39.91 kB / 0.6701 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.1913, allocations: 4 kB / 0.6701 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.1915, allocations: 23.83 kB / 0.6701 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.1915, allocations: 12.02 kB / 0.6701 GB, free: 15.77 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.0001239/0.1916, allocations: 130.6 kB / 0.6703 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.881e-05/0.1917, allocations: 15.81 kB / 0.6703 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005079/0.1922, allocations: 190.4 kB / 0.6705 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.1922, allocations: 8 kB / 0.6705 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1922, allocations: 0 / 0.6705 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1923, allocations: 0 / 0.6705 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.1937, allocations: 0.9844 MB / 0.6714 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.1937, allocations: 0 / 0.6714 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.1939, allocations: 39.91 kB / 0.6715 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.194, allocations: 0 / 0.6715 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.194, allocations: 4 kB / 0.6715 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.033e-05/0.194, allocations: 7.938 kB / 0.6715 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.194, allocations: 0 / 0.6715 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005156/0.1945, allocations: 288.4 kB / 0.6718 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/0.1946, allocations: 93 kB / 0.6719 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.697e-05/0.1946, allocations: 4 kB / 0.6719 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.1949, allocations: 23.92 kB / 0.6719 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.1949, allocations: 7.984 kB / 0.6719 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.195, allocations: 7.984 kB / 0.6719 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.269e-05/0.1951, allocations: 118.5 kB / 0.672 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1951, allocations: 3.938 kB / 0.672 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004844/0.1955, allocations: 135.8 kB / 0.6721 GB, free: 13.52 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.000522/0.1961, allocations: 227 kB / 0.6724 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005052/0.1966, allocations: 179.8 kB / 0.6725 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1966, allocations: 0 / 0.6725 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.1968, allocations: 79.91 kB / 0.6726 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.1973, allocations: 44.14 kB / 0.6726 GB, free: 13 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007107/0.198, allocations: 342.4 kB / 0.673 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.1983, allocations: 0.7125 MB / 0.6737 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.978e-05/0.1984, allocations: 23.44 kB / 0.6737 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of SimCode: time 3.5e-07/0.1984, allocations: 0 / 0.6737 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of Templates: time 0.007051/0.2054, allocations: 3.859 MB / 0.6775 GB, free: 8.031 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)