Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001502/0.001502, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001649/0.001649, allocations: 165 kB / 24.17 MB, free: 336 kB / 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.9445/0.9445, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.063/2.063, allocations: 389.6 MB / 0.6354 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.7752 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.829e-06/1.1e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.00623/0.006241, allocations: 7.293 MB / 0.7823 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002516/0.008756, allocations: 2.513 MB / 0.7848 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.008969, allocations: 23.81 kB / 0.7848 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.009282, allocations: 131.6 kB / 0.7849 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0009135/0.0102, allocations: 0.5257 MB / 0.7854 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.01062, allocations: 365.4 kB / 0.7858 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007946/0.01142, allocations: 1.098 MB / 0.7868 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004653/0.01188, allocations: 300.8 kB / 0.7871 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005345/0.01242, allocations: 0.5341 MB / 0.7877 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000261/0.01268, allocations: 268.6 kB / 0.7879 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.668e-05/0.01271, allocations: 32 kB / 0.7879 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.0129, allocations: 139.7 kB / 0.7881 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.055e-05/0.01297, allocations: 99.59 kB / 0.7882 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.01307, allocations: 152.2 kB / 0.7883 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003938/0.01347, allocations: 406.6 kB / 0.7887 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.01347, allocations: 5.188 kB / 0.7887 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.41e-07/0.01347, allocations: 0 / 0.7887 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.01347, allocations: 0 / 0.7887 GB, free: 7.605 MB / 0.7448 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.0006277/0.0141, allocations: 0.6229 MB / 0.7893 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.01413, allocations: 14.03 kB / 0.7893 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.01427, allocations: 68 kB / 0.7894 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.01461, allocations: 311.3 kB / 0.7897 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.01462, allocations: 16.88 kB / 0.7897 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/0.01466, allocations: 28.38 kB / 0.7897 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.01494, allocations: 355.8 kB / 0.7901 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.01495, allocations: 0 / 0.7901 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.01497, allocations: 12 kB / 0.7901 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.01499, allocations: 8 kB / 0.7901 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.01509, allocations: 70.91 kB / 0.7902 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008542/0.01595, allocations: 0.9326 MB / 0.7911 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.01608, allocations: 75.45 kB / 0.7911 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.363e-05/0.01611, allocations: 28.84 kB / 0.7912 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.006e-05/0.01616, allocations: 16.59 kB / 0.7912 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.01631, allocations: 195.1 kB / 0.7914 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.01631, allocations: 0 / 0.7914 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0001535/0.01647, allocations: 105 kB / 0.7915 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/0.01649, allocations: 55.34 kB / 0.7915 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.01666, allocations: 300.5 kB / 0.7918 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.01668, allocations: 33.7 kB / 0.7918 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.902e-05/0.01676, allocations: 193 kB / 0.792 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.01679, allocations: 59.5 kB / 0.7921 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.609e-05/0.01685, allocations: 57.64 kB / 0.7921 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.718e-05/0.01694, allocations: 353.8 kB / 0.7925 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.253e-05/0.01698, allocations: 49.69 kB / 0.7925 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.723e-05/0.01707, allocations: 115.1 kB / 0.7926 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.01719, allocations: 177.5 kB / 0.7928 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01719, allocations: 0 / 0.7928 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002083/0.0174, allocations: 211.5 kB / 0.793 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.01742, allocations: 33.69 kB / 0.793 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.01743, allocations: 4.656 kB / 0.793 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.01744, allocations: 4 kB / 0.793 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.0176, allocations: 65.34 kB / 0.7931 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.0176, allocations: 4 kB / 0.7931 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.01771, allocations: 29.17 kB / 0.7931 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.01772, allocations: 8 kB / 0.7931 GB, free: 2.723 MB / 0.7448 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 8.208e-05/0.01781, allocations: 137.1 kB / 0.7933 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.01783, allocations: 23.97 kB / 0.7933 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.01796, allocations: 108 kB / 0.7934 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01797, allocations: 4 kB / 0.7934 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.01797, allocations: 1.438 kB / 0.7934 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000206/0.01817, allocations: 407.7 kB / 0.7938 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.01835, allocations: 176.5 kB / 0.794 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.01836, allocations: 0 / 0.794 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.841e-05/0.01845, allocations: 36.5 kB / 0.794 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.01846, allocations: 0.7812 kB / 0.794 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.01846, allocations: 7.938 kB / 0.794 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.01847, allocations: 1.781 kB / 0.794 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.01847, allocations: 0 / 0.794 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.01862, allocations: 155.7 kB / 0.7942 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.573e-05/0.01868, allocations: 31.8 kB / 0.7942 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.0187, allocations: 0 / 0.7942 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.932e-05/0.01879, allocations: 16.98 kB / 0.7942 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.01883, allocations: 19.97 kB / 0.7942 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.01884, allocations: 5.062 kB / 0.7942 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.263e-05/0.01892, allocations: 119.4 kB / 0.7943 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01892, allocations: 1.031 kB / 0.7943 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002121/0.01913, allocations: 115.7 kB / 0.7945 GB, free: 1.25 MB / 0.7448 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.000151/0.01928, allocations: 137.7 kB / 0.7946 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001569/0.01944, allocations: 181.1 kB / 0.7948 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.01944, allocations: 4 kB / 0.7948 GB, free: 0.918 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.588e-05/0.01949, allocations: 40.72 kB / 0.7948 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.0199, allocations: 203.7 kB / 0.795 GB, free: 0.6836 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009916/0.02089, allocations: 0.5961 MB / 0.7956 GB, free: 76 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.225e-05/0.02095, allocations: 98.97 kB / 0.7957 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001324/0.02108, allocations: 56.92 kB / 0.7957 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/0.02135, allocations: 177.9 kB / 0.7959 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of SimCode: time 7.01e-07/0.02135, allocations: 0 / 0.7959 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of Templates: time 0.008971/0.03032, allocations: 7.225 MB / 0.803 GB, free: 8.75 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.346152693033218]