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.001327/0.001327, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00147/0.00147, allocations: 222.4 kB / 23 MB, free: 4.914 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.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.8814/0.8814, allocations: 134 MB / 447.2 MB, free: 9.914 MB / 350.1 MB " [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.002024/0.002024, allocations: 71.27 kB / 0.6197 GB, free: 6.387 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1687, allocations: 85.89 MB / 0.7036 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01678/0.1855, allocations: 13.49 MB / 0.7168 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005649/0.1912, allocations: 3.391 MB / 0.7201 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004812/0.1917, allocations: 23.81 kB / 0.7201 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006688/0.1923, allocations: 198.7 kB / 0.7203 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.1939, allocations: 0.6298 MB / 0.7209 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009953/0.1949, allocations: 398.3 kB / 0.7213 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001493/0.1964, allocations: 1.117 MB / 0.7224 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004256/0.1968, allocations: 253 kB / 0.7226 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.1979, allocations: 409 kB / 0.723 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004432/0.1984, allocations: 314.5 kB / 0.7233 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.367e-05/0.1984, allocations: 36 kB / 0.7233 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005369/0.199, allocations: 219.5 kB / 0.7235 GB, free: 12.06 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.1991, allocations: 99.59 kB / 0.7236 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002075/0.1993, allocations: 175.2 kB / 0.7238 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008628/0.2002, allocations: 0.6072 MB / 0.7244 GB, free: 11.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2002, allocations: 8 kB / 0.7244 GB, free: 11.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.02e-07/0.2002, allocations: 3.938 kB / 0.7244 GB, free: 11.17 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.2002, allocations: 0 / 0.7244 GB, free: 11.17 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.001216/0.2014, allocations: 0.6777 MB / 0.7251 GB, free: 10.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.2014, allocations: 16.02 kB / 0.7251 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.2016, allocations: 48.66 kB / 0.7251 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007988/0.2024, allocations: 411.9 kB / 0.7255 GB, free: 9.965 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.2025, allocations: 24.48 kB / 0.7255 GB, free: 9.941 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.896e-05/0.2025, allocations: 31.94 kB / 0.7256 GB, free: 9.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006497/0.2032, allocations: 408.1 kB / 0.726 GB, free: 9.465 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.2032, allocations: 0 / 0.726 GB, free: 9.465 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.2032, allocations: 15.94 kB / 0.726 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.2032, allocations: 8 kB / 0.726 GB, free: 9.441 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004644/0.2037, allocations: 189.8 kB / 0.7262 GB, free: 9.258 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.001724/0.2054, allocations: 1.097 MB / 0.7272 GB, free: 8.105 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004478/0.2059, allocations: 150.6 kB / 0.7274 GB, free: 7.949 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.2061, allocations: 68.75 kB / 0.7274 GB, free: 7.879 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.2062, allocations: 12 kB / 0.7275 GB, free: 7.867 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003564/0.2065, allocations: 226.1 kB / 0.7277 GB, free: 7.609 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.2065, allocations: 0 / 0.7277 GB, free: 7.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0006582/0.2072, allocations: 233.3 kB / 0.7279 GB, free: 7.375 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.2072, allocations: 63.39 kB / 0.728 GB, free: 7.301 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/0.2076, allocations: 336.4 kB / 0.7283 GB, free: 6.965 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.2077, allocations: 29.7 kB / 0.7283 GB, free: 6.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.2078, allocations: 224.4 kB / 0.7285 GB, free: 6.707 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.387e-05/0.2079, allocations: 51.59 kB / 0.7286 GB, free: 6.656 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-05/0.208, allocations: 53.66 kB / 0.7286 GB, free: 6.598 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.2082, allocations: 346.8 kB / 0.729 GB, free: 6.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.2084, allocations: 93.66 kB / 0.729 GB, free: 6.152 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.2087, allocations: 171.1 kB / 0.7292 GB, free: 5.945 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004473/0.2091, allocations: 249.4 kB / 0.7294 GB, free: 5.664 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.2091, allocations: 4 kB / 0.7294 GB, free: 5.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000654/0.2098, allocations: 340.5 kB / 0.7298 GB, free: 5.309 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.204e-05/0.2098, allocations: 37.64 kB / 0.7298 GB, free: 5.266 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2098, allocations: 4 kB / 0.7298 GB, free: 5.262 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.2098, allocations: 4 kB / 0.7298 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.2101, allocations: 55.91 kB / 0.7299 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.2101, allocations: 4.312 kB / 0.7299 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.2103, allocations: 39.77 kB / 0.7299 GB, free: 5.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.2103, allocations: 15.92 kB / 0.7299 GB, free: 5.145 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.0001852/0.2105, allocations: 153.8 kB / 0.7301 GB, free: 4.984 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.497e-05/0.2106, allocations: 35.69 kB / 0.7301 GB, free: 4.949 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004853/0.2111, allocations: 202.6 kB / 0.7303 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.2111, allocations: 7.922 kB / 0.7303 GB, free: 4.734 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2111, allocations: 8 kB / 0.7303 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005494/0.2116, allocations: 479.8 kB / 0.7308 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003895/0.212, allocations: 245.1 kB / 0.731 GB, free: 3.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.212, allocations: 0 / 0.731 GB, free: 3.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.2122, allocations: 39.91 kB / 0.731 GB, free: 3.863 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.2122, allocations: 0 / 0.731 GB, free: 3.863 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.2122, allocations: 7.938 kB / 0.7311 GB, free: 3.855 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.2122, allocations: 0 / 0.7311 GB, free: 3.855 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2122, allocations: 0 / 0.7311 GB, free: 3.855 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006191/0.2128, allocations: 291 kB / 0.7313 GB, free: 3.555 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.2129, allocations: 43.83 kB / 0.7314 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.774e-05/0.213, allocations: 11.94 kB / 0.7314 GB, free: 3.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.2132, allocations: 19.92 kB / 0.7314 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.2133, allocations: 15.97 kB / 0.7314 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.2133, allocations: 4 kB / 0.7314 GB, free: 3.461 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002681/0.2136, allocations: 235 kB / 0.7316 GB, free: 3.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2136, allocations: 4 kB / 0.7316 GB, free: 3.227 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004496/0.214, allocations: 135.6 kB / 0.7318 GB, free: 3.094 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.0003207/0.2143, allocations: 183 kB / 0.732 GB, free: 2.906 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005284/0.2149, allocations: 244.9 kB / 0.7322 GB, free: 2.648 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.2149, allocations: 0 / 0.7322 GB, free: 2.648 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.215, allocations: 68.52 kB / 0.7322 GB, free: 2.582 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008833/0.2159, allocations: 203.4 kB / 0.7324 GB, free: 2.398 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.2174, allocations: 0.7603 MB / 0.7332 GB, free: 1.609 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.2176, allocations: 185.4 kB / 0.7334 GB, free: 1.402 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.401e-05/0.2177, allocations: 35.42 kB / 0.7334 GB, free: 1.367 MB / 0.545 GB Notification: Performance of SimCode: time 7.62e-07/0.2177, allocations: 3.938 kB / 0.7334 GB, free: 1.363 MB / 0.545 GB Notification: Performance of Templates: time 0.01053/0.2282, allocations: 6.112 MB / 0.7394 GB, free: 11.31 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.178255533333868] Failed to read output from testmodel.py, exit status != 0: 0.2363471006974578 0.527001133 0.323247477 Calling exit ...