Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007181/0.0007181, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008915/0.00161, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006841/0.0006841, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008698/0.001554, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.013/1.013, allocations: 177.1 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09095/1.104, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42: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 4.0.0-master/package.mo): time 0.815/0.815, allocations: 155.3 MB / 399.2 MB, free: 15.93 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/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 NFInstanceAPI.mkTop(): time 0.2751/1.09, allocations: 49.13 MB / 448.4 MB, free: 6.016 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel") translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 449.7 MB, free: 4.75 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196e-05/1.324e-05, allocations: 5.922 kB / 449.7 MB, free: 4.746 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.005775/0.005788, allocations: 7.304 MB / 457 MB, free: 13.48 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002666/0.008454, allocations: 2.517 MB / 459.5 MB, free: 10.98 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002267/0.00868, allocations: 23.81 kB / 459.5 MB, free: 10.95 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003604/0.009041, allocations: 128.6 kB / 459.6 MB, free: 10.83 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007043/0.009745, allocations: 0.5328 MB / 460.2 MB, free: 10.3 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.01018, allocations: 354.3 kB / 460.5 MB, free: 9.953 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001011/0.01119, allocations: 1.088 MB / 461.6 MB, free: 8.859 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005225/0.01172, allocations: 306 kB / 461.9 MB, free: 8.566 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008693/0.01259, allocations: 0.588 MB / 462.5 MB, free: 7.992 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002689/0.01286, allocations: 259.1 kB / 462.8 MB, free: 7.738 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.588e-05/0.01289, allocations: 33.22 kB / 462.8 MB, free: 7.707 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.01308, allocations: 147.6 kB / 462.9 MB, free: 7.562 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002766/0.01336, allocations: 87.66 kB / 463 MB, free: 7.477 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.01347, allocations: 124.5 kB / 463.1 MB, free: 7.355 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004167/0.01389, allocations: 362.7 kB / 463.5 MB, free: 7 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.326e-05/0.0139, allocations: 0.9062 kB / 463.5 MB, free: 7 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.0139, allocations: 0 / 463.5 MB, free: 7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.01392, allocations: 0 / 463.5 MB, free: 7 MB / 442.7 MB 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.0007856/0.0147, allocations: 0.7382 MB / 464.2 MB, free: 6.234 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.01473, allocations: 8.031 kB / 464.2 MB, free: 6.227 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.01489, allocations: 139.2 kB / 464.4 MB, free: 6.074 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.01522, allocations: 314.1 kB / 464.7 MB, free: 5.746 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.01524, allocations: 25.88 kB / 464.7 MB, free: 5.723 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.01529, allocations: 32.33 kB / 464.7 MB, free: 5.691 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.01558, allocations: 344.8 kB / 465.1 MB, free: 5.309 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.0156, allocations: 7.922 kB / 465.1 MB, free: 5.301 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.01562, allocations: 12 kB / 465.1 MB, free: 5.289 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/0.01564, allocations: 12.73 kB / 465.1 MB, free: 5.277 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.01575, allocations: 67.34 kB / 465.2 MB, free: 5.215 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008467/0.01659, allocations: 0.9317 MB / 466.1 MB, free: 4.242 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.01674, allocations: 79.88 kB / 466.2 MB, free: 4.156 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.152e-05/0.01677, allocations: 25.09 kB / 466.2 MB, free: 4.129 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.607e-05/0.01682, allocations: 16.88 kB / 466.2 MB, free: 4.113 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.01704, allocations: 185 kB / 466.4 MB, free: 3.898 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.01704, allocations: 1.438 kB / 466.4 MB, free: 3.898 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001554/0.01719, allocations: 121.4 kB / 466.5 MB, free: 3.773 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.01722, allocations: 51.41 kB / 466.6 MB, free: 3.711 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.01739, allocations: 304.5 kB / 466.9 MB, free: 3.402 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.01741, allocations: 30.55 kB / 466.9 MB, free: 3.367 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.969e-05/0.01749, allocations: 193 kB / 467.1 MB, free: 3.176 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.01752, allocations: 56.14 kB / 467.1 MB, free: 3.121 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.747e-05/0.01758, allocations: 53.67 kB / 467.2 MB, free: 3.062 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.375e-05/0.01766, allocations: 347.7 kB / 467.5 MB, free: 2.715 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.01e-05/0.0177, allocations: 49.69 kB / 467.6 MB, free: 2.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.128e-05/0.01778, allocations: 132 kB / 467.7 MB, free: 2.496 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.01789, allocations: 170.8 kB / 467.9 MB, free: 2.293 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01789, allocations: 0.5938 kB / 467.9 MB, free: 2.293 MB / 442.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002933/0.01819, allocations: 216.1 kB / 468.1 MB, free: 2.066 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.01822, allocations: 35.27 kB / 468.1 MB, free: 2.027 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.01822, allocations: 4 kB / 468.1 MB, free: 2.023 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.01823, allocations: 4 kB / 468.1 MB, free: 2.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.0184, allocations: 65.33 kB / 468.2 MB, free: 1.957 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.0184, allocations: 4 kB / 468.2 MB, free: 1.953 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.0185, allocations: 31.78 kB / 468.2 MB, free: 1.922 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.01852, allocations: 16.55 kB / 468.2 MB, free: 1.906 MB / 442.7 MB 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 7.608e-05/0.0186, allocations: 125.4 kB / 468.4 MB, free: 1.773 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.01862, allocations: 29.94 kB / 468.4 MB, free: 1.746 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.01875, allocations: 119.4 kB / 468.5 MB, free: 1.621 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.01875, allocations: 1.469 kB / 468.5 MB, free: 1.621 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.01875, allocations: 0 / 468.5 MB, free: 1.621 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001383/0.01889, allocations: 399.8 kB / 468.9 MB, free: 1.145 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.01905, allocations: 176.5 kB / 469.1 MB, free: 0.9531 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01905, allocations: 1.375 kB / 469.1 MB, free: 0.9531 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.462e-05/0.01915, allocations: 35.92 kB / 469.1 MB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.01921, allocations: 39.73 kB / 469.2 MB, free: 0.8789 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.01921, allocations: 4.906 kB / 469.2 MB, free: 0.875 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.01922, allocations: 0 / 469.2 MB, free: 0.875 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01922, allocations: 6.078 kB / 469.2 MB, free: 0.8711 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01922, allocations: 7.922 kB / 469.2 MB, free: 0.8633 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.01937, allocations: 155.7 kB / 469.3 MB, free: 0.6914 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.0194, allocations: 0 / 469.3 MB, free: 0.6914 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.864e-05/0.01949, allocations: 15.98 kB / 469.3 MB, free: 0.6758 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.01952, allocations: 13.09 kB / 469.4 MB, free: 0.6641 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.01954, allocations: 11.98 kB / 469.4 MB, free: 0.6523 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.682e-05/0.01961, allocations: 111.4 kB / 469.5 MB, free: 0.543 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01961, allocations: 4.594 kB / 469.5 MB, free: 0.5391 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000204/0.01982, allocations: 111.8 kB / 469.6 MB, free: 440 kB / 442.7 MB 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.0001535/0.01997, allocations: 126.3 kB / 469.7 MB, free: 312 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.02013, allocations: 182.4 kB / 469.9 MB, free: 112 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.02013, allocations: 8 kB / 469.9 MB, free: 104 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.231e-05/0.02018, allocations: 40.78 kB / 469.9 MB, free: 60 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/0.0206, allocations: 234.4 kB / 470.2 MB, free: 15.85 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.023, allocations: 0.5923 MB / 470.8 MB, free: 15.23 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.256e-05/0.02305, allocations: 92.61 kB / 470.8 MB, free: 15.12 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.02319, allocations: 60.06 kB / 470.9 MB, free: 15.07 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.02343, allocations: 170.3 kB / 471.1 MB, free: 14.91 MB / 458.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02343, allocations: 0 / 471.1 MB, free: 14.91 MB / 458.7 MB Notification: Performance of Templates: time 0.008768/0.0322, allocations: 7.513 MB / 478.6 MB, free: 7.93 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8443013597279787]