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.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.0009384/0.0009384, allocations: 72.5 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.0008443/0.0008443, allocations: 177.9 kB / 23.21 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.8594/0.8594, allocations: 177.1 MB / 203.5 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6747/0.6747, allocations: 154.5 MB / 414.5 MB, free: 0.7578 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.6193 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.951e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002058/0.002077, allocations: 1.973 MB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.003632, allocations: 1.511 MB / 0.6227 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.676e-05/0.003679, allocations: 0 / 0.6227 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.834e-05/0.003727, allocations: 19.8 kB / 0.6227 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.403e-05/0.003801, allocations: 51.55 kB / 0.6228 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007025/0.004504, allocations: 366.5 kB / 0.6231 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.004665, allocations: 227 kB / 0.6233 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.004784, allocations: 33.61 kB / 0.6233 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.004895, allocations: 131.7 kB / 0.6235 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.051e-05/0.004986, allocations: 67.86 kB / 0.6235 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.005011, allocations: 16 kB / 0.6236 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000482/0.005493, allocations: 411.4 kB / 0.6239 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.144e-05/0.005525, allocations: 39.89 kB / 0.624 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.902e-05/0.005574, allocations: 67.88 kB / 0.624 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004225/0.005996, allocations: 486.6 kB / 0.6245 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.005998, allocations: 0 / 0.6245 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.72e-07/0.005999, allocations: 0 / 0.6245 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.006003, allocations: 3.938 kB / 0.6245 GB, free: 7.824 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.0005626/0.006566, allocations: 457.2 kB / 0.625 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.006601, allocations: 13.47 kB / 0.625 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/0.007955, allocations: 324.4 kB / 0.6253 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.283e-05/0.008038, allocations: 117.7 kB / 0.6254 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.701e-05/0.008115, allocations: 71.97 kB / 0.6255 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.008143, allocations: 16.38 kB / 0.6255 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007996/0.008943, allocations: 389.3 kB / 0.6258 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.008952, allocations: 192 / 0.6258 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.008976, allocations: 4.375 kB / 0.6258 GB, free: 6.371 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.008982, allocations: 8.125 kB / 0.6259 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009943/0.009976, allocations: 371.6 kB / 0.6262 GB, free: 6 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000988/0.01096, allocations: 0.7221 MB / 0.6269 GB, free: 5.242 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002101/0.01307, allocations: 0.6463 MB / 0.6275 GB, free: 4.586 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005257/0.01359, allocations: 196.7 kB / 0.6277 GB, free: 4.391 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.92e-05/0.01366, allocations: 12 kB / 0.6277 GB, free: 4.379 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.01368, allocations: 46.48 kB / 0.6278 GB, free: 4.324 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.823e-06/0.01368, allocations: 0 / 0.6278 GB, free: 4.324 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.002156/0.01584, allocations: 0.7083 MB / 0.6285 GB, free: 3.609 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.01588, allocations: 51.41 kB / 0.6285 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.838e-05/0.01596, allocations: 134 kB / 0.6287 GB, free: 3.406 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.01599, allocations: 33.69 kB / 0.6287 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.935e-05/0.01606, allocations: 128.3 kB / 0.6288 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.222e-05/0.0161, allocations: 55.53 kB / 0.6289 GB, free: 3.184 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.827e-05/0.01618, allocations: 37.69 kB / 0.6289 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.01628, allocations: 326.8 kB / 0.6292 GB, free: 2.812 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005524/0.01684, allocations: 195.8 kB / 0.6294 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005315/0.01737, allocations: 210.4 kB / 0.6296 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009562/0.01832, allocations: 352.5 kB / 0.6299 GB, free: 2.07 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01833, allocations: 0 / 0.6299 GB, free: 2.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001261/0.01959, allocations: 0.5039 MB / 0.6304 GB, free: 1.559 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.0196, allocations: 8 kB / 0.6304 GB, free: 1.551 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01961, allocations: 0 / 0.6304 GB, free: 1.551 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003501/0.01996, allocations: 123.1 kB / 0.6306 GB, free: 1.434 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007288/0.02069, allocations: 155.9 kB / 0.6307 GB, free: 1.281 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004747/0.02116, allocations: 0.6265 MB / 0.6313 GB, free: 0.6289 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.02143, allocations: 67.8 kB / 0.6314 GB, free: 0.5625 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.02145, allocations: 11.98 kB / 0.6314 GB, free: 0.5508 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 0.0001012/0.02155, allocations: 126.8 kB / 0.6315 GB, free: 428 kB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.02158, allocations: 15.91 kB / 0.6315 GB, free: 412 kB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/0.02295, allocations: 0.5247 MB / 0.632 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.02295, allocations: 7.938 kB / 0.632 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.02296, allocations: 0 / 0.632 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.02296, allocations: 0 / 0.632 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002353/0.02531, allocations: 0.9705 MB / 0.633 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.02532, allocations: 4 kB / 0.633 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006916/0.02601, allocations: 151.9 kB / 0.6331 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000272/0.02628, allocations: 116.8 kB / 0.6333 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.0263, allocations: 7.984 kB / 0.6333 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004079/0.02671, allocations: 0.6304 MB / 0.6339 GB, free: 13.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.02671, allocations: 3.938 kB / 0.6339 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.02795, allocations: 0.5484 MB / 0.6344 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.164e-05/0.02797, allocations: 15.94 kB / 0.6344 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.02799, allocations: 11.94 kB / 0.6344 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002942/0.02829, allocations: 60.14 kB / 0.6345 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.02831, allocations: 11.98 kB / 0.6345 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.02833, allocations: 7.984 kB / 0.6345 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.012e-05/0.02837, allocations: 98.64 kB / 0.6346 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.02837, allocations: 0 / 0.6346 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003319/0.0287, allocations: 135.5 kB / 0.6347 GB, free: 13.01 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.0003322/0.02904, allocations: 230.8 kB / 0.635 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001274/0.03031, allocations: 451.4 kB / 0.6354 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.03031, allocations: 0 / 0.6354 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006572/0.03097, allocations: 239.7 kB / 0.6356 GB, free: 12.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.03126, allocations: 32.09 kB / 0.6357 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.03238, allocations: 0.4901 MB / 0.6361 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.814e-05/0.03244, allocations: 98.7 kB / 0.6362 GB, free: 11.42 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.03255, allocations: 28.47 kB / 0.6363 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of SimCode: time 6.72e-07/0.03255, allocations: 0 / 0.6363 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of Templates: time 0.004888/0.03744, allocations: 4.962 MB / 0.6411 GB, free: 6.449 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.877247472293675] Failed to read output from testmodel.py, exit status != 0: 0.042707784101367 0.050099436000000004 0.042499558 Calling exit ...