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.0009935/0.0009935, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00137/0.002364, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.00106/0.00106, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001484/0.002544, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9261/0.9261, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08534/1.011, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001504/0.001504, allocations: 234.9 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001229/0.002733, allocations: 475.3 kB / 244.8 MB, free: 14.06 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7561/0.7561, allocations: 138.7 MB / 384.3 MB, free: 348 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09536/0.8515, allocations: 42.4 MB / 426.7 MB, free: 5.816 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.442e-06/1.442e-06, allocations: 0 / 428 MB, free: 4.5 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/1.986e-05, allocations: 2.312 kB / 428 MB, free: 4.496 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.2182/0.2182, allocations: 7.272 MB / 435.3 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00377/0.222, allocations: 2.523 MB / 437.8 MB, free: 112 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004771/0.2224, allocations: 27.5 kB / 437.9 MB, free: 96 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003912/0.2228, allocations: 126.2 kB / 438 MB, free: 44 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.224, allocations: 0.5301 MB / 438.5 MB, free: 15.8 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008949/0.2249, allocations: 357.8 kB / 438.9 MB, free: 15.74 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001557/0.2265, allocations: 1.092 MB / 440 MB, free: 15.34 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007667/0.2272, allocations: 287.9 kB / 440.2 MB, free: 15.17 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009957/0.2282, allocations: 0.573 MB / 440.8 MB, free: 14.95 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000496/0.2287, allocations: 263.4 kB / 441.1 MB, free: 14.86 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.215e-05/0.2288, allocations: 33.56 kB / 441.1 MB, free: 14.86 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003729/0.2292, allocations: 139.4 kB / 441.2 MB, free: 14.82 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.39e-05/0.2293, allocations: 79.72 kB / 441.3 MB, free: 14.8 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.2294, allocations: 125.7 kB / 441.4 MB, free: 14.79 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005657/0.23, allocations: 372.5 kB / 441.8 MB, free: 14.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.171e-05/0.23, allocations: 0 / 441.8 MB, free: 14.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.23, allocations: 1.062 kB / 441.8 MB, free: 14.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.23, allocations: 3.938 kB / 441.8 MB, free: 14.66 MB / 426.7 MB 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.0009521/0.231, allocations: 0.7225 MB / 442.5 MB, free: 14.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.231, allocations: 10.91 kB / 442.5 MB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.2312, allocations: 138.5 kB / 442.7 MB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.2316, allocations: 312.1 kB / 443 MB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.2316, allocations: 19.91 kB / 443 MB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.2317, allocations: 33.25 kB / 443 MB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.232, allocations: 346.8 kB / 443.4 MB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.232, allocations: 4.688 kB / 443.4 MB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.232, allocations: 12.12 kB / 443.4 MB, free: 13.58 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.232, allocations: 8.469 kB / 443.4 MB, free: 13.58 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.2322, allocations: 76.64 kB / 443.5 MB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.2332, allocations: 0.9287 MB / 444.4 MB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.2334, allocations: 80.3 kB / 444.5 MB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.485e-05/0.2334, allocations: 22.34 kB / 444.5 MB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.207e-05/0.2335, allocations: 15.94 kB / 444.5 MB, free: 12.81 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.2337, allocations: 196 kB / 444.7 MB, free: 12.63 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.873e-06/0.2337, allocations: 3.938 kB / 444.7 MB, free: 12.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001801/0.2338, allocations: 106.8 kB / 444.8 MB, free: 12.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.2339, allocations: 54.28 kB / 444.9 MB, free: 12.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.2341, allocations: 299.2 kB / 445.2 MB, free: 12.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.2341, allocations: 33.14 kB / 445.2 MB, free: 12.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.339e-05/0.2342, allocations: 199.2 kB / 445.4 MB, free: 12.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.2342, allocations: 55.47 kB / 445.4 MB, free: 12.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.777e-05/0.2343, allocations: 50.56 kB / 445.5 MB, free: 12.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.301e-05/0.2344, allocations: 348.5 kB / 445.8 MB, free: 11.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-05/0.2344, allocations: 46.78 kB / 445.9 MB, free: 11.72 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.875e-05/0.2345, allocations: 130.5 kB / 446 MB, free: 11.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.2346, allocations: 180.5 kB / 446.2 MB, free: 11.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2346, allocations: 1.344 kB / 446.2 MB, free: 11.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002221/0.2349, allocations: 212.8 kB / 446.4 MB, free: 11.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.046e-05/0.2349, allocations: 34.61 kB / 446.4 MB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.2349, allocations: 4.844 kB / 446.4 MB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.2349, allocations: 7.984 kB / 446.4 MB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.2351, allocations: 59.78 kB / 446.5 MB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.2351, allocations: 10.31 kB / 446.5 MB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.2353, allocations: 34.52 kB / 446.5 MB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.2353, allocations: 11.47 kB / 446.5 MB, free: 11.27 MB / 426.7 MB 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.0001194/0.2354, allocations: 132.4 kB / 446.7 MB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.2354, allocations: 23.81 kB / 446.7 MB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/0.2356, allocations: 106.2 kB / 446.8 MB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.2356, allocations: 1.031 kB / 446.8 MB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2357, allocations: 3.688 kB / 446.8 MB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002158/0.2359, allocations: 409 kB / 447.2 MB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/0.2362, allocations: 178.1 kB / 447.4 MB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.2362, allocations: 0.6875 kB / 447.4 MB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.2363, allocations: 36.45 kB / 447.4 MB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.498e-05/0.2364, allocations: 42.61 kB / 447.5 MB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.2364, allocations: 1 kB / 447.5 MB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.2364, allocations: 2.5 kB / 447.5 MB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.2364, allocations: 8.281 kB / 447.5 MB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2364, allocations: 0 / 447.5 MB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.2366, allocations: 152.1 kB / 447.6 MB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.2366, allocations: 2.469 kB / 447.6 MB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.2367, allocations: 19.12 kB / 447.6 MB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.2368, allocations: 15.55 kB / 447.7 MB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.2368, allocations: 5.875 kB / 447.7 MB, free: 10.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001301/0.2369, allocations: 111.4 kB / 447.8 MB, free: 10.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2369, allocations: 2.844 kB / 447.8 MB, free: 10.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003402/0.2372, allocations: 113.6 kB / 447.9 MB, free: 10.34 MB / 426.7 MB 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.000228/0.2375, allocations: 128.9 kB / 448 MB, free: 10.26 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.2377, allocations: 187.1 kB / 448.2 MB, free: 10.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/0.2377, allocations: 7.094 kB / 448.2 MB, free: 10.13 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.186e-05/0.2378, allocations: 51.78 kB / 448.2 MB, free: 10.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009435/0.2387, allocations: 1.306 MB / 449.6 MB, free: 8.789 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.2414, allocations: 0.5864 MB / 450.1 MB, free: 8.426 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.526e-05/0.2415, allocations: 100.6 kB / 450.2 MB, free: 8.352 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002574/0.2418, allocations: 54.27 kB / 450.3 MB, free: 8.344 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002724/0.242, allocations: 176.2 kB / 450.5 MB, free: 8.258 MB / 426.7 MB Notification: Performance of SimCode: time 1.342e-06/0.242, allocations: 0 / 450.5 MB, free: 8.258 MB / 426.7 MB Notification: Performance of Templates: time 0.009822/0.2519, allocations: 7.56 MB / 458 MB, free: 2.48 MB / 426.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.628076291643083]