Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001365/0.001365, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.001452/0.001452, allocations: 154.4 kB / 23.01 MB, free: 5.074 MB / 14.72 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.468/1.468, allocations: 177.2 MB / 203.4 MB, free: 9.258 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7999/0.7999, allocations: 101.3 MB / 361.1 MB, free: 10.07 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Storage.Examples.ExpansionVessel") translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 64.94 kB / 0.5356 GB, free: 5.578 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 FrontEnd - Absyn->SCode: time 0.1593/0.1614, allocations: 85.89 MB / 0.6195 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01656/0.1779, allocations: 13.43 MB / 0.6326 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00573/0.1836, allocations: 3.391 MB / 0.6359 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003888/0.184, allocations: 23.81 kB / 0.6359 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000639/0.1847, allocations: 206.7 kB / 0.6361 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.1861, allocations: 0.6219 MB / 0.6367 GB, free: 124 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009329/0.187, allocations: 397.2 kB / 0.6371 GB, free: 15.74 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001417/0.1884, allocations: 1.114 MB / 0.6382 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004157/0.1889, allocations: 268.9 kB / 0.6385 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.19, allocations: 0.5335 MB / 0.639 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004592/0.1905, allocations: 306.6 kB / 0.6393 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.613e-05/0.1906, allocations: 32 kB / 0.6393 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004517/0.191, allocations: 223.5 kB / 0.6395 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.1911, allocations: 95.61 kB / 0.6396 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.1914, allocations: 179.2 kB / 0.6398 GB, free: 13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000825/0.1922, allocations: 0.611 MB / 0.6404 GB, free: 12.39 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1922, allocations: 4 kB / 0.6404 GB, free: 12.38 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1922, allocations: 0 / 0.6404 GB, free: 12.38 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.1922, allocations: 4 kB / 0.6404 GB, free: 12.38 MB / 0.545 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.00123/0.1934, allocations: 0.6854 MB / 0.6411 GB, free: 11.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1935, allocations: 12.03 kB / 0.6411 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/0.1937, allocations: 48.66 kB / 0.6411 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007848/0.1945, allocations: 407.9 kB / 0.6415 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.1945, allocations: 16.5 kB / 0.6415 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.139e-05/0.1945, allocations: 31.98 kB / 0.6415 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006829/0.1952, allocations: 416 kB / 0.6419 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.1952, allocations: 0 / 0.6419 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.97e-05/0.1953, allocations: 12 kB / 0.642 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.457e-05/0.1953, allocations: 8 kB / 0.642 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004983/0.1958, allocations: 193.8 kB / 0.6421 GB, free: 10.46 MB / 0.545 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.001736/0.1975, allocations: 1.097 MB / 0.6432 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000474/0.198, allocations: 150.6 kB / 0.6434 GB, free: 9.156 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.1982, allocations: 68.75 kB / 0.6434 GB, free: 9.086 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.094e-05/0.1983, allocations: 4 kB / 0.6434 GB, free: 9.082 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003789/0.1987, allocations: 234.1 kB / 0.6437 GB, free: 8.816 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.1987, allocations: 0 / 0.6437 GB, free: 8.816 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0007161/0.1994, allocations: 244.3 kB / 0.6439 GB, free: 8.574 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.1994, allocations: 55.41 kB / 0.6439 GB, free: 8.508 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003994/0.1998, allocations: 328.4 kB / 0.6443 GB, free: 8.176 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.1999, allocations: 33.7 kB / 0.6443 GB, free: 8.137 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.2001, allocations: 220.4 kB / 0.6445 GB, free: 7.918 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.976e-05/0.2001, allocations: 59.58 kB / 0.6446 GB, free: 7.859 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.2002, allocations: 61.64 kB / 0.6446 GB, free: 7.793 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.2004, allocations: 338.8 kB / 0.6449 GB, free: 7.453 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.2006, allocations: 93.66 kB / 0.645 GB, free: 7.355 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/0.2009, allocations: 171.1 kB / 0.6452 GB, free: 7.148 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000504/0.2014, allocations: 253.6 kB / 0.6454 GB, free: 6.863 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.2014, allocations: 0 / 0.6454 GB, free: 6.863 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007477/0.2022, allocations: 344.6 kB / 0.6458 GB, free: 6.508 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.581e-05/0.2023, allocations: 43.67 kB / 0.6458 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2023, allocations: 0 / 0.6458 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.2023, allocations: 4 kB / 0.6458 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.2025, allocations: 55.91 kB / 0.6459 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.115e-05/0.2025, allocations: 12.23 kB / 0.6459 GB, free: 6.391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.2028, allocations: 39.77 kB / 0.6459 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.2028, allocations: 8 kB / 0.6459 GB, free: 6.344 MB / 0.545 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.00019/0.203, allocations: 153.8 kB / 0.6461 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.809e-05/0.2031, allocations: 39.69 kB / 0.6461 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005253/0.2036, allocations: 196.4 kB / 0.6463 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.2036, allocations: 0 / 0.6463 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.2036, allocations: 3.984 kB / 0.6463 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005826/0.2042, allocations: 483.7 kB / 0.6468 GB, free: 5.379 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004056/0.2046, allocations: 249.1 kB / 0.647 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2046, allocations: 0 / 0.647 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.2048, allocations: 35.97 kB / 0.647 GB, free: 5.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.2048, allocations: 3.984 kB / 0.647 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.2048, allocations: 11.88 kB / 0.647 GB, free: 5.055 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2048, allocations: 0 / 0.647 GB, free: 5.055 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2048, allocations: 0 / 0.647 GB, free: 5.055 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006643/0.2055, allocations: 295.2 kB / 0.6473 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.2056, allocations: 43.83 kB / 0.6474 GB, free: 4.707 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.136e-05/0.2057, allocations: 7.938 kB / 0.6474 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.2059, allocations: 11.98 kB / 0.6474 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.607e-05/0.2059, allocations: 19.97 kB / 0.6474 GB, free: 4.668 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.206, allocations: 7.984 kB / 0.6474 GB, free: 4.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002761/0.2062, allocations: 231.1 kB / 0.6476 GB, free: 4.434 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2062, allocations: 0 / 0.6476 GB, free: 4.434 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005172/0.2068, allocations: 139.6 kB / 0.6478 GB, free: 4.297 MB / 0.545 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.0003288/0.2071, allocations: 182.3 kB / 0.6479 GB, free: 4.113 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005598/0.2076, allocations: 244.9 kB / 0.6482 GB, free: 3.855 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2076, allocations: 0 / 0.6482 GB, free: 3.855 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.2078, allocations: 71.89 kB / 0.6482 GB, free: 3.785 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008969/0.2087, allocations: 199.9 kB / 0.6484 GB, free: 3.602 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.2102, allocations: 0.739 MB / 0.6491 GB, free: 2.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.2104, allocations: 189.1 kB / 0.6493 GB, free: 2.629 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002467/0.2106, allocations: 55.25 kB / 0.6494 GB, free: 2.574 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.42e-05/0.2107, allocations: 40.48 kB / 0.6494 GB, free: 2.535 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.2107, allocations: 0 / 0.6494 GB, free: 2.535 MB / 0.545 GB Notification: Performance of Templates: time 0.01383/0.2245, allocations: 7.19 MB / 0.6564 GB, free: 11.52 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & ./IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.874765668995678] Failed to read output from testmodel.py, exit status != 0: 0.2335270093753934 0.24943454 0.053852396000000004 Calling exit ...