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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 79.81 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 157.6 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.394/1.394, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.864/0.864, allocations: 101.3 MB / 361.1 MB, free: 9.551 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 71.48 kB / 0.5356 GB, free: 5.266 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1576, allocations: 85.88 MB / 0.6195 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003454/0.1611, allocations: 1.968 MB / 0.6214 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002526/0.1636, allocations: 1.516 MB / 0.6229 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.183e-05/0.1637, allocations: 0 / 0.6229 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.085e-05/0.1638, allocations: 23.78 kB / 0.6229 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.1639, allocations: 47.56 kB / 0.623 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.165, allocations: 358.8 kB / 0.6233 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002721/0.1653, allocations: 223 kB / 0.6235 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.1654, allocations: 41.59 kB / 0.6236 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.1656, allocations: 75.84 kB / 0.6236 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.1657, allocations: 83.66 kB / 0.6237 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/0.1657, allocations: 20 kB / 0.6237 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008425/0.1666, allocations: 407.5 kB / 0.6241 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.301e-05/0.1666, allocations: 39.89 kB / 0.6242 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.073e-05/0.1667, allocations: 83.66 kB / 0.6242 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006754/0.1674, allocations: 430.7 kB / 0.6247 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.1674, allocations: 4 kB / 0.6247 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1674, allocations: 3.938 kB / 0.6247 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.1674, allocations: 0 / 0.6247 GB, free: 12.27 MB / 0.5294 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.0008827/0.1683, allocations: 453.2 kB / 0.6251 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1683, allocations: 12.03 kB / 0.6251 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005942/0.1689, allocations: 92.73 kB / 0.6252 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.1691, allocations: 122.3 kB / 0.6253 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.1692, allocations: 79.95 kB / 0.6254 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.1692, allocations: 20.12 kB / 0.6254 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004848/0.1697, allocations: 245.9 kB / 0.6256 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1697, allocations: 0 / 0.6256 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.1697, allocations: 11.94 kB / 0.6257 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.1697, allocations: 8 kB / 0.6257 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003167/0.1701, allocations: 127.9 kB / 0.6258 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.1715, allocations: 0.6027 MB / 0.6264 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00208/0.1735, allocations: 338.1 kB / 0.6267 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002128/0.1738, allocations: 76.83 kB / 0.6268 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004514/0.1742, allocations: 71.91 kB / 0.6268 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.1742, allocations: 38.56 kB / 0.6269 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.1742, allocations: 3.938 kB / 0.6269 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.001739/0.176, allocations: 380.8 kB / 0.6272 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.176, allocations: 51.69 kB / 0.6273 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.1762, allocations: 134 kB / 0.6274 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.1762, allocations: 29.7 kB / 0.6274 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.1763, allocations: 120.4 kB / 0.6276 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.45e-05/0.1764, allocations: 59.52 kB / 0.6276 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.057e-05/0.1764, allocations: 41.69 kB / 0.6277 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1766, allocations: 318.8 kB / 0.628 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.1768, allocations: 79.95 kB / 0.628 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.1771, allocations: 87.95 kB / 0.6281 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004315/0.1775, allocations: 151.4 kB / 0.6283 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1775, allocations: 4 kB / 0.6283 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009443/0.1785, allocations: 286.2 kB / 0.6285 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1785, allocations: 4 kB / 0.6285 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.1785, allocations: 4 kB / 0.6286 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006174/0.1791, allocations: 128.1 kB / 0.6287 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/0.1804, allocations: 103.9 kB / 0.6288 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008945/0.1812, allocations: 0.6342 MB / 0.6294 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.1814, allocations: 19.92 kB / 0.6294 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.1814, allocations: 8 kB / 0.6294 GB, free: 7.172 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001497/0.1816, allocations: 126.9 kB / 0.6295 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/0.1816, allocations: 15.83 kB / 0.6296 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009188/0.1826, allocations: 284.3 kB / 0.6298 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.1826, allocations: 4 kB / 0.6298 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1826, allocations: 4 kB / 0.6298 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1826, allocations: 0 / 0.6298 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/0.1845, allocations: 0.6486 MB / 0.6305 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1845, allocations: 0 / 0.6305 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/0.1857, allocations: 96.02 kB / 0.6306 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004885/0.1862, allocations: 120.8 kB / 0.6307 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.1862, allocations: 7.984 kB / 0.6307 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008402/0.187, allocations: 0.6381 MB / 0.6313 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.187, allocations: 0 / 0.6313 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009173/0.188, allocations: 361.8 kB / 0.6316 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.188, allocations: 11.89 kB / 0.6317 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.188, allocations: 12.27 kB / 0.6317 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.1882, allocations: 15.98 kB / 0.6317 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.1883, allocations: 11.98 kB / 0.6317 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.1883, allocations: 7.984 kB / 0.6317 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.115e-05/0.1884, allocations: 101.6 kB / 0.6318 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1884, allocations: 0 / 0.6318 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005037/0.1889, allocations: 131.6 kB / 0.6319 GB, free: 4.484 MB / 0.5294 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004965/0.1894, allocations: 242.6 kB / 0.6322 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00092/0.1903, allocations: 211.8 kB / 0.6324 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1903, allocations: 0 / 0.6324 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005938/0.1909, allocations: 127.9 kB / 0.6325 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.1912, allocations: 30.11 kB / 0.6325 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007817/0.192, allocations: 337.5 kB / 0.6328 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.1921, allocations: 98.78 kB / 0.6329 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.072e-05/0.1922, allocations: 16.2 kB / 0.6329 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.015e-05/0.1923, allocations: 16.5 kB / 0.633 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.1923, allocations: 3.938 kB / 0.633 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of Templates: time 0.009302/0.2016, allocations: 4.451 MB / 0.6373 GB, free: 14.98 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 660] (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 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.655651052016765] Failed to read output from testmodel.py, exit status != 0: 0.2099350590724498 0.226505753 0.055882563 Calling exit ...