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.001597/0.001597, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002104/0.002104, allocations: 213.6 kB / 23 MB, free: 4.562 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.8806/0.8806, allocations: 134 MB / 447.2 MB, free: 10.26 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.002066/0.002066, allocations: 69.31 kB / 0.6198 GB, free: 6.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2038, allocations: 85.89 MB / 0.7036 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01984/0.2236, allocations: 14.79 MB / 0.7181 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006592/0.2302, allocations: 3.669 MB / 0.7217 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007682/0.231, allocations: 23.81 kB / 0.7217 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007856/0.2318, allocations: 218.7 kB / 0.7219 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.2338, allocations: 0.622 MB / 0.7225 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.235, allocations: 418.7 kB / 0.7229 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002155/0.2372, allocations: 1.122 MB / 0.724 GB, free: 12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007108/0.2379, allocations: 269 kB / 0.7243 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00189/0.2398, allocations: 400.7 kB / 0.7246 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006944/0.2405, allocations: 330.5 kB / 0.725 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.086e-05/0.2406, allocations: 36 kB / 0.725 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.2416, allocations: 295.4 kB / 0.7253 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.2418, allocations: 95.61 kB / 0.7254 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003332/0.2421, allocations: 211 kB / 0.7256 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.2434, allocations: 0.6149 MB / 0.7262 GB, free: 9.777 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.227e-05/0.2434, allocations: 11.98 kB / 0.7262 GB, free: 9.766 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.048e-06/0.2434, allocations: 3.938 kB / 0.7262 GB, free: 9.762 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.2434, allocations: 0 / 0.7262 GB, free: 9.762 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.001669/0.2451, allocations: 0.6777 MB / 0.7268 GB, free: 9.043 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 8.338e-05/0.2452, allocations: 12.03 kB / 0.7268 GB, free: 9.031 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002768/0.2455, allocations: 52.64 kB / 0.7269 GB, free: 8.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.2467, allocations: 408 kB / 0.7273 GB, free: 8.559 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.2467, allocations: 24.5 kB / 0.7273 GB, free: 8.535 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.965e-05/0.2468, allocations: 27.98 kB / 0.7273 GB, free: 8.508 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006572/0.2474, allocations: 305.2 kB / 0.7276 GB, free: 8.188 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.2475, allocations: 7.984 kB / 0.7276 GB, free: 8.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.2475, allocations: 8 kB / 0.7276 GB, free: 8.172 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.716e-05/0.2475, allocations: 8 kB / 0.7277 GB, free: 8.164 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004795/0.248, allocations: 197.8 kB / 0.7278 GB, free: 7.973 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.002139/0.2501, allocations: 1.426 MB / 0.7292 GB, free: 6.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/0.2506, allocations: 150.6 kB / 0.7294 GB, free: 6.273 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.2508, allocations: 68.75 kB / 0.7294 GB, free: 6.203 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.2509, allocations: 12 kB / 0.7295 GB, free: 6.191 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003234/0.2512, allocations: 134.2 kB / 0.7296 GB, free: 6.051 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.913e-06/0.2512, allocations: 0 / 0.7296 GB, free: 6.051 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.000671/0.2519, allocations: 233.3 kB / 0.7298 GB, free: 5.816 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.252, allocations: 59.39 kB / 0.7299 GB, free: 5.746 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004319/0.2524, allocations: 353.6 kB / 0.7302 GB, free: 5.391 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.2524, allocations: 33.7 kB / 0.7302 GB, free: 5.352 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.2526, allocations: 220.1 kB / 0.7304 GB, free: 5.133 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.808e-05/0.2527, allocations: 59.52 kB / 0.7305 GB, free: 5.074 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.96e-05/0.2528, allocations: 49.7 kB / 0.7305 GB, free: 5.02 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.253, allocations: 346.8 kB / 0.7309 GB, free: 4.672 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.2532, allocations: 67.94 kB / 0.7309 GB, free: 4.605 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.2534, allocations: 141.4 kB / 0.7311 GB, free: 4.434 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004745/0.2539, allocations: 247.2 kB / 0.7313 GB, free: 4.152 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.2539, allocations: 4 kB / 0.7313 GB, free: 4.148 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006271/0.2545, allocations: 325.2 kB / 0.7316 GB, free: 3.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.033e-05/0.2546, allocations: 33.7 kB / 0.7317 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2546, allocations: 0 / 0.7317 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.2546, allocations: 4 kB / 0.7317 GB, free: 3.777 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.2548, allocations: 59.91 kB / 0.7317 GB, free: 3.719 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/0.2549, allocations: 7.984 kB / 0.7317 GB, free: 3.711 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.2551, allocations: 36.08 kB / 0.7318 GB, free: 3.676 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.2552, allocations: 8 kB / 0.7318 GB, free: 3.668 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.0001916/0.2553, allocations: 161.7 kB / 0.7319 GB, free: 3.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.851e-05/0.2554, allocations: 39.73 kB / 0.732 GB, free: 3.461 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004726/0.2559, allocations: 184.5 kB / 0.7321 GB, free: 3.277 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.2559, allocations: 4 kB / 0.7321 GB, free: 3.273 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2559, allocations: 3.938 kB / 0.7321 GB, free: 3.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005584/0.2565, allocations: 498 kB / 0.7326 GB, free: 2.699 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005089/0.257, allocations: 324.5 kB / 0.7329 GB, free: 2.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.257, allocations: 0 / 0.7329 GB, free: 2.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.2571, allocations: 31.92 kB / 0.733 GB, free: 2.309 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.2571, allocations: 4 kB / 0.733 GB, free: 2.305 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.2572, allocations: 3.938 kB / 0.733 GB, free: 2.301 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.2572, allocations: 4 kB / 0.733 GB, free: 2.297 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.2572, allocations: 3.984 kB / 0.733 GB, free: 2.293 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006458/0.2578, allocations: 288.7 kB / 0.7332 GB, free: 1.992 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.258, allocations: 55.7 kB / 0.7333 GB, free: 1.938 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.247e-05/0.258, allocations: 8 kB / 0.7333 GB, free: 1.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.2582, allocations: 15.97 kB / 0.7333 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.12e-05/0.2583, allocations: 19.97 kB / 0.7333 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.2583, allocations: 8 kB / 0.7334 GB, free: 1.887 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002885/0.2586, allocations: 251.2 kB / 0.7336 GB, free: 1.641 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2586, allocations: 0 / 0.7336 GB, free: 1.641 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004896/0.2591, allocations: 127.7 kB / 0.7337 GB, free: 1.516 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.0003571/0.2595, allocations: 175.2 kB / 0.7339 GB, free: 1.332 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000538/0.26, allocations: 231.6 kB / 0.7341 GB, free: 1.094 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.26, allocations: 0 / 0.7341 GB, free: 1.094 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.2602, allocations: 66.06 kB / 0.7342 GB, free: 1.031 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000978/0.2612, allocations: 217.2 kB / 0.7344 GB, free: 0.832 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.2628, allocations: 0.7759 MB / 0.7351 GB, free: 24 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.2632, allocations: 0.7918 MB / 0.7359 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.585e-05/0.2633, allocations: 35.42 kB / 0.7359 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.2633, allocations: 0 / 0.7359 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of Templates: time 0.01101/0.2743, allocations: 6.177 MB / 0.742 GB, free: 9.062 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.820131786167622] Failed to read output from testmodel.py, exit status != 0: 0.2830344659741968 0.691381104 0.44441038499999996 Calling exit ...