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.001444/0.001444, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001554/0.001554, allocations: 211 kB / 22.24 MB, free: 5.121 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 7.762 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.8721/0.8721, allocations: 134 MB / 446.4 MB, free: 9.918 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.002188/0.002188, allocations: 66.34 kB / 0.6189 GB, free: 6.355 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1969, allocations: 85.9 MB / 0.7028 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.017/0.2139, allocations: 13.5 MB / 0.716 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005792/0.2197, allocations: 3.383 MB / 0.7193 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005151/0.2202, allocations: 23.81 kB / 0.7193 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006882/0.2209, allocations: 198.7 kB / 0.7195 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.2224, allocations: 0.6181 MB / 0.7201 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009756/0.2234, allocations: 406.7 kB / 0.7205 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001444/0.2249, allocations: 1.11 MB / 0.7216 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004512/0.2253, allocations: 268.9 kB / 0.7219 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.2263, allocations: 406.9 kB / 0.7223 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004767/0.2268, allocations: 314.5 kB / 0.7226 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.288e-05/0.2269, allocations: 36 kB / 0.7226 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00052/0.2274, allocations: 219.5 kB / 0.7228 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.2275, allocations: 99.61 kB / 0.7229 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.2277, allocations: 179.2 kB / 0.7231 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.2289, allocations: 0.6033 MB / 0.7237 GB, free: 11.14 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2289, allocations: 0 / 0.7237 GB, free: 11.14 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2289, allocations: 0 / 0.7237 GB, free: 11.14 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.2289, allocations: 3.938 kB / 0.7237 GB, free: 11.14 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.001239/0.2301, allocations: 0.6894 MB / 0.7243 GB, free: 10.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.2301, allocations: 8.031 kB / 0.7243 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/0.2303, allocations: 48.66 kB / 0.7244 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007958/0.2311, allocations: 411.9 kB / 0.7248 GB, free: 9.93 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.2312, allocations: 20.5 kB / 0.7248 GB, free: 9.91 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.687e-05/0.2312, allocations: 27.94 kB / 0.7248 GB, free: 9.883 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006635/0.2319, allocations: 408.1 kB / 0.7252 GB, free: 9.438 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.2319, allocations: 4 kB / 0.7252 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/0.2319, allocations: 8 kB / 0.7252 GB, free: 9.426 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.2319, allocations: 12 kB / 0.7252 GB, free: 9.414 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004776/0.2324, allocations: 197.8 kB / 0.7254 GB, free: 9.223 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.001751/0.2342, allocations: 1.101 MB / 0.7265 GB, free: 8.066 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/0.2346, allocations: 150.6 kB / 0.7266 GB, free: 7.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.2348, allocations: 68.19 kB / 0.7267 GB, free: 7.844 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.2349, allocations: 11.98 kB / 0.7267 GB, free: 7.832 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003695/0.2353, allocations: 230.1 kB / 0.7269 GB, free: 7.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 2.274e-06/0.2353, allocations: 4 kB / 0.7269 GB, free: 7.566 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0006811/0.236, allocations: 235.5 kB / 0.7272 GB, free: 7.332 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.236, allocations: 55.41 kB / 0.7272 GB, free: 7.266 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004264/0.2364, allocations: 332.4 kB / 0.7275 GB, free: 6.934 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.2365, allocations: 29.7 kB / 0.7276 GB, free: 6.898 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.2367, allocations: 224.4 kB / 0.7278 GB, free: 6.676 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.268e-05/0.2367, allocations: 51.58 kB / 0.7278 GB, free: 6.625 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.012e-05/0.2368, allocations: 57.66 kB / 0.7279 GB, free: 6.562 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.237, allocations: 338.8 kB / 0.7282 GB, free: 6.223 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.2372, allocations: 109.6 kB / 0.7283 GB, free: 6.109 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.2375, allocations: 171.1 kB / 0.7285 GB, free: 5.902 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004593/0.238, allocations: 249.3 kB / 0.7287 GB, free: 5.621 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.238, allocations: 0 / 0.7287 GB, free: 5.621 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006545/0.2386, allocations: 342.6 kB / 0.729 GB, free: 5.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.195e-05/0.2387, allocations: 41.7 kB / 0.7291 GB, free: 5.223 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.2387, allocations: 4 kB / 0.7291 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.2387, allocations: 4 kB / 0.7291 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.239, allocations: 55.89 kB / 0.7291 GB, free: 5.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.239, allocations: 4 kB / 0.7291 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.2393, allocations: 35.77 kB / 0.7292 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.2393, allocations: 16 kB / 0.7292 GB, free: 5.105 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.0002175/0.2395, allocations: 161.8 kB / 0.7293 GB, free: 4.938 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.235e-05/0.2396, allocations: 35.75 kB / 0.7294 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004999/0.2401, allocations: 192.3 kB / 0.7296 GB, free: 4.703 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.2401, allocations: 4 kB / 0.7296 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2401, allocations: 3.938 kB / 0.7296 GB, free: 4.695 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005891/0.2407, allocations: 482 kB / 0.73 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004029/0.2411, allocations: 245.1 kB / 0.7303 GB, free: 3.871 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2411, allocations: 4 kB / 0.7303 GB, free: 3.867 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.2412, allocations: 35.91 kB / 0.7303 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.2413, allocations: 4 kB / 0.7303 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.2413, allocations: 7.938 kB / 0.7303 GB, free: 3.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.2413, allocations: 0 / 0.7303 GB, free: 3.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2413, allocations: 0 / 0.7303 GB, free: 3.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006579/0.2419, allocations: 280.7 kB / 0.7306 GB, free: 3.527 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.2421, allocations: 43.83 kB / 0.7306 GB, free: 3.484 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.036e-05/0.2421, allocations: 15.94 kB / 0.7306 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.2423, allocations: 19.98 kB / 0.7307 GB, free: 3.449 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.015e-05/0.2424, allocations: 11.97 kB / 0.7307 GB, free: 3.438 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.2424, allocations: 15.98 kB / 0.7307 GB, free: 3.422 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002725/0.2427, allocations: 227.1 kB / 0.7309 GB, free: 3.199 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2427, allocations: 3.938 kB / 0.7309 GB, free: 3.195 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004564/0.2432, allocations: 131.6 kB / 0.731 GB, free: 3.066 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.0003244/0.2435, allocations: 195 kB / 0.7312 GB, free: 2.867 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005556/0.244, allocations: 245 kB / 0.7314 GB, free: 2.609 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.2441, allocations: 4 kB / 0.7315 GB, free: 2.605 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002131/0.2443, allocations: 70 kB / 0.7315 GB, free: 2.539 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009293/0.2452, allocations: 193.4 kB / 0.7317 GB, free: 2.363 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.2467, allocations: 0.743 MB / 0.7324 GB, free: 1.598 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.2469, allocations: 181.4 kB / 0.7326 GB, free: 1.395 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002333/0.2472, allocations: 67.19 kB / 0.7327 GB, free: 1.328 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.015e-05/0.2473, allocations: 35.42 kB / 0.7327 GB, free: 1.297 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.2473, allocations: 3.938 kB / 0.7327 GB, free: 1.293 MB / 0.545 GB Notification: Performance of Templates: time 0.0147/0.262, allocations: 7.676 MB / 0.7402 GB, free: 9.797 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: 6.47189094312489] Failed to read output from testmodel.py, exit status != 0: 0.27061477676033974 0.591968091 0.36000118299999995 Calling exit ...