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.0009164/0.0009164, allocations: 88.23 kB / 19.64 MB, free: 308 kB / 13.93 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.0009504/0.0009504, allocations: 168.9 kB / 23.02 MB, free: 1.57 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.064/1.064, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.7754/0.7754, allocations: 154.8 MB / 414.7 MB, free: 0.4961 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.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.453e-06/1.453e-06, allocations: 0 / 0.5205 GB, free: 1.961 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/2.991e-05, allocations: 4.5 kB / 0.5205 GB, free: 1.957 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.006556/0.006586, allocations: 7.262 MB / 0.5276 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002997/0.009583, allocations: 2.482 MB / 0.5301 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002747/0.009858, allocations: 23.81 kB / 0.5301 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003973/0.01026, allocations: 129.7 kB / 0.5302 GB, free: 8.062 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000856/0.01111, allocations: 0.5386 MB / 0.5307 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005328/0.01164, allocations: 365.4 kB / 0.5311 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0009479/0.01259, allocations: 1.092 MB / 0.5321 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003096/0.0129, allocations: 265.1 kB / 0.5324 GB, free: 5.812 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006918/0.01359, allocations: 0.5105 MB / 0.5329 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002972/0.01389, allocations: 283.8 kB / 0.5332 GB, free: 5.035 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.158e-05/0.01393, allocations: 32 kB / 0.5332 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000221/0.01415, allocations: 144.3 kB / 0.5333 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.471e-05/0.01424, allocations: 99.59 kB / 0.5334 GB, free: 4.766 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.01436, allocations: 152.3 kB / 0.5336 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004698/0.01483, allocations: 419.8 kB / 0.534 GB, free: 4.207 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.01484, allocations: 0 / 0.534 GB, free: 4.207 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.12e-07/0.01484, allocations: 0 / 0.534 GB, free: 4.207 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.01484, allocations: 0 / 0.534 GB, free: 4.207 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.0008528/0.0157, allocations: 0.776 MB / 0.5347 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.01573, allocations: 8.031 kB / 0.5347 GB, free: 3.383 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.01591, allocations: 80.58 kB / 0.5348 GB, free: 3.305 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004997/0.01641, allocations: 407.9 kB / 0.5352 GB, free: 2.883 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.01643, allocations: 24.88 kB / 0.5352 GB, free: 2.859 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.437e-05/0.01648, allocations: 24.38 kB / 0.5353 GB, free: 2.836 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003678/0.01684, allocations: 383.2 kB / 0.5356 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.01686, allocations: 0.6562 kB / 0.5356 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.01688, allocations: 12.62 kB / 0.5356 GB, free: 2.398 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/0.0169, allocations: 8 kB / 0.5356 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.01707, allocations: 96.05 kB / 0.5357 GB, free: 2.297 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.0181, allocations: 1.296 MB / 0.537 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.01829, allocations: 92.08 kB / 0.5371 GB, free: 0.8398 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.233e-05/0.01834, allocations: 31.67 kB / 0.5371 GB, free: 0.8047 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.437e-05/0.01842, allocations: 11.78 kB / 0.5371 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.01858, allocations: 205.3 kB / 0.5373 GB, free: 0.5586 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.01858, allocations: 3.938 kB / 0.5373 GB, free: 0.5547 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0002575/0.01884, allocations: 151.5 kB / 0.5375 GB, free: 412 kB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.01887, allocations: 63.39 kB / 0.5375 GB, free: 336 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.01911, allocations: 354.3 kB / 0.5379 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.01913, allocations: 29.7 kB / 0.5379 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.01926, allocations: 271.1 kB / 0.5382 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.01929, allocations: 55.5 kB / 0.5382 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.375e-05/0.01936, allocations: 59.31 kB / 0.5383 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.01948, allocations: 0.5226 MB / 0.5388 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.01955, allocations: 57.62 kB / 0.5388 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.01965, allocations: 165.7 kB / 0.539 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.01981, allocations: 203 kB / 0.5392 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.01981, allocations: 0 / 0.5392 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002705/0.02008, allocations: 280.2 kB / 0.5394 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.02011, allocations: 33.7 kB / 0.5395 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.02012, allocations: 4 kB / 0.5395 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.02013, allocations: 4 kB / 0.5395 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.02027, allocations: 55.91 kB / 0.5395 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.02028, allocations: 7.938 kB / 0.5395 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.02039, allocations: 31.77 kB / 0.5396 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.02041, allocations: 16.75 kB / 0.5396 GB, free: 14.05 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 9.574e-05/0.0205, allocations: 173 kB / 0.5398 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.02054, allocations: 36.38 kB / 0.5398 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.02072, allocations: 137.8 kB / 0.5399 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.02072, allocations: 4 kB / 0.5399 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.02073, allocations: 0 / 0.5399 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002/0.02093, allocations: 423.8 kB / 0.5403 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.02117, allocations: 261 kB / 0.5406 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.02117, allocations: 4 kB / 0.5406 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.23e-05/0.02125, allocations: 28.58 kB / 0.5406 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.02126, allocations: 4.922 kB / 0.5406 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.02127, allocations: 8 kB / 0.5406 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.02127, allocations: 0.5312 kB / 0.5406 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.02127, allocations: 3.938 kB / 0.5406 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.02149, allocations: 211.4 kB / 0.5408 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.745e-05/0.02156, allocations: 43.8 kB / 0.5409 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.02158, allocations: 5.422 kB / 0.5409 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.376e-05/0.02168, allocations: 15.98 kB / 0.5409 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.02172, allocations: 7.984 kB / 0.5409 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.02174, allocations: 18.17 kB / 0.5409 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001446/0.02188, allocations: 231 kB / 0.5411 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.02188, allocations: 0 / 0.5411 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002493/0.02213, allocations: 119.7 kB / 0.5413 GB, free: 12.2 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.0001771/0.02231, allocations: 145.7 kB / 0.5414 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.02252, allocations: 194.3 kB / 0.5416 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.02253, allocations: 0 / 0.5416 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.881e-05/0.02258, allocations: 51.55 kB / 0.5416 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.02308, allocations: 208.3 kB / 0.5418 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.02409, allocations: 0.6405 MB / 0.5425 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.363e-05/0.02415, allocations: 96.61 kB / 0.5425 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001338/0.02428, allocations: 57.5 kB / 0.5426 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.388e-05/0.02434, allocations: 35.52 kB / 0.5426 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of SimCode: time 5.81e-07/0.02434, allocations: 0 / 0.5426 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of Templates: time 0.008246/0.03258, allocations: 6.625 MB / 0.5491 GB, free: 4.402 MB / 0.5105 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: 4.141382437199354]