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.0009251/0.0009251, allocations: 80.81 kB / 19.94 MB, free: 4.547 MB / 18.57 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.000902/0.000902, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 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.9563/0.9563, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.001736/0.001736, allocations: 240.5 kB / 260.5 MB, free: 12.7 MB / 250.7 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 0.729/0.729, allocations: 138.4 MB / 402.2 MB, free: 0.5664 MB / 362.7 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.242e-06/1.242e-06, allocations: 0 / 462.3 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085e-05/1.209e-05, allocations: 6.484 kB / 462.3 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.006702/0.006715, allocations: 7.204 MB / 469.5 MB, free: 11.48 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002978/0.009693, allocations: 2.505 MB / 472 MB, free: 8.984 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002405/0.009933, allocations: 24.69 kB / 472 MB, free: 8.961 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003619/0.01029, allocations: 135 kB / 472.2 MB, free: 8.828 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007563/0.01105, allocations: 0.5305 MB / 472.7 MB, free: 8.301 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006698/0.01172, allocations: 361.5 kB / 473 MB, free: 7.949 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008104/0.01253, allocations: 1.097 MB / 474.1 MB, free: 6.852 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000272/0.0128, allocations: 282.3 kB / 474.4 MB, free: 6.574 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007851/0.01359, allocations: 0.5283 MB / 474.9 MB, free: 6.055 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002662/0.01385, allocations: 268.7 kB / 475.2 MB, free: 5.793 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.01389, allocations: 32 kB / 475.2 MB, free: 5.762 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.01406, allocations: 136.4 kB / 475.4 MB, free: 5.629 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.395e-05/0.01413, allocations: 100.4 kB / 475.5 MB, free: 5.531 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.01424, allocations: 151.6 kB / 475.6 MB, free: 5.383 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003886/0.01463, allocations: 402.6 kB / 476 MB, free: 4.988 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.01463, allocations: 1.5 kB / 476 MB, free: 4.988 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.01463, allocations: 0 / 476 MB, free: 4.988 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.01464, allocations: 0 / 476 MB, free: 4.988 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.0006434/0.01528, allocations: 0.6375 MB / 476.6 MB, free: 4.324 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.01531, allocations: 9.875 kB / 476.7 MB, free: 4.316 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.01545, allocations: 64.77 kB / 476.7 MB, free: 4.254 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.01578, allocations: 309.9 kB / 477 MB, free: 3.934 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.0158, allocations: 20.88 kB / 477 MB, free: 3.914 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/0.01584, allocations: 32.31 kB / 477.1 MB, free: 3.883 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.01614, allocations: 351.9 kB / 477.4 MB, free: 3.488 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.01615, allocations: 1.062 kB / 477.4 MB, free: 3.488 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.01617, allocations: 14.91 kB / 477.4 MB, free: 3.477 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.0162, allocations: 4 kB / 477.4 MB, free: 3.473 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.01631, allocations: 74.77 kB / 477.5 MB, free: 3.406 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008336/0.01714, allocations: 0.9251 MB / 478.4 MB, free: 2.441 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.01729, allocations: 86.39 kB / 478.5 MB, free: 2.348 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.122e-05/0.01732, allocations: 25.92 kB / 478.5 MB, free: 2.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.659e-05/0.01738, allocations: 12.73 kB / 478.6 MB, free: 2.309 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/0.01752, allocations: 194.7 kB / 478.7 MB, free: 2.086 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.01752, allocations: 0 / 478.7 MB, free: 2.086 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001621/0.01768, allocations: 109.5 kB / 478.9 MB, free: 1.973 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.01774, allocations: 59.41 kB / 478.9 MB, free: 1.902 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.01791, allocations: 288.6 kB / 479.2 MB, free: 1.609 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.01793, allocations: 33.7 kB / 479.2 MB, free: 1.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.567e-05/0.01801, allocations: 193.8 kB / 479.4 MB, free: 1.379 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.01805, allocations: 55.52 kB / 479.5 MB, free: 1.324 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.796e-05/0.01811, allocations: 66.67 kB / 479.5 MB, free: 1.254 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.01825, allocations: 346.7 kB / 479.9 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.216e-05/0.01829, allocations: 46.44 kB / 479.9 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.91e-05/0.01836, allocations: 124.3 kB / 480 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.01849, allocations: 179.2 kB / 480.2 MB, free: 500 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.01849, allocations: 3.984 kB / 480.2 MB, free: 496 kB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001713/0.01866, allocations: 211.4 kB / 480.4 MB, free: 268 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.01868, allocations: 33.7 kB / 480.5 MB, free: 228 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01869, allocations: 1.5 kB / 480.5 MB, free: 228 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.0187, allocations: 6.312 kB / 480.5 MB, free: 224 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.01883, allocations: 59.91 kB / 480.5 MB, free: 164 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.01883, allocations: 4.5 kB / 480.5 MB, free: 160 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.01894, allocations: 32.83 kB / 480.6 MB, free: 128 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.01895, allocations: 8 kB / 480.6 MB, free: 120 kB / 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 9.539e-05/0.01904, allocations: 141.1 kB / 480.7 MB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.01907, allocations: 19.98 kB / 480.7 MB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.01919, allocations: 111.5 kB / 480.8 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01919, allocations: 0 / 480.8 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.0192, allocations: 0 / 480.8 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001435/0.01934, allocations: 407.7 kB / 481.2 MB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.01951, allocations: 176.3 kB / 481.4 MB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.01952, allocations: 0.75 kB / 481.4 MB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.899e-05/0.01959, allocations: 31.98 kB / 481.4 MB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.0196, allocations: 2.047 kB / 481.4 MB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001393/0.01974, allocations: 3.984 kB / 481.4 MB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.01974, allocations: 4 kB / 481.4 MB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01974, allocations: 1.219 kB / 481.4 MB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.01989, allocations: 155.7 kB / 481.6 MB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.01994, allocations: 27.81 kB / 481.6 MB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.01997, allocations: 13.92 kB / 481.6 MB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.555e-05/0.02006, allocations: 11.98 kB / 481.7 MB, free: 14.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.02009, allocations: 17.31 kB / 481.7 MB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.0201, allocations: 4 kB / 481.7 MB, free: 14.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.274e-05/0.02018, allocations: 119.4 kB / 481.8 MB, free: 14.76 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02018, allocations: 1.469 kB / 481.8 MB, free: 14.76 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002086/0.02039, allocations: 111.7 kB / 481.9 MB, free: 14.65 MB / 442.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.0001601/0.02055, allocations: 129.7 kB / 482 MB, free: 14.52 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001523/0.0207, allocations: 187.2 kB / 482.2 MB, free: 14.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.02071, allocations: 5.281 kB / 482.2 MB, free: 14.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.493e-05/0.02075, allocations: 36.78 kB / 482.3 MB, free: 14.28 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.02116, allocations: 210 kB / 482.5 MB, free: 14.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008308/0.02199, allocations: 0.5938 MB / 483 MB, free: 13.51 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.77e-05/0.02203, allocations: 98.08 kB / 483.1 MB, free: 13.39 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001235/0.02216, allocations: 52.97 kB / 483.2 MB, free: 13.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/0.0224, allocations: 178.2 kB / 483.4 MB, free: 13.18 MB / 442.7 MB Notification: Performance of SimCode: time 5.81e-07/0.0224, allocations: 0 / 483.4 MB, free: 13.18 MB / 442.7 MB Notification: Performance of Templates: time 0.008531/0.03093, allocations: 7.246 MB / 490.6 MB, free: 6.414 MB / 442.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.6454807491973042]