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.0008956/0.0008956, 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.0009791/0.0009791, 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.005/1.005, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.7857/0.7857, allocations: 154.9 MB / 415.9 MB, free: 248 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.493e-06/1.493e-06, allocations: 0 / 0.5219 GB, free: 1.586 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.224e-05/1.374e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.582 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.006351/0.006365, allocations: 7.185 MB / 0.5289 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003025/0.00939, allocations: 2.464 MB / 0.5313 GB, free: 7.934 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002855/0.009675, allocations: 27.75 kB / 0.5313 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003653/0.01004, allocations: 119.1 kB / 0.5314 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0008039/0.01084, allocations: 0.5364 MB / 0.532 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004951/0.01134, allocations: 369.9 kB / 0.5323 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0009097/0.01225, allocations: 1.09 MB / 0.5334 GB, free: 5.797 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002811/0.01253, allocations: 273.1 kB / 0.5336 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006855/0.01322, allocations: 0.5483 MB / 0.5342 GB, free: 4.988 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/0.01349, allocations: 279.7 kB / 0.5344 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.749e-05/0.01353, allocations: 32.5 kB / 0.5345 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001974/0.01373, allocations: 138.2 kB / 0.5346 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.911e-05/0.01381, allocations: 107.5 kB / 0.5347 GB, free: 4.445 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.01392, allocations: 143.7 kB / 0.5348 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.00041/0.01433, allocations: 406.6 kB / 0.5352 GB, free: 3.906 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.01433, allocations: 4 kB / 0.5352 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.72e-07/0.01433, allocations: 0 / 0.5352 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.01434, allocations: 0 / 0.5352 GB, free: 3.902 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.0007137/0.01505, allocations: 0.7605 MB / 0.536 GB, free: 3.102 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.01509, allocations: 12.02 kB / 0.536 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.01523, allocations: 80.53 kB / 0.5361 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.01558, allocations: 358.5 kB / 0.5364 GB, free: 2.641 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.0156, allocations: 20.88 kB / 0.5364 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.01565, allocations: 37.41 kB / 0.5365 GB, free: 2.586 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003069/0.01595, allocations: 355.2 kB / 0.5368 GB, free: 2.188 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.01597, allocations: 2.438 kB / 0.5368 GB, free: 2.188 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.01599, allocations: 12 kB / 0.5368 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/0.01601, allocations: 12 kB / 0.5368 GB, free: 2.164 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.01613, allocations: 81.36 kB / 0.5369 GB, free: 2.086 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009686/0.0171, allocations: 1.292 MB / 0.5382 GB, free: 0.7344 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.01728, allocations: 87.16 kB / 0.5382 GB, free: 0.6367 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.688e-05/0.01731, allocations: 28.95 kB / 0.5383 GB, free: 0.6055 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.681e-05/0.01737, allocations: 19.92 kB / 0.5383 GB, free: 0.5859 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.01752, allocations: 195.8 kB / 0.5385 GB, free: 364 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.01752, allocations: 1.469 kB / 0.5385 GB, free: 364 kB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0002155/0.01774, allocations: 139.9 kB / 0.5386 GB, free: 220 kB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.01777, allocations: 59.41 kB / 0.5387 GB, free: 148 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.01797, allocations: 350.5 kB / 0.539 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.01799, allocations: 33.69 kB / 0.539 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.0181, allocations: 267.7 kB / 0.5393 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.01814, allocations: 64.48 kB / 0.5393 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.817e-05/0.0182, allocations: 55.34 kB / 0.5394 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.01832, allocations: 0.5156 MB / 0.5399 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.414e-05/0.0184, allocations: 55.17 kB / 0.54 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.373e-05/0.01849, allocations: 154.2 kB / 0.5401 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.01862, allocations: 205.8 kB / 0.5403 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01863, allocations: 0.75 kB / 0.5403 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002275/0.01885, allocations: 261.1 kB / 0.5406 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.01888, allocations: 37.7 kB / 0.5406 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.01888, allocations: 1.188 kB / 0.5406 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.01889, allocations: 7.938 kB / 0.5406 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.01902, allocations: 51.97 kB / 0.5406 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.01903, allocations: 9.562 kB / 0.5407 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.01914, allocations: 31.81 kB / 0.5407 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.01915, allocations: 12 kB / 0.5407 GB, free: 13.9 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 8.996e-05/0.01924, allocations: 169.5 kB / 0.5409 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.01928, allocations: 51.73 kB / 0.5409 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001479/0.01943, allocations: 129.1 kB / 0.541 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.01944, allocations: 5.969 kB / 0.541 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.01944, allocations: 0 / 0.541 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001714/0.01961, allocations: 425.9 kB / 0.5414 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.0198, allocations: 209 kB / 0.5416 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.0198, allocations: 0 / 0.5416 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.081e-05/0.01988, allocations: 28.8 kB / 0.5417 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01988, allocations: 0 / 0.5417 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.01989, allocations: 4 kB / 0.5417 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.01989, allocations: 5.25 kB / 0.5417 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.0199, allocations: 0 / 0.5417 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.02008, allocations: 196 kB / 0.5419 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-05/0.02014, allocations: 49.03 kB / 0.5419 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.02017, allocations: 0 / 0.5419 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.569e-05/0.02026, allocations: 16.73 kB / 0.5419 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.0203, allocations: 11.97 kB / 0.5419 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.02031, allocations: 10.22 kB / 0.5419 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001064/0.02042, allocations: 226.9 kB / 0.5422 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.02042, allocations: 0 / 0.5422 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002416/0.02066, allocations: 115.8 kB / 0.5423 GB, free: 12.14 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.0001655/0.02082, allocations: 150.4 kB / 0.5424 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001719/0.021, allocations: 189.2 kB / 0.5426 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.021, allocations: 2.812 kB / 0.5426 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.053e-05/0.02105, allocations: 46.05 kB / 0.5426 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.02153, allocations: 203.4 kB / 0.5428 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000974/0.0225, allocations: 0.6304 MB / 0.5435 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.138e-05/0.02255, allocations: 104.5 kB / 0.5436 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001315/0.02268, allocations: 59.03 kB / 0.5436 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002593/0.02294, allocations: 214 kB / 0.5438 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of SimCode: time 6.41e-07/0.02294, allocations: 0.875 kB / 0.5438 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of Templates: time 0.008438/0.03138, allocations: 7.4 MB / 0.551 GB, free: 3.41 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: 3.8964680209755898]