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.00135/0.00135, allocations: 105 kB / 20.44 MB, free: 1.504 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.001472/0.001472, allocations: 209.7 kB / 23.76 MB, free: 4.727 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.534/1.534, allocations: 230.6 MB / 257.5 MB, free: 8.008 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 1.005/1.005, allocations: 150 MB / 463.9 MB, free: 10.49 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.002943/0.002943, allocations: 64.16 kB / 0.6425 GB, free: 9.914 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2498, allocations: 89.17 MB / 0.7296 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.02236/0.2721, allocations: 14.78 MB / 0.744 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00735/0.2795, allocations: 3.674 MB / 0.7476 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007512/0.2802, allocations: 23.81 kB / 0.7476 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007681/0.281, allocations: 214.7 kB / 0.7478 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001911/0.2829, allocations: 0.6337 MB / 0.7484 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.284, allocations: 401.4 kB / 0.7488 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001681/0.2857, allocations: 1.134 MB / 0.7499 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004743/0.2862, allocations: 264.9 kB / 0.7502 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.2875, allocations: 447.5 kB / 0.7506 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005287/0.288, allocations: 326.5 kB / 0.7509 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.788e-05/0.2881, allocations: 36 kB / 0.7509 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007678/0.2889, allocations: 283.5 kB / 0.7512 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.289, allocations: 103.5 kB / 0.7513 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002625/0.2893, allocations: 218.9 kB / 0.7515 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.2905, allocations: 0.6189 MB / 0.7521 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2905, allocations: 0 / 0.7521 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2905, allocations: 0 / 0.7521 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.2905, allocations: 0 / 0.7521 GB, free: 9.617 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.001514/0.292, allocations: 0.6855 MB / 0.7528 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.292, allocations: 8.031 kB / 0.7528 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.2922, allocations: 48.66 kB / 0.7528 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008119/0.293, allocations: 416.2 kB / 0.7532 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.2931, allocations: 20.5 kB / 0.7533 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.5e-05/0.2931, allocations: 24 kB / 0.7533 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006098/0.2937, allocations: 313.2 kB / 0.7536 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.2938, allocations: 3.953 kB / 0.7536 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.917e-05/0.2938, allocations: 12 kB / 0.7536 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.2938, allocations: 8 kB / 0.7536 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004871/0.2943, allocations: 197.8 kB / 0.7538 GB, free: 7.824 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.002298/0.2966, allocations: 1.417 MB / 0.7552 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004638/0.2971, allocations: 150.6 kB / 0.7553 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.2973, allocations: 64.81 kB / 0.7554 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.2974, allocations: 4 kB / 0.7554 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003036/0.2977, allocations: 131.3 kB / 0.7555 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.754e-06/0.2977, allocations: 3.938 kB / 0.7555 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0006824/0.2984, allocations: 232.2 kB / 0.7557 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.2984, allocations: 59.39 kB / 0.7558 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004065/0.2988, allocations: 345.7 kB / 0.7561 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.2989, allocations: 37.7 kB / 0.7562 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.299, allocations: 220.1 kB / 0.7564 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.199e-05/0.2991, allocations: 59.56 kB / 0.7564 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-05/0.2992, allocations: 53.66 kB / 0.7565 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.2994, allocations: 346.8 kB / 0.7568 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.2996, allocations: 75.88 kB / 0.7569 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.2998, allocations: 149.3 kB / 0.757 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004717/0.3003, allocations: 241.7 kB / 0.7573 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.3003, allocations: 7.938 kB / 0.7573 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006143/0.3009, allocations: 310.8 kB / 0.7576 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.588e-05/0.3009, allocations: 37.64 kB / 0.7576 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.3009, allocations: 4 kB / 0.7576 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.301, allocations: 8.312 kB / 0.7576 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.3012, allocations: 55.91 kB / 0.7577 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.3013, allocations: 4 kB / 0.7577 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/0.3015, allocations: 35.77 kB / 0.7577 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.501e-05/0.3016, allocations: 15.98 kB / 0.7577 GB, free: 3.523 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.0001907/0.3017, allocations: 153.8 kB / 0.7579 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.102e-05/0.3018, allocations: 39.7 kB / 0.7579 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004893/0.3023, allocations: 204.4 kB / 0.7581 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.3023, allocations: 4 kB / 0.7581 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3023, allocations: 0 / 0.7581 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005494/0.3029, allocations: 483.7 kB / 0.7586 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004642/0.3034, allocations: 320.5 kB / 0.7589 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3034, allocations: 4 kB / 0.7589 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.3035, allocations: 35.97 kB / 0.7589 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.3035, allocations: 3.938 kB / 0.7589 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.3035, allocations: 8 kB / 0.7589 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3035, allocations: 3.938 kB / 0.7589 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3035, allocations: 0 / 0.7589 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006465/0.3042, allocations: 283.4 kB / 0.7592 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.3043, allocations: 47.83 kB / 0.7592 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.4e-05/0.3044, allocations: 11.94 kB / 0.7592 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.3046, allocations: 19.97 kB / 0.7593 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.368e-05/0.3047, allocations: 7.984 kB / 0.7593 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/0.3047, allocations: 15.98 kB / 0.7593 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002869/0.305, allocations: 247.2 kB / 0.7595 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.305, allocations: 0 / 0.7595 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005387/0.3055, allocations: 131.6 kB / 0.7596 GB, free: 1.387 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.0004489/0.306, allocations: 197 kB / 0.7598 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005411/0.3065, allocations: 219.2 kB / 0.76 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3065, allocations: 0 / 0.76 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.3067, allocations: 67.89 kB / 0.7601 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009576/0.3077, allocations: 213.8 kB / 0.7603 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3882/0.6958, allocations: 0.7722 MB / 0.7611 GB, free: 36.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.6961, allocations: 0.7879 MB / 0.7618 GB, free: 35.39 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.6963, allocations: 36.39 kB / 0.7619 GB, free: 35.39 MB / 0.5762 GB Notification: Performance of SimCode: time 1.152e-06/0.6963, allocations: 0 / 0.7619 GB, free: 35.39 MB / 0.5762 GB Notification: Performance of Templates: time 0.01262/0.7089, allocations: 6.163 MB / 0.7679 GB, free: 34.96 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.002234772080556] Failed to read output from testmodel.py, exit status != 0: 0.720146925887093 0.7334974390000001 0.44021403400000003 Calling exit ...