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.0009636/0.0009636, 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.001017/0.001017, 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.9554/0.9554, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.001956/0.001956, allocations: 243.7 kB / 260.5 MB, free: 12.68 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.7161/0.7161, allocations: 138.4 MB / 402.2 MB, free: 500 kB / 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.633e-06/1.633e-06, allocations: 0 / 462.3 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.311e-05, allocations: 3.734 kB / 462.3 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.00721/0.007233, allocations: 7.246 MB / 469.6 MB, free: 11.35 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003339/0.01057, allocations: 2.506 MB / 472.1 MB, free: 8.852 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003022/0.01087, allocations: 23.81 kB / 472.1 MB, free: 8.828 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004395/0.01131, allocations: 131 kB / 472.2 MB, free: 8.699 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.01232, allocations: 0.5285 MB / 472.8 MB, free: 8.172 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000528/0.01285, allocations: 368.2 kB / 473.1 MB, free: 7.816 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.01389, allocations: 1.084 MB / 474.2 MB, free: 6.73 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005746/0.01447, allocations: 306.9 kB / 474.5 MB, free: 6.438 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006057/0.01507, allocations: 0.5433 MB / 475 MB, free: 5.91 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003082/0.01538, allocations: 263.2 kB / 475.3 MB, free: 5.652 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.728e-05/0.01543, allocations: 32 kB / 475.3 MB, free: 5.621 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.01566, allocations: 140.5 kB / 475.5 MB, free: 5.484 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.792e-05/0.01576, allocations: 99.61 kB / 475.6 MB, free: 5.387 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.0159, allocations: 148.3 kB / 475.7 MB, free: 5.242 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005772/0.01648, allocations: 406.6 kB / 476.1 MB, free: 4.844 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.01648, allocations: 0.9688 kB / 476.1 MB, free: 4.844 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.01648, allocations: 0 / 476.1 MB, free: 4.844 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.01649, allocations: 4 kB / 476.1 MB, free: 4.84 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.0007411/0.01723, allocations: 0.6345 MB / 476.8 MB, free: 4.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.01726, allocations: 8.75 kB / 476.8 MB, free: 4.172 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.01742, allocations: 65.5 kB / 476.8 MB, free: 4.109 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003801/0.0178, allocations: 308.1 kB / 477.1 MB, free: 3.789 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.01782, allocations: 21.62 kB / 477.1 MB, free: 3.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/0.01786, allocations: 32.95 kB / 477.2 MB, free: 3.738 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.01818, allocations: 349.7 kB / 477.5 MB, free: 3.348 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.01819, allocations: 0 / 477.5 MB, free: 3.348 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.01821, allocations: 12 kB / 477.5 MB, free: 3.336 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.01823, allocations: 9.094 kB / 477.5 MB, free: 3.328 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.01834, allocations: 77.39 kB / 477.6 MB, free: 3.258 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008768/0.01922, allocations: 0.9247 MB / 478.5 MB, free: 2.297 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.01936, allocations: 75.3 kB / 478.6 MB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.554e-05/0.0194, allocations: 26.78 kB / 478.6 MB, free: 2.188 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.417e-05/0.01945, allocations: 12.89 kB / 478.7 MB, free: 2.176 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.01961, allocations: 195 kB / 478.8 MB, free: 1.949 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.01961, allocations: 0 / 478.8 MB, free: 1.949 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001697/0.01978, allocations: 109 kB / 479 MB, free: 1.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.01981, allocations: 59.39 kB / 479 MB, free: 1.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.02, allocations: 293.6 kB / 479.3 MB, free: 1.473 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.02002, allocations: 33.7 kB / 479.3 MB, free: 1.434 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.555e-05/0.02011, allocations: 196.9 kB / 479.5 MB, free: 1.238 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/0.02015, allocations: 60.25 kB / 479.6 MB, free: 1.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.547e-05/0.02021, allocations: 53.64 kB / 479.6 MB, free: 1.121 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.02031, allocations: 351.5 kB / 480 MB, free: 0.7695 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.543e-05/0.02035, allocations: 46.44 kB / 480 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.798e-05/0.02043, allocations: 131.5 kB / 480.1 MB, free: 0.5547 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.02056, allocations: 172.9 kB / 480.3 MB, free: 356 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.02057, allocations: 0 / 480.3 MB, free: 356 kB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000182/0.02075, allocations: 214.1 kB / 480.5 MB, free: 128 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.02078, allocations: 37.69 kB / 480.6 MB, free: 84 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.02078, allocations: 0 / 480.6 MB, free: 84 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.0208, allocations: 4 kB / 480.6 MB, free: 80 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.02096, allocations: 59.91 kB / 480.6 MB, free: 20 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.02096, allocations: 4.938 kB / 480.6 MB, free: 16 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.02109, allocations: 31.83 kB / 480.7 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.0211, allocations: 13.69 kB / 480.7 MB, free: 15.97 MB / 442.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 8.756e-05/0.02119, allocations: 137.2 kB / 480.8 MB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.02122, allocations: 19.98 kB / 480.8 MB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.02135, allocations: 114.2 kB / 480.9 MB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.02135, allocations: 1.25 kB / 480.9 MB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.02135, allocations: 1.125 kB / 480.9 MB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001536/0.02151, allocations: 403.7 kB / 481.3 MB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.02169, allocations: 177.2 kB / 481.5 MB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.02169, allocations: 1.344 kB / 481.5 MB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.717e-05/0.02179, allocations: 31.97 kB / 481.5 MB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.02179, allocations: 7.938 kB / 481.6 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.0218, allocations: 4.531 kB / 481.6 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.0218, allocations: 1.031 kB / 481.6 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.02181, allocations: 0.5 kB / 481.6 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.02196, allocations: 150.7 kB / 481.7 MB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/0.02202, allocations: 40.81 kB / 481.7 MB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.02205, allocations: 0 / 481.7 MB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.213e-05/0.02214, allocations: 17.8 kB / 481.8 MB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.02218, allocations: 22.3 kB / 481.8 MB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.02219, allocations: 4 kB / 481.8 MB, free: 14.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.628e-05/0.02228, allocations: 113 kB / 481.9 MB, free: 14.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02228, allocations: 0 / 481.9 MB, free: 14.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000219/0.0225, allocations: 119.7 kB / 482 MB, free: 14.5 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.0001725/0.02267, allocations: 136.8 kB / 482.1 MB, free: 14.36 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000158/0.02283, allocations: 171 kB / 482.3 MB, free: 14.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.02283, allocations: 5.531 kB / 482.3 MB, free: 14.17 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.844e-05/0.02288, allocations: 44.77 kB / 482.4 MB, free: 14.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.02333, allocations: 203.1 kB / 482.6 MB, free: 13.95 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008815/0.02421, allocations: 0.6017 MB / 483.2 MB, free: 13.36 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.052e-05/0.02426, allocations: 92.61 kB / 483.3 MB, free: 13.25 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000134/0.0244, allocations: 60.69 kB / 483.3 MB, free: 13.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.02465, allocations: 178 kB / 483.5 MB, free: 13.03 MB / 442.7 MB Notification: Performance of SimCode: time 4.61e-07/0.02465, allocations: 0.5 kB / 483.5 MB, free: 13.03 MB / 442.7 MB Notification: Performance of Templates: time 0.009144/0.03379, allocations: 7.25 MB / 490.7 MB, free: 6.246 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5940420301631093]