Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.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.0009379/0.0009379, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001065/0.001065, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 1.05/1.05, allocations: 177.1 MB / 204.5 MB, free: 5.516 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-545:108: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-545:116: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.7496/0.7496, allocations: 154.6 MB / 415.6 MB, free: 0.5352 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.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel") translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.5215 GB, free: 1.969 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.748e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.965 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.00735/0.007378, allocations: 7.187 MB / 0.5285 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003466/0.01084, allocations: 2.466 MB / 0.5309 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004942/0.01134, allocations: 23.81 kB / 0.531 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004907/0.01183, allocations: 132.1 kB / 0.5311 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001184/0.01301, allocations: 0.5342 MB / 0.5316 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007044/0.01372, allocations: 356.6 kB / 0.532 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001295/0.01501, allocations: 1.098 MB / 0.533 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004626/0.01547, allocations: 269.1 kB / 0.5333 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009726/0.01645, allocations: 0.5609 MB / 0.5338 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000334/0.01678, allocations: 286.1 kB / 0.5341 GB, free: 5.09 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.439e-05/0.01683, allocations: 32 kB / 0.5341 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002433/0.01707, allocations: 131.7 kB / 0.5343 GB, free: 4.93 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.567e-05/0.01715, allocations: 103.6 kB / 0.5344 GB, free: 4.828 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.01728, allocations: 147.7 kB / 0.5345 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000523/0.01781, allocations: 402.6 kB / 0.5349 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.01781, allocations: 0 / 0.5349 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.22e-07/0.01781, allocations: 2.438 kB / 0.5349 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.01782, allocations: 0 / 0.5349 GB, free: 4.289 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0008502/0.01867, allocations: 0.7736 MB / 0.5356 GB, free: 3.473 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.0187, allocations: 8.031 kB / 0.5356 GB, free: 3.465 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.01888, allocations: 74.03 kB / 0.5357 GB, free: 3.395 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004068/0.01929, allocations: 362.7 kB / 0.5361 GB, free: 3.016 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.01931, allocations: 16.88 kB / 0.5361 GB, free: 3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.01935, allocations: 32.33 kB / 0.5361 GB, free: 2.969 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.01969, allocations: 359.2 kB / 0.5365 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.01971, allocations: 2.438 kB / 0.5365 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.01973, allocations: 15.98 kB / 0.5365 GB, free: 2.551 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.66e-05/0.01976, allocations: 4 kB / 0.5365 GB, free: 2.547 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.01988, allocations: 81.36 kB / 0.5366 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.02096, allocations: 1.292 MB / 0.5378 GB, free: 1.117 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.02113, allocations: 91.52 kB / 0.5379 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.955e-05/0.02117, allocations: 39.69 kB / 0.5379 GB, free: 0.9766 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.445e-05/0.02123, allocations: 9.281 kB / 0.5379 GB, free: 0.9688 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.0214, allocations: 191.8 kB / 0.5381 GB, free: 0.7422 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 2.795e-06/0.0214, allocations: 0 / 0.5381 GB, free: 0.7422 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0002378/0.02164, allocations: 145.3 kB / 0.5383 GB, free: 0.5938 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.02166, allocations: 52.06 kB / 0.5383 GB, free: 0.5312 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.02195, allocations: 358.6 kB / 0.5387 GB, free: 176 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.02198, allocations: 33.7 kB / 0.5387 GB, free: 136 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.02211, allocations: 272.7 kB / 0.539 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.02215, allocations: 51.58 kB / 0.539 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.177e-05/0.02221, allocations: 63.33 kB / 0.5391 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.02233, allocations: 0.5155 MB / 0.5396 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.176e-05/0.02238, allocations: 50.3 kB / 0.5396 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.205e-05/0.02247, allocations: 158.2 kB / 0.5398 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.02262, allocations: 207.5 kB / 0.54 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.02262, allocations: 0.5938 kB / 0.54 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002393/0.02286, allocations: 259.8 kB / 0.5402 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.02289, allocations: 33.7 kB / 0.5402 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.0229, allocations: 11.98 kB / 0.5403 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.02291, allocations: 4 kB / 0.5403 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.02304, allocations: 61.22 kB / 0.5403 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.02305, allocations: 7.984 kB / 0.5403 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.02316, allocations: 25.2 kB / 0.5403 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.02318, allocations: 11.98 kB / 0.5404 GB, free: 14.27 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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.0001057/0.02328, allocations: 180.4 kB / 0.5405 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.02332, allocations: 41.92 kB / 0.5406 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.02351, allocations: 127 kB / 0.5407 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.02351, allocations: 0 / 0.5407 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.02351, allocations: 3.938 kB / 0.5407 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001818/0.02369, allocations: 423.7 kB / 0.5411 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.02392, allocations: 213.9 kB / 0.5413 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.02392, allocations: 0 / 0.5413 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.193e-05/0.024, allocations: 25.42 kB / 0.5413 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.02401, allocations: 0 / 0.5413 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.02402, allocations: 4 kB / 0.5413 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.02402, allocations: 0 / 0.5413 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.02402, allocations: 1.344 kB / 0.5413 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.02423, allocations: 204.1 kB / 0.5415 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.726e-05/0.0243, allocations: 43.78 kB / 0.5416 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.02433, allocations: 8.844 kB / 0.5416 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.02444, allocations: 11.98 kB / 0.5416 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.02448, allocations: 17.25 kB / 0.5416 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.0245, allocations: 4 kB / 0.5416 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00012/0.02462, allocations: 230.9 kB / 0.5418 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.02462, allocations: 5.281 kB / 0.5418 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002684/0.02489, allocations: 107.8 kB / 0.5419 GB, free: 12.52 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000367/0.02525, allocations: 153.6 kB / 0.5421 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001901/0.02544, allocations: 187.5 kB / 0.5423 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.02544, allocations: 0 / 0.5423 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.204e-05/0.0255, allocations: 47.59 kB / 0.5423 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005448/0.02604, allocations: 203.5 kB / 0.5425 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.02711, allocations: 0.6322 MB / 0.5431 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.578e-05/0.02716, allocations: 92.61 kB / 0.5432 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001474/0.02731, allocations: 53.25 kB / 0.5433 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000275/0.02759, allocations: 219.1 kB / 0.5435 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of SimCode: time 8.61e-07/0.02759, allocations: 0 / 0.5435 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of Templates: time 0.009889/0.03748, allocations: 7.382 MB / 0.5507 GB, free: 3.816 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & ./IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.972498580813408]