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.000788/0.000788, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007812/0.0007812, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8439/0.8439, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7107/0.7107, allocations: 154.6 MB / 414.5 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.453e-05/1.602e-05, allocations: 6.219 kB / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002037/0.002053, allocations: 1.97 MB / 0.6213 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.003556, allocations: 1.53 MB / 0.6228 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.182e-05/0.003598, allocations: 4 kB / 0.6228 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.107e-05/0.003639, allocations: 15.8 kB / 0.6228 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.981e-05/0.003709, allocations: 55.55 kB / 0.6228 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005964/0.004305, allocations: 362.6 kB / 0.6232 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.00446, allocations: 226.9 kB / 0.6234 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.912e-05/0.004559, allocations: 41.64 kB / 0.6234 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.511e-05/0.004654, allocations: 123.8 kB / 0.6235 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.917e-05/0.004733, allocations: 63.86 kB / 0.6236 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.004759, allocations: 20 kB / 0.6236 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004403/0.0052, allocations: 415.3 kB / 0.624 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.78e-05/0.005227, allocations: 35.89 kB / 0.6241 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.7e-05/0.005274, allocations: 67.89 kB / 0.6241 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004639/0.005738, allocations: 490.6 kB / 0.6246 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.00574, allocations: 0 / 0.6246 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.52e-07/0.005741, allocations: 0 / 0.6246 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.005745, allocations: 0 / 0.6246 GB, free: 7.734 MB / 0.5886 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.0005119/0.006257, allocations: 461.2 kB / 0.625 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.006287, allocations: 12.03 kB / 0.625 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002927/0.00658, allocations: 88.73 kB / 0.6251 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.652e-05/0.006656, allocations: 121.5 kB / 0.6252 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.551e-05/0.006722, allocations: 75.97 kB / 0.6253 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.006742, allocations: 16.36 kB / 0.6253 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.00701, allocations: 238.1 kB / 0.6256 GB, free: 6.652 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.007019, allocations: 192 / 0.6256 GB, free: 6.652 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.007037, allocations: 8.375 kB / 0.6256 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.007043, allocations: 12.12 kB / 0.6256 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.007216, allocations: 127.9 kB / 0.6257 GB, free: 6.508 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008038/0.008019, allocations: 0.6027 MB / 0.6263 GB, free: 5.875 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009014/0.008921, allocations: 318.3 kB / 0.6266 GB, free: 5.555 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.009034, allocations: 76.81 kB / 0.6267 GB, free: 5.477 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/0.009243, allocations: 75.92 kB / 0.6267 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.009263, allocations: 34.56 kB / 0.6268 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.102e-06/0.009264, allocations: 0 / 0.6268 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0008523/0.01012, allocations: 382.3 kB / 0.6271 GB, free: 4.977 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.01014, allocations: 55.41 kB / 0.6272 GB, free: 4.91 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.041e-05/0.01021, allocations: 132.9 kB / 0.6273 GB, free: 4.773 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.01023, allocations: 29.69 kB / 0.6273 GB, free: 4.738 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.01029, allocations: 124.3 kB / 0.6275 GB, free: 4.613 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.01032, allocations: 47.59 kB / 0.6275 GB, free: 4.566 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-05/0.01037, allocations: 41.7 kB / 0.6275 GB, free: 4.52 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.448e-05/0.01044, allocations: 326.8 kB / 0.6279 GB, free: 4.191 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.01056, allocations: 83.89 kB / 0.6279 GB, free: 4.109 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.01068, allocations: 81.67 kB / 0.628 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.0109, allocations: 162.4 kB / 0.6282 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.0109, allocations: 0 / 0.6282 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004536/0.01135, allocations: 290.2 kB / 0.6284 GB, free: 3.578 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.427e-06/0.01136, allocations: 4 kB / 0.6285 GB, free: 3.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.01137, allocations: 0 / 0.6285 GB, free: 3.574 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003115/0.01168, allocations: 128.7 kB / 0.6286 GB, free: 3.445 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.01219, allocations: 95.95 kB / 0.6287 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004755/0.01266, allocations: 0.6343 MB / 0.6293 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.562e-05/0.01274, allocations: 23.92 kB / 0.6293 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.01275, allocations: 4 kB / 0.6293 GB, free: 2.664 MB / 0.5886 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 8.522e-05/0.01284, allocations: 126.8 kB / 0.6294 GB, free: 2.531 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.01286, allocations: 11.95 kB / 0.6294 GB, free: 2.52 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004849/0.01334, allocations: 288.7 kB / 0.6297 GB, free: 2.238 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.01335, allocations: 3.938 kB / 0.6297 GB, free: 2.234 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01335, allocations: 8 kB / 0.6297 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01335, allocations: 0 / 0.6297 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009079/0.01426, allocations: 0.6487 MB / 0.6304 GB, free: 1.531 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.01426, allocations: 11.94 kB / 0.6304 GB, free: 1.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004943/0.01476, allocations: 95.97 kB / 0.6305 GB, free: 1.426 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002562/0.01501, allocations: 128.4 kB / 0.6306 GB, free: 1.301 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.01502, allocations: 0 / 0.6306 GB, free: 1.301 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004279/0.01545, allocations: 0.6265 MB / 0.6312 GB, free: 0.6484 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01545, allocations: 3.938 kB / 0.6312 GB, free: 0.6445 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004442/0.0159, allocations: 361.8 kB / 0.6315 GB, free: 272 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.01591, allocations: 19.84 kB / 0.6316 GB, free: 252 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.01593, allocations: 4 kB / 0.6316 GB, free: 248 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.341e-05/0.01602, allocations: 15.92 kB / 0.6316 GB, free: 232 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.01605, allocations: 15.97 kB / 0.6316 GB, free: 216 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.01606, allocations: 11.94 kB / 0.6316 GB, free: 204 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.786e-05/0.0161, allocations: 91.27 kB / 0.6317 GB, free: 112 kB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.0161, allocations: 0 / 0.6317 GB, free: 112 kB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002677/0.01637, allocations: 135.6 kB / 0.6318 GB, free: 15.97 MB / 0.6042 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.0002723/0.01664, allocations: 234.7 kB / 0.6321 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004377/0.01708, allocations: 217.8 kB / 0.6323 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01708, allocations: 0 / 0.6323 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.01733, allocations: 131.9 kB / 0.6324 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.01754, allocations: 27.98 kB / 0.6324 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004488/0.01799, allocations: 352.9 kB / 0.6328 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.993e-05/0.01805, allocations: 98.78 kB / 0.6328 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.01809, allocations: 20.48 kB / 0.6329 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of SimCode: time 5.11e-07/0.01809, allocations: 0 / 0.6329 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of Templates: time 0.004024/0.02211, allocations: 4.21 MB / 0.637 GB, free: 10.66 MB / 0.6042 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.492235492914915] Failed to read output from testmodel.py, exit status != 0: 0.026701174676418304 0.034688193 0.027164819000000003 Calling exit ...