Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001489/0.001489, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.001525/0.001525, allocations: 165.6 kB / 22.46 MB, free: 5.359 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.412/1.412, allocations: 177.1 MB / 202.8 MB, free: 9.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002527/0.002527, allocations: 233.4 kB / 259.4 MB, free: 0.5039 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.214/1.214, allocations: 138.4 MB / 454.3 MB, free: 2.07 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel") translateModel(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.6468 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.682e-05, allocations: 6.219 kB / 0.6468 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.2836/0.2836, allocations: 13.4 MB / 0.6599 GB, free: 50.19 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003944/0.2875, allocations: 3.393 MB / 0.6632 GB, free: 47.92 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003261/0.2878, allocations: 28.91 kB / 0.6632 GB, free: 47.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005277/0.2884, allocations: 210 kB / 0.6634 GB, free: 47.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.2895, allocations: 0.6346 MB / 0.664 GB, free: 47.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007423/0.2903, allocations: 417 kB / 0.6644 GB, free: 47.19 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009181/0.2912, allocations: 1.096 MB / 0.6655 GB, free: 46.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003094/0.2915, allocations: 263.1 kB / 0.6657 GB, free: 46.54 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000917/0.2924, allocations: 0.5179 MB / 0.6662 GB, free: 46.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003172/0.2927, allocations: 273.6 kB / 0.6665 GB, free: 46.22 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.443e-05/0.2928, allocations: 32.62 kB / 0.6665 GB, free: 46.22 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003569/0.2931, allocations: 229.5 kB / 0.6667 GB, free: 46.13 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.473e-05/0.2932, allocations: 102.7 kB / 0.6668 GB, free: 46.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.2934, allocations: 144.9 kB / 0.667 GB, free: 46.01 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006338/0.294, allocations: 0.617 MB / 0.6676 GB, free: 45.79 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.294, allocations: 2.25 kB / 0.6676 GB, free: 45.79 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.92e-07/0.294, allocations: 0 / 0.6676 GB, free: 45.79 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.294, allocations: 2.969 kB / 0.6676 GB, free: 45.79 MB / 0.5606 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.0009429/0.295, allocations: 0.6771 MB / 0.6683 GB, free: 45.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.295, allocations: 12.59 kB / 0.6683 GB, free: 45.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.2952, allocations: 53.44 kB / 0.6683 GB, free: 45.24 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006111/0.2958, allocations: 406 kB / 0.6687 GB, free: 44.96 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.2958, allocations: 19.28 kB / 0.6687 GB, free: 44.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.2959, allocations: 25.69 kB / 0.6687 GB, free: 44.95 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005298/0.2964, allocations: 418.7 kB / 0.6691 GB, free: 44.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.2964, allocations: 3.938 kB / 0.6691 GB, free: 44.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.2964, allocations: 10.94 kB / 0.6692 GB, free: 44.65 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.2965, allocations: 11.66 kB / 0.6692 GB, free: 44.65 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004354/0.2969, allocations: 194 kB / 0.6694 GB, free: 44.59 MB / 0.5606 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.001304/0.2982, allocations: 1.084 MB / 0.6704 GB, free: 43.79 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.2986, allocations: 149.7 kB / 0.6706 GB, free: 43.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.2988, allocations: 67.36 kB / 0.6706 GB, free: 43.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.832e-05/0.2988, allocations: 8.625 kB / 0.6706 GB, free: 43.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000273/0.2991, allocations: 228.5 kB / 0.6708 GB, free: 43.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.2991, allocations: 0 / 0.6708 GB, free: 43.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0005835/0.2997, allocations: 235.4 kB / 0.6711 GB, free: 43.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.2997, allocations: 54.69 kB / 0.6711 GB, free: 43.35 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.3, allocations: 338.3 kB / 0.6714 GB, free: 43.16 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.3, allocations: 29.7 kB / 0.6715 GB, free: 43.13 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.508e-05/0.3001, allocations: 222.7 kB / 0.6717 GB, free: 42.95 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.3001, allocations: 55.17 kB / 0.6717 GB, free: 42.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.435e-05/0.3002, allocations: 52.17 kB / 0.6718 GB, free: 42.87 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.609e-05/0.3003, allocations: 345.1 kB / 0.6721 GB, free: 42.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.3005, allocations: 96.17 kB / 0.6722 GB, free: 42.49 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.3007, allocations: 175.2 kB / 0.6724 GB, free: 42.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.301, allocations: 248.6 kB / 0.6726 GB, free: 42.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.301, allocations: 4 kB / 0.6726 GB, free: 42.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005613/0.3016, allocations: 337.5 kB / 0.6729 GB, free: 41.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.3016, allocations: 41.8 kB / 0.673 GB, free: 41.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3016, allocations: 2.906 kB / 0.673 GB, free: 41.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3016, allocations: 2.938 kB / 0.673 GB, free: 41.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.3019, allocations: 61.66 kB / 0.673 GB, free: 41.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.3019, allocations: 6.562 kB / 0.6731 GB, free: 41.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.3021, allocations: 36.22 kB / 0.6731 GB, free: 41.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.3021, allocations: 14.88 kB / 0.6731 GB, free: 41.91 MB / 0.5606 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.0001212/0.3023, allocations: 158.8 kB / 0.6733 GB, free: 41.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/0.3023, allocations: 37.17 kB / 0.6733 GB, free: 41.74 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004363/0.3027, allocations: 194.4 kB / 0.6735 GB, free: 41.65 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3028, allocations: 0 / 0.6735 GB, free: 41.65 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3028, allocations: 2.906 kB / 0.6735 GB, free: 41.65 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003858/0.3031, allocations: 481 kB / 0.6739 GB, free: 41.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.3034, allocations: 249.7 kB / 0.6742 GB, free: 41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3034, allocations: 0.7031 kB / 0.6742 GB, free: 41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.3036, allocations: 33.39 kB / 0.6742 GB, free: 41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3036, allocations: 2.625 kB / 0.6742 GB, free: 41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.3036, allocations: 5.641 kB / 0.6742 GB, free: 41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3036, allocations: 2.625 kB / 0.6742 GB, free: 41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3036, allocations: 0 / 0.6742 GB, free: 41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005861/0.3042, allocations: 292.8 kB / 0.6745 GB, free: 40.85 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.835e-05/0.3043, allocations: 42.94 kB / 0.6745 GB, free: 40.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.796e-05/0.3044, allocations: 6.609 kB / 0.6745 GB, free: 40.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.3046, allocations: 18.41 kB / 0.6746 GB, free: 40.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.3047, allocations: 20.59 kB / 0.6746 GB, free: 40.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.3047, allocations: 8.438 kB / 0.6746 GB, free: 40.81 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001979/0.3049, allocations: 228.5 kB / 0.6748 GB, free: 40.69 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.3049, allocations: 0 / 0.6748 GB, free: 40.69 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003953/0.3053, allocations: 128.3 kB / 0.6749 GB, free: 40.66 MB / 0.5606 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.0002838/0.3056, allocations: 189.7 kB / 0.6751 GB, free: 40.54 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004766/0.306, allocations: 253.2 kB / 0.6753 GB, free: 40.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3061, allocations: 8 kB / 0.6754 GB, free: 40.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.3062, allocations: 59.28 kB / 0.6754 GB, free: 40.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009254/0.3072, allocations: 204 kB / 0.6756 GB, free: 40.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.3083, allocations: 0.665 MB / 0.6763 GB, free: 39.92 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.3084, allocations: 179.5 kB / 0.6764 GB, free: 39.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002025/0.3086, allocations: 60.55 kB / 0.6765 GB, free: 39.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.227e-05/0.3087, allocations: 36.27 kB / 0.6765 GB, free: 39.81 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.3087, allocations: 2.719 kB / 0.6765 GB, free: 39.81 MB / 0.5606 GB Notification: Performance of Templates: time 0.0134/0.3221, allocations: 7.173 MB / 0.6835 GB, free: 38.92 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.258456729352474] Failed to read output from testmodel.py, exit status != 0: 0.3304159976541996 0.34195722999999995 0.045357595 Calling exit ...