Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.002009/0.002009, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.002497/0.002497, allocations: 207 kB / 23.74 MB, free: 4.543 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.693/1.693, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9878/0.9878, allocations: 149.9 MB / 463.8 MB, free: 10.37 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") translateModel(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") [Timeout 660] "Notification: IBPSA 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.002114/0.002114, allocations: 65.94 kB / 0.6423 GB, free: 9.645 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1959, allocations: 89.17 MB / 0.7294 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01699/0.2129, allocations: 13.49 MB / 0.7425 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005793/0.2187, allocations: 3.394 MB / 0.7458 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005974/0.2193, allocations: 23.81 kB / 0.7459 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006955/0.22, allocations: 202.7 kB / 0.7461 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001677/0.2217, allocations: 0.6298 MB / 0.7467 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.2227, allocations: 397.9 kB / 0.7471 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001527/0.2242, allocations: 1.116 MB / 0.7481 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004281/0.2246, allocations: 268.8 kB / 0.7484 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001258/0.2259, allocations: 438.4 kB / 0.7488 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004663/0.2264, allocations: 310.5 kB / 0.7491 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.31e-05/0.2264, allocations: 36 kB / 0.7492 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005463/0.227, allocations: 215.6 kB / 0.7494 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.2271, allocations: 103.5 kB / 0.7495 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002243/0.2273, allocations: 179.2 kB / 0.7496 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009232/0.2283, allocations: 0.6033 MB / 0.7502 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.2283, allocations: 0 / 0.7502 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2283, allocations: 0 / 0.7502 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.413e-06/0.2283, allocations: 0 / 0.7502 GB, free: 11.11 MB / 0.5762 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.001243/0.2295, allocations: 0.6894 MB / 0.7509 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.2296, allocations: 8.031 kB / 0.7509 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.2298, allocations: 48.66 kB / 0.7509 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007928/0.2305, allocations: 408.3 kB / 0.7513 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.2306, allocations: 20.5 kB / 0.7514 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.09e-05/0.2306, allocations: 27.95 kB / 0.7514 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006799/0.2313, allocations: 416 kB / 0.7518 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.2313, allocations: 7.984 kB / 0.7518 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.2314, allocations: 8 kB / 0.7518 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.2314, allocations: 8 kB / 0.7518 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004856/0.2319, allocations: 197.8 kB / 0.752 GB, free: 9.188 MB / 0.5762 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.001769/0.2336, allocations: 1.089 MB / 0.753 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000453/0.2341, allocations: 150.6 kB / 0.7532 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.2343, allocations: 60.81 kB / 0.7533 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.928e-05/0.2344, allocations: 8 kB / 0.7533 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003841/0.2348, allocations: 248.5 kB / 0.7535 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 2.195e-06/0.2348, allocations: 0 / 0.7535 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0006477/0.2354, allocations: 225.3 kB / 0.7537 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.2355, allocations: 63.33 kB / 0.7538 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003849/0.2358, allocations: 332.4 kB / 0.7541 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.2359, allocations: 29.7 kB / 0.7541 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.2361, allocations: 216.4 kB / 0.7543 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.747e-05/0.2361, allocations: 59.48 kB / 0.7544 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.606e-05/0.2362, allocations: 49.7 kB / 0.7544 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.2364, allocations: 346.8 kB / 0.7548 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.2366, allocations: 97.59 kB / 0.7549 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.2369, allocations: 183 kB / 0.755 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004405/0.2373, allocations: 248.3 kB / 0.7553 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.2373, allocations: 4 kB / 0.7553 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006261/0.2379, allocations: 334.9 kB / 0.7556 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.612e-05/0.238, allocations: 42 kB / 0.7556 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.238, allocations: 0 / 0.7556 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.238, allocations: 11.94 kB / 0.7556 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.2382, allocations: 59.91 kB / 0.7557 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.2383, allocations: 4 kB / 0.7557 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/0.2385, allocations: 31.83 kB / 0.7557 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.2385, allocations: 8 kB / 0.7557 GB, free: 5.086 MB / 0.5762 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.0001837/0.2387, allocations: 161.7 kB / 0.7559 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.2387, allocations: 35.81 kB / 0.7559 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004838/0.2392, allocations: 199.2 kB / 0.7561 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.2392, allocations: 3.984 kB / 0.7561 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2392, allocations: 0 / 0.7561 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00055/0.2398, allocations: 487.7 kB / 0.7566 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000389/0.2402, allocations: 249.1 kB / 0.7568 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2402, allocations: 0 / 0.7568 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.2403, allocations: 31.98 kB / 0.7569 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.2403, allocations: 0 / 0.7569 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.2404, allocations: 11.94 kB / 0.7569 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.2404, allocations: 7.922 kB / 0.7569 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2404, allocations: 0 / 0.7569 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006339/0.241, allocations: 276.8 kB / 0.7571 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.2411, allocations: 47.77 kB / 0.7572 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.2412, allocations: 0 / 0.7572 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.2414, allocations: 27.91 kB / 0.7572 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.2415, allocations: 23.91 kB / 0.7572 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.2415, allocations: 4 kB / 0.7572 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002594/0.2417, allocations: 231 kB / 0.7575 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2417, allocations: 0 / 0.7575 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004544/0.2422, allocations: 131.6 kB / 0.7576 GB, free: 3.043 MB / 0.5762 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.0003281/0.2425, allocations: 189.2 kB / 0.7578 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005515/0.2431, allocations: 253.2 kB / 0.758 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.2431, allocations: 3.984 kB / 0.758 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.2433, allocations: 63 kB / 0.7581 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009227/0.2442, allocations: 198.7 kB / 0.7583 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.2457, allocations: 0.7708 MB / 0.759 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.2459, allocations: 177.1 kB / 0.7592 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.872e-05/0.246, allocations: 39.42 kB / 0.7592 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of SimCode: time 8.71e-07/0.246, allocations: 0 / 0.7592 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of Templates: time 0.3988/0.6448, allocations: 6.085 MB / 0.7652 GB, free: 34.63 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.090987475588918] Failed to read output from testmodel.py, exit status != 0: 0.6543780537322164 0.669290339 0.437692738 Calling exit ...