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.001582/0.001582, 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.001927/0.001927, allocations: 212.3 kB / 23.01 MB, free: 4.566 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.4/1.4, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.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.002441/0.002441, allocations: 281.2 kB / 313.5 MB, free: 2.816 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.166/1.166, allocations: 180.6 MB / 0.5377 GB, free: 12.99 MB / 382.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: NcDataReader2 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: BuildingSystems 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.002748/0.002748, allocations: 105.2 kB / 0.7408 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1732, allocations: 95.37 MB / 0.8339 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.01693/0.1901, allocations: 14.76 MB / 0.8484 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005491/0.1956, allocations: 3.672 MB / 0.8519 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000481/0.1961, allocations: 23.81 kB / 0.852 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006526/0.1967, allocations: 222.6 kB / 0.8522 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.1982, allocations: 0.6181 MB / 0.8528 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009389/0.1991, allocations: 419.3 kB / 0.8532 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001383/0.2005, allocations: 1.122 MB / 0.8543 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003921/0.2009, allocations: 261 kB / 0.8545 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009542/0.2018, allocations: 405.2 kB / 0.8549 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004442/0.2023, allocations: 338.5 kB / 0.8552 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.594e-05/0.2023, allocations: 32 kB / 0.8553 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005739/0.2029, allocations: 291.4 kB / 0.8555 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.203, allocations: 99.61 kB / 0.8556 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002253/0.2033, allocations: 207 kB / 0.8558 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008356/0.2041, allocations: 0.615 MB / 0.8564 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2041, allocations: 0 / 0.8564 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.163e-06/0.2041, allocations: 0 / 0.8564 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.2041, allocations: 0 / 0.8564 GB, free: 0.9805 MB / 0.5919 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.001146/0.2053, allocations: 0.6894 MB / 0.8571 GB, free: 260 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.2053, allocations: 9.344 kB / 0.8571 GB, free: 252 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/0.2055, allocations: 44.7 kB / 0.8572 GB, free: 208 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007653/0.2062, allocations: 416.6 kB / 0.8576 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.2063, allocations: 20.88 kB / 0.8576 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.139e-05/0.2063, allocations: 31.88 kB / 0.8576 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005718/0.2069, allocations: 309.3 kB / 0.8579 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.2069, allocations: 0 / 0.8579 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.2069, allocations: 12 kB / 0.8579 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.2069, allocations: 8 kB / 0.8579 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004595/0.2074, allocations: 201.7 kB / 0.8581 GB, free: 15.18 MB / 0.6075 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.001824/0.2092, allocations: 1.429 MB / 0.8595 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004187/0.2096, allocations: 146.6 kB / 0.8597 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.2098, allocations: 66.94 kB / 0.8597 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.648e-05/0.2099, allocations: 11.98 kB / 0.8597 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003324/0.2102, allocations: 127.3 kB / 0.8598 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.2102, allocations: 0 / 0.8598 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0006179/0.2109, allocations: 231.9 kB / 0.8601 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.2109, allocations: 63.28 kB / 0.8601 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003836/0.2113, allocations: 353.6 kB / 0.8605 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.2113, allocations: 33.7 kB / 0.8605 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.2115, allocations: 220.1 kB / 0.8607 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.032e-05/0.2115, allocations: 51.59 kB / 0.8608 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.757e-05/0.2116, allocations: 57.62 kB / 0.8608 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.2118, allocations: 342.8 kB / 0.8611 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.212, allocations: 71.95 kB / 0.8612 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.2122, allocations: 143.1 kB / 0.8613 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004293/0.2126, allocations: 254.1 kB / 0.8616 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2126, allocations: 0 / 0.8616 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005939/0.2132, allocations: 306.8 kB / 0.8619 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.891e-05/0.2133, allocations: 38 kB / 0.8619 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2133, allocations: 8 kB / 0.8619 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.2133, allocations: 4 kB / 0.8619 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.2135, allocations: 59.84 kB / 0.862 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.2135, allocations: 7.938 kB / 0.862 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.2138, allocations: 35.77 kB / 0.862 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.2138, allocations: 12 kB / 0.862 GB, free: 10.89 MB / 0.6075 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.0001873/0.214, allocations: 162.4 kB / 0.8622 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.214, allocations: 31.81 kB / 0.8622 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000448/0.2145, allocations: 196.4 kB / 0.8624 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/0.2145, allocations: 7.938 kB / 0.8624 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2145, allocations: 0 / 0.8624 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005153/0.215, allocations: 483.7 kB / 0.8629 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004329/0.2154, allocations: 324.5 kB / 0.8632 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2154, allocations: 4 kB / 0.8632 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.2156, allocations: 35.91 kB / 0.8632 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2156, allocations: 0 / 0.8632 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.2156, allocations: 8 kB / 0.8632 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.2156, allocations: 3.938 kB / 0.8632 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2156, allocations: 0 / 0.8632 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006121/0.2162, allocations: 285.1 kB / 0.8635 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.2163, allocations: 47.78 kB / 0.8636 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/0.2164, allocations: 12 kB / 0.8636 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.2166, allocations: 19.92 kB / 0.8636 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.2167, allocations: 11.97 kB / 0.8636 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.2167, allocations: 19.92 kB / 0.8636 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002606/0.2169, allocations: 251.2 kB / 0.8639 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.2169, allocations: 0 / 0.8639 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004129/0.2174, allocations: 127.6 kB / 0.864 GB, free: 8.75 MB / 0.6075 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.0002969/0.2177, allocations: 190.9 kB / 0.8642 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004978/0.2181, allocations: 223.2 kB / 0.8644 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2182, allocations: 3.938 kB / 0.8644 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.2183, allocations: 68.53 kB / 0.8644 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008876/0.2192, allocations: 208.6 kB / 0.8646 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.2206, allocations: 0.7835 MB / 0.8654 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/0.221, allocations: 0.7879 MB / 0.8662 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.959e-05/0.2211, allocations: 35.42 kB / 0.8662 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.2211, allocations: 0 / 0.8662 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of Templates: time 0.009327/0.2305, allocations: 6.176 MB / 0.8722 GB, free: 272 kB / 0.6075 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: 9.061007698066533] Failed to read output from testmodel.py, exit status != 0: 0.23808005591854453 0.252619965 0.045532202 Calling exit ...