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.001332/0.001332, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001309/0.001309, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.028/1.028, allocations: 177.1 MB / 203.8 MB, free: 5.637 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-535:34: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-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 master/package.mo): time 0.7764/0.7764, allocations: 154.8 MB / 415.1 MB, free: 480 kB / 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.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.422e-06/1.422e-06, allocations: 0 / 0.5205 GB, free: 2.293 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.569e-05, allocations: 7.391 kB / 0.5206 GB, free: 2.289 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01154/0.01156, allocations: 14.95 MB / 0.5352 GB, free: 3.324 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004397/0.01596, allocations: 3.713 MB / 0.5388 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004787/0.01644, allocations: 23.81 kB / 0.5388 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006059/0.01704, allocations: 202.6 kB / 0.539 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.01829, allocations: 0.6458 MB / 0.5396 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007843/0.01907, allocations: 412.9 kB / 0.54 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001274/0.02035, allocations: 1.104 MB / 0.5411 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000373/0.02072, allocations: 273.7 kB / 0.5414 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009048/0.02162, allocations: 0.5751 MB / 0.5419 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003355/0.02196, allocations: 283.1 kB / 0.5422 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 4.778e-05/0.02201, allocations: 33 kB / 0.5422 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004925/0.0225, allocations: 227.4 kB / 0.5424 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.0226, allocations: 95.61 kB / 0.5425 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.02276, allocations: 154.2 kB / 0.5427 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0006708/0.02343, allocations: 458.5 kB / 0.5431 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.02343, allocations: 0 / 0.5431 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.282e-06/0.02343, allocations: 0 / 0.5431 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.02344, allocations: 0 / 0.5431 GB, free: 11.2 MB / 0.5105 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.0009239/0.02436, allocations: 0.787 MB / 0.5439 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.0244, allocations: 8.031 kB / 0.5439 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.0246, allocations: 72.58 kB / 0.544 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005918/0.0252, allocations: 415.3 kB / 0.5444 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.02522, allocations: 20.88 kB / 0.5444 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.086e-05/0.02527, allocations: 32.36 kB / 0.5444 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004398/0.02571, allocations: 368.1 kB / 0.5448 GB, free: 9.402 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.02573, allocations: 3.938 kB / 0.5448 GB, free: 9.398 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.02575, allocations: 13.22 kB / 0.5448 GB, free: 9.387 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.242e-05/0.02579, allocations: 11.98 kB / 0.5448 GB, free: 9.375 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.02596, allocations: 86.88 kB / 0.5449 GB, free: 9.289 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.02719, allocations: 1.293 MB / 0.5461 GB, free: 7.934 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.02743, allocations: 99.16 kB / 0.5462 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.161e-05/0.02749, allocations: 36.17 kB / 0.5463 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.039e-05/0.02758, allocations: 8.5 kB / 0.5463 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002025/0.02778, allocations: 209.9 kB / 0.5465 GB, free: 7.535 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 3.707e-06/0.02779, allocations: 4 kB / 0.5465 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.0003264/0.02811, allocations: 149.4 kB / 0.5466 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.02816, allocations: 51.41 kB / 0.5467 GB, free: 7.316 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.02844, allocations: 358.2 kB / 0.547 GB, free: 6.957 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.02846, allocations: 29.7 kB / 0.547 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.02861, allocations: 271.9 kB / 0.5473 GB, free: 6.652 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.02866, allocations: 55.52 kB / 0.5473 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.949e-05/0.02873, allocations: 62.44 kB / 0.5474 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.02887, allocations: 0.5195 MB / 0.5479 GB, free: 6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.963e-05/0.02895, allocations: 53.69 kB / 0.548 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.02907, allocations: 170.1 kB / 0.5481 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.02925, allocations: 201.8 kB / 0.5483 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.02926, allocations: 5.031 kB / 0.5483 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000296/0.02955, allocations: 278.1 kB / 0.5486 GB, free: 5.188 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.02959, allocations: 33.69 kB / 0.5486 GB, free: 5.148 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.0296, allocations: 4 kB / 0.5486 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.02961, allocations: 4 kB / 0.5486 GB, free: 5.141 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.02977, allocations: 56.72 kB / 0.5487 GB, free: 5.086 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.02977, allocations: 6.969 kB / 0.5487 GB, free: 5.082 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.0299, allocations: 27.84 kB / 0.5487 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.02992, allocations: 15.98 kB / 0.5487 GB, free: 5.039 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.0001123/0.03003, allocations: 176.4 kB / 0.5489 GB, free: 4.855 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/0.03007, allocations: 35.81 kB / 0.5489 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.03029, allocations: 138.4 kB / 0.5491 GB, free: 4.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.0303, allocations: 4.969 kB / 0.5491 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.03031, allocations: 0 / 0.5491 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002384/0.03055, allocations: 435.7 kB / 0.5495 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/0.03084, allocations: 257.1 kB / 0.5497 GB, free: 3.879 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.03085, allocations: 0 / 0.5497 GB, free: 3.879 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.468e-05/0.03094, allocations: 28.67 kB / 0.5498 GB, free: 3.852 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.03094, allocations: 2.094 kB / 0.5498 GB, free: 3.852 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.03096, allocations: 11.98 kB / 0.5498 GB, free: 3.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.03096, allocations: 0 / 0.5498 GB, free: 3.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.03097, allocations: 0 / 0.5498 GB, free: 3.84 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.03124, allocations: 198.8 kB / 0.55 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.629e-05/0.03133, allocations: 51.72 kB / 0.55 GB, free: 3.574 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.03136, allocations: 8.969 kB / 0.55 GB, free: 3.566 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.03147, allocations: 15.98 kB / 0.55 GB, free: 3.551 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.03153, allocations: 17.25 kB / 0.55 GB, free: 3.535 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.03155, allocations: 15.98 kB / 0.5501 GB, free: 3.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001494/0.0317, allocations: 235 kB / 0.5503 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.1e-08/0.0317, allocations: 3.188 kB / 0.5503 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003409/0.03204, allocations: 131.6 kB / 0.5504 GB, free: 3.16 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.0002933/0.03234, allocations: 183 kB / 0.5506 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002485/0.03258, allocations: 192.5 kB / 0.5508 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.03259, allocations: 0 / 0.5508 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.0327, allocations: 51.59 kB / 0.5508 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005769/0.03327, allocations: 202.9 kB / 0.551 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.03447, allocations: 0.6432 MB / 0.5516 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.201e-05/0.03453, allocations: 104.3 kB / 0.5517 GB, free: 1.793 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001648/0.0347, allocations: 59.06 kB / 0.5518 GB, free: 1.738 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.922e-05/0.03475, allocations: 31 kB / 0.5518 GB, free: 1.711 MB / 0.5105 GB Notification: Performance of SimCode: time 1.232e-06/0.03476, allocations: 0 / 0.5518 GB, free: 1.711 MB / 0.5105 GB Notification: Performance of Templates: time 0.009629/0.04439, allocations: 7.243 MB / 0.5589 GB, free: 10.67 MB / 0.5261 GB " [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.9625658800359815]