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.001596/0.001596, allocations: 88.72 kB / 19.44 MB, free: 356 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.001984/0.001984, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.508/1.508, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 1.264/1.264, allocations: 154.8 MB / 414.4 MB, free: 448 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 178] 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.964e-06/1.964e-06, allocations: 0 / 0.5198 GB, free: 2.309 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/2.978e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.305 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01917/0.0192, allocations: 13.41 MB / 0.5329 GB, free: 4.883 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006219/0.02542, allocations: 3.396 MB / 0.5362 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004261/0.02585, allocations: 28.78 kB / 0.5363 GB, free: 1.473 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006938/0.02654, allocations: 202.6 kB / 0.5365 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001946/0.02849, allocations: 0.6466 MB / 0.5371 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.0296, allocations: 413 kB / 0.5375 GB, free: 232 kB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001893/0.03149, allocations: 1.102 MB / 0.5386 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005659/0.03206, allocations: 274.1 kB / 0.5388 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001695/0.03375, allocations: 0.5665 MB / 0.5394 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005238/0.03428, allocations: 272.3 kB / 0.5396 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 6.754e-05/0.03434, allocations: 32 kB / 0.5397 GB, free: 14 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006134/0.03496, allocations: 219.5 kB / 0.5399 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.03511, allocations: 111.5 kB / 0.54 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002382/0.03534, allocations: 150 kB / 0.5401 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.03638, allocations: 0.6114 MB / 0.5407 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.03639, allocations: 4 kB / 0.5407 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.463e-06/0.03639, allocations: 0 / 0.5407 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.425e-06/0.0364, allocations: 0 / 0.5407 GB, free: 12.91 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.001487/0.03788, allocations: 0.6861 MB / 0.5414 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.03793, allocations: 8.031 kB / 0.5414 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003171/0.03824, allocations: 76.59 kB / 0.5415 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009535/0.0392, allocations: 428.5 kB / 0.5419 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.03923, allocations: 16.88 kB / 0.5419 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.121e-05/0.03931, allocations: 32.38 kB / 0.5419 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007867/0.04009, allocations: 413.4 kB / 0.5423 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.04011, allocations: 0 / 0.5423 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.04015, allocations: 12.97 kB / 0.5423 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.04017, allocations: 8 kB / 0.5424 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005337/0.04071, allocations: 201.1 kB / 0.5425 GB, free: 10.96 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.04266, allocations: 1.097 MB / 0.5436 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005094/0.04317, allocations: 154.4 kB / 0.5438 GB, free: 9.656 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.04336, allocations: 61.31 kB / 0.5438 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.04346, allocations: 13.56 kB / 0.5438 GB, free: 9.582 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004265/0.04389, allocations: 227.8 kB / 0.5441 GB, free: 9.324 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 2.214e-06/0.04389, allocations: 6.219 kB / 0.5441 GB, free: 9.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.0007772/0.04467, allocations: 239.6 kB / 0.5443 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.04472, allocations: 55.34 kB / 0.5443 GB, free: 9.016 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004644/0.04519, allocations: 332.4 kB / 0.5447 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.04522, allocations: 30.67 kB / 0.5447 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/0.04543, allocations: 224.4 kB / 0.5449 GB, free: 8.434 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.364e-05/0.0455, allocations: 52.39 kB / 0.545 GB, free: 8.383 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.0456, allocations: 57.66 kB / 0.545 GB, free: 8.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002167/0.04582, allocations: 346.7 kB / 0.5453 GB, free: 7.973 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.04608, allocations: 98.41 kB / 0.5454 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/0.04644, allocations: 169.2 kB / 0.5456 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005185/0.04696, allocations: 256.8 kB / 0.5458 GB, free: 7.383 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.04696, allocations: 6.75 kB / 0.5458 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007311/0.04769, allocations: 346.5 kB / 0.5462 GB, free: 7.023 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.838e-05/0.04775, allocations: 37.69 kB / 0.5462 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.04776, allocations: 0 / 0.5462 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.04778, allocations: 4 kB / 0.5462 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.04805, allocations: 61.47 kB / 0.5463 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.04806, allocations: 4 kB / 0.5463 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/0.04833, allocations: 35.77 kB / 0.5463 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.04835, allocations: 8 kB / 0.5463 GB, free: 6.871 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.000207/0.04856, allocations: 162.7 kB / 0.5465 GB, free: 6.703 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-05/0.04864, allocations: 42.59 kB / 0.5465 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000536/0.04917, allocations: 192.3 kB / 0.5467 GB, free: 6.469 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.04918, allocations: 4 kB / 0.5467 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.04919, allocations: 0 / 0.5467 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000725/0.04991, allocations: 484.2 kB / 0.5472 GB, free: 5.906 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004498/0.05036, allocations: 258.4 kB / 0.5474 GB, free: 5.625 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.05036, allocations: 0 / 0.5474 GB, free: 5.625 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.05054, allocations: 23.98 kB / 0.5474 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.05054, allocations: 4.719 kB / 0.5474 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.05057, allocations: 7.984 kB / 0.5474 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.05057, allocations: 1.344 kB / 0.5474 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.05057, allocations: 3.938 kB / 0.5475 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007477/0.05132, allocations: 295.2 kB / 0.5477 GB, free: 5.281 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.05144, allocations: 45.95 kB / 0.5478 GB, free: 5.238 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.967e-05/0.05149, allocations: 7.984 kB / 0.5478 GB, free: 5.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.05173, allocations: 19.98 kB / 0.5478 GB, free: 5.211 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.95e-05/0.05182, allocations: 12.06 kB / 0.5478 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.05185, allocations: 13.59 kB / 0.5478 GB, free: 5.188 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003017/0.05215, allocations: 231 kB / 0.548 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.05215, allocations: 0 / 0.548 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005243/0.05267, allocations: 127.7 kB / 0.5482 GB, free: 4.836 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.0004159/0.05309, allocations: 187.3 kB / 0.5483 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005942/0.05368, allocations: 257.7 kB / 0.5486 GB, free: 4.383 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.05369, allocations: 1.156 kB / 0.5486 GB, free: 4.383 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.0539, allocations: 67.89 kB / 0.5487 GB, free: 4.316 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009678/0.05487, allocations: 198.4 kB / 0.5488 GB, free: 4.145 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.05634, allocations: 0.6678 MB / 0.5495 GB, free: 3.504 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.05656, allocations: 185.3 kB / 0.5497 GB, free: 3.301 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002653/0.05683, allocations: 64.25 kB / 0.5497 GB, free: 3.242 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.835e-05/0.05693, allocations: 32.5 kB / 0.5498 GB, free: 3.211 MB / 0.5105 GB Notification: Performance of SimCode: time 1.222e-06/0.05693, allocations: 0 / 0.5498 GB, free: 3.211 MB / 0.5105 GB Notification: Performance of Templates: time 0.01541/0.07233, allocations: 7.191 MB / 0.5568 GB, free: 12.21 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.063358400948346]