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.001409/0.001409, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001459/0.001459, allocations: 162.4 kB / 23.01 MB, free: 4.949 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.43/1.43, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.8122/0.8122, allocations: 101.3 MB / 361.1 MB, free: 9.543 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.002132/0.002132, allocations: 66.52 kB / 0.5356 GB, free: 5.242 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.1587/0.1609, allocations: 85.88 MB / 0.6195 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01738/0.1783, allocations: 13.49 MB / 0.6327 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005678/0.1839, allocations: 3.391 MB / 0.636 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003918/0.1843, allocations: 23.81 kB / 0.636 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006574/0.185, allocations: 206.6 kB / 0.6362 GB, free: 416 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001518/0.1865, allocations: 0.6248 MB / 0.6368 GB, free: 15.78 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009695/0.1875, allocations: 398.5 kB / 0.6372 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001522/0.189, allocations: 1.11 MB / 0.6383 GB, free: 14.28 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004223/0.1894, allocations: 261 kB / 0.6385 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.1905, allocations: 402.5 kB / 0.6389 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005087/0.191, allocations: 318.5 kB / 0.6392 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.671e-05/0.1911, allocations: 32 kB / 0.6392 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005128/0.1916, allocations: 215.5 kB / 0.6394 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.1917, allocations: 103.6 kB / 0.6395 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002406/0.192, allocations: 171.2 kB / 0.6397 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009609/0.1929, allocations: 0.6111 MB / 0.6403 GB, free: 12.19 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.1929, allocations: 0 / 0.6403 GB, free: 12.19 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1929, allocations: 0 / 0.6403 GB, free: 12.19 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.1929, allocations: 0 / 0.6403 GB, free: 12.19 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.001268/0.1942, allocations: 0.6893 MB / 0.641 GB, free: 11.46 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.1942, allocations: 8.031 kB / 0.641 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001975/0.1944, allocations: 56.62 kB / 0.641 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007937/0.1952, allocations: 411.9 kB / 0.6414 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.1953, allocations: 20.5 kB / 0.6414 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.352e-05/0.1953, allocations: 24 kB / 0.6415 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000673/0.196, allocations: 408.1 kB / 0.6419 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.196, allocations: 4 kB / 0.6419 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.409e-05/0.196, allocations: 11.98 kB / 0.6419 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.1961, allocations: 15.94 kB / 0.6419 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004963/0.1966, allocations: 193.8 kB / 0.6421 GB, free: 10.27 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.001757/0.1983, allocations: 1.089 MB / 0.6431 GB, free: 9.121 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004815/0.1988, allocations: 158.6 kB / 0.6433 GB, free: 8.957 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.199, allocations: 56.83 kB / 0.6433 GB, free: 8.898 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.54e-05/0.1991, allocations: 15.92 kB / 0.6434 GB, free: 8.883 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003756/0.1994, allocations: 232.7 kB / 0.6436 GB, free: 8.621 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.933e-06/0.1994, allocations: 4 kB / 0.6436 GB, free: 8.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0006785/0.2001, allocations: 233.3 kB / 0.6438 GB, free: 8.383 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.2002, allocations: 55.41 kB / 0.6439 GB, free: 8.316 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004002/0.2006, allocations: 336.4 kB / 0.6442 GB, free: 7.977 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.2006, allocations: 29.7 kB / 0.6442 GB, free: 7.941 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.2008, allocations: 228.3 kB / 0.6444 GB, free: 7.715 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.512e-05/0.2008, allocations: 51.58 kB / 0.6445 GB, free: 7.664 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.333e-05/0.2009, allocations: 57.66 kB / 0.6445 GB, free: 7.602 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.2011, allocations: 342.8 kB / 0.6449 GB, free: 7.258 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/0.2014, allocations: 101.7 kB / 0.645 GB, free: 7.152 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/0.2017, allocations: 167.1 kB / 0.6451 GB, free: 6.949 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004732/0.2021, allocations: 251 kB / 0.6454 GB, free: 6.664 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2021, allocations: 0 / 0.6454 GB, free: 6.664 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006772/0.2028, allocations: 335.4 kB / 0.6457 GB, free: 6.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.503e-05/0.2029, allocations: 49.66 kB / 0.6457 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2029, allocations: 4 kB / 0.6457 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.2029, allocations: 4 kB / 0.6457 GB, free: 6.258 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.2031, allocations: 55.91 kB / 0.6458 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.2031, allocations: 4 kB / 0.6458 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.2034, allocations: 35.77 kB / 0.6458 GB, free: 6.164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.2034, allocations: 16 kB / 0.6458 GB, free: 6.148 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.0001843/0.2036, allocations: 157.8 kB / 0.646 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.937e-05/0.2037, allocations: 39.75 kB / 0.646 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004993/0.2042, allocations: 192.3 kB / 0.6462 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.2042, allocations: 4 kB / 0.6462 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2042, allocations: 3.984 kB / 0.6462 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005857/0.2048, allocations: 482.1 kB / 0.6467 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/0.2052, allocations: 249.1 kB / 0.6469 GB, free: 4.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2052, allocations: 4 kB / 0.6469 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.2053, allocations: 35.86 kB / 0.6469 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.2054, allocations: 4 kB / 0.647 GB, free: 4.867 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.2054, allocations: 7.922 kB / 0.647 GB, free: 4.859 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.2054, allocations: 0 / 0.647 GB, free: 4.859 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2054, allocations: 3.938 kB / 0.647 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006651/0.206, allocations: 280.7 kB / 0.6472 GB, free: 4.562 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.2062, allocations: 43.83 kB / 0.6473 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.71e-05/0.2062, allocations: 15.94 kB / 0.6473 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.2065, allocations: 15.97 kB / 0.6473 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/0.2065, allocations: 19.91 kB / 0.6473 GB, free: 4.469 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.2065, allocations: 8 kB / 0.6473 GB, free: 4.461 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002718/0.2068, allocations: 235 kB / 0.6476 GB, free: 4.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2068, allocations: 0 / 0.6476 GB, free: 4.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004593/0.2073, allocations: 127.7 kB / 0.6477 GB, free: 4.105 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.0003093/0.2076, allocations: 185.9 kB / 0.6479 GB, free: 3.918 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005508/0.2081, allocations: 249 kB / 0.6481 GB, free: 3.656 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.2081, allocations: 4 kB / 0.6481 GB, free: 3.652 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.2083, allocations: 63.91 kB / 0.6482 GB, free: 3.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009378/0.2093, allocations: 199.7 kB / 0.6483 GB, free: 3.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.2107, allocations: 0.7391 MB / 0.6491 GB, free: 2.648 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.2109, allocations: 185.1 kB / 0.6492 GB, free: 2.441 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002189/0.2111, allocations: 63.25 kB / 0.6493 GB, free: 2.379 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.795e-05/0.2112, allocations: 36.42 kB / 0.6493 GB, free: 2.344 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.2112, allocations: 0 / 0.6493 GB, free: 2.344 MB / 0.545 GB Notification: Performance of Templates: time 0.01397/0.2252, allocations: 7.193 MB / 0.6564 GB, free: 11.32 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 ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.599567660014145] Failed to read output from testmodel.py, exit status != 0: 0.23365123802796006 0.24920294499999995 0.052957939 Calling exit ...