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.0009667/0.0009667, allocations: 84.8 kB / 21.62 MB, free: 2.836 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.001063/0.001063, allocations: 167 kB / 25.05 MB, free: 9.148 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.9488/0.9488, allocations: 177.1 MB / 205.5 MB, free: 5.465 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 1.914/1.914, allocations: 389.6 MB / 0.6363 GB, free: 12.25 MB / 0.6042 GB " [Timeout remaining time 178] 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.503e-06/1.503e-06, allocations: 0 / 0.7761 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.815e-05, allocations: 4 kB / 0.7761 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.009013/0.009031, allocations: 7.294 MB / 0.7832 GB, free: 14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003627/0.01266, allocations: 2.505 MB / 0.7857 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000271/0.01293, allocations: 23.81 kB / 0.7857 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000687/0.01362, allocations: 127.5 kB / 0.7858 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.01463, allocations: 0.521 MB / 0.7863 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006307/0.01526, allocations: 365.4 kB / 0.7867 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001071/0.01633, allocations: 1.096 MB / 0.7878 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000505/0.01684, allocations: 298.9 kB / 0.788 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005227/0.01736, allocations: 0.5413 MB / 0.7886 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.01761, allocations: 267.1 kB / 0.7888 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.823e-05/0.01764, allocations: 32 kB / 0.7889 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.01783, allocations: 140.7 kB / 0.789 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.121e-05/0.01791, allocations: 95.61 kB / 0.7891 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.01801, allocations: 151.6 kB / 0.7892 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003986/0.01841, allocations: 403.4 kB / 0.7896 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.01841, allocations: 0 / 0.7896 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.152e-06/0.01841, allocations: 0.7188 kB / 0.7896 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.01842, allocations: 0 / 0.7896 GB, free: 7.488 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.0006454/0.01906, allocations: 0.6353 MB / 0.7902 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.01909, allocations: 9.344 kB / 0.7902 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.01923, allocations: 59.98 kB / 0.7903 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.01956, allocations: 315.3 kB / 0.7906 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.01958, allocations: 20.88 kB / 0.7906 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.01961, allocations: 28.36 kB / 0.7906 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.01989, allocations: 351.8 kB / 0.791 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.0199, allocations: 4 kB / 0.791 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.01992, allocations: 11.94 kB / 0.791 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.01994, allocations: 8 kB / 0.791 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.823e-05/0.02004, allocations: 74.89 kB / 0.7911 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008477/0.02088, allocations: 0.9288 MB / 0.792 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.02102, allocations: 75.19 kB / 0.7921 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.195e-05/0.02105, allocations: 28.84 kB / 0.7921 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.506e-05/0.02111, allocations: 13.44 kB / 0.7921 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.02126, allocations: 198.1 kB / 0.7923 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.02126, allocations: 2.438 kB / 0.7923 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0001544/0.02141, allocations: 98.48 kB / 0.7924 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.02144, allocations: 59.34 kB / 0.7924 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.02161, allocations: 296.5 kB / 0.7927 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.02163, allocations: 33.7 kB / 0.7928 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.421e-05/0.02171, allocations: 197 kB / 0.7929 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.02174, allocations: 55.52 kB / 0.793 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/0.02181, allocations: 60.38 kB / 0.7931 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.838e-05/0.02189, allocations: 354.7 kB / 0.7934 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.053e-05/0.02193, allocations: 45.69 kB / 0.7934 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.02203, allocations: 123.1 kB / 0.7936 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.02215, allocations: 170.3 kB / 0.7937 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.02215, allocations: 3.938 kB / 0.7937 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001656/0.02232, allocations: 212.2 kB / 0.7939 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.02234, allocations: 29.7 kB / 0.7939 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.02235, allocations: 11.92 kB / 0.794 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.477e-06/0.02235, allocations: 4 kB / 0.794 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.02251, allocations: 61.03 kB / 0.794 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.02252, allocations: 7.938 kB / 0.794 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.957e-05/0.02262, allocations: 29.8 kB / 0.7941 GB, free: 2.602 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.02263, allocations: 8 kB / 0.7941 GB, free: 2.594 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 7.996e-05/0.02271, allocations: 132.5 kB / 0.7942 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.02274, allocations: 24.59 kB / 0.7942 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.02291, allocations: 116.3 kB / 0.7943 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.02291, allocations: 4 kB / 0.7943 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.02292, allocations: 0 / 0.7943 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001391/0.02305, allocations: 403.7 kB / 0.7947 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.02323, allocations: 184.4 kB / 0.7949 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.02323, allocations: 0 / 0.7949 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.418e-05/0.02332, allocations: 37.12 kB / 0.7949 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.02332, allocations: 0 / 0.7949 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.02333, allocations: 4.594 kB / 0.7949 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.02333, allocations: 4 kB / 0.7949 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.02334, allocations: 1.219 kB / 0.7949 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.02348, allocations: 158.1 kB / 0.7951 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.343e-05/0.02353, allocations: 35.98 kB / 0.7951 GB, free: 1.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.02356, allocations: 4.75 kB / 0.7951 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.616e-05/0.02364, allocations: 12.58 kB / 0.7951 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.02368, allocations: 16.97 kB / 0.7952 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.02369, allocations: 4 kB / 0.7952 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.847e-05/0.02377, allocations: 115.4 kB / 0.7953 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.02377, allocations: 0.9062 kB / 0.7953 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002052/0.02397, allocations: 111.7 kB / 0.7954 GB, free: 1.121 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.000158/0.02413, allocations: 127.8 kB / 0.7955 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001575/0.02429, allocations: 179.5 kB / 0.7957 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.02429, allocations: 8 kB / 0.7957 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.549e-05/0.02434, allocations: 41.44 kB / 0.7957 GB, free: 0.7461 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.02473, allocations: 208.7 kB / 0.7959 GB, free: 0.5547 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009889/0.02572, allocations: 0.6002 MB / 0.7965 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.888e-05/0.02577, allocations: 92.61 kB / 0.7966 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001266/0.02589, allocations: 62.31 kB / 0.7966 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/0.02614, allocations: 179.1 kB / 0.7968 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of SimCode: time 5.51e-07/0.02614, allocations: 0 / 0.7968 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of Templates: time 0.008451/0.03459, allocations: 7.243 MB / 0.8039 GB, free: 8.598 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 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.937863416969776]