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.0009881/0.0009881, allocations: 91.67 kB / 20.95 MB, free: 3.305 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.004095/0.004095, allocations: 161.6 kB / 24.37 MB, free: 8.484 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.9792/0.9792, allocations: 177.2 MB / 204.8 MB, free: 5.387 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.968/1.968, allocations: 389.6 MB / 0.6356 GB, free: 12.19 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.763e-06/1.763e-06, allocations: 0 / 0.7755 GB, free: 5.164 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.277e-05, allocations: 2.938 kB / 0.7755 GB, free: 5.16 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.007156/0.007179, allocations: 7.307 MB / 0.7827 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003749/0.01093, allocations: 2.495 MB / 0.7851 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004888/0.01142, allocations: 23.81 kB / 0.7851 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004556/0.01187, allocations: 131.7 kB / 0.7853 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.01305, allocations: 0.5244 MB / 0.7858 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007036/0.01376, allocations: 364.4 kB / 0.7861 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001261/0.01502, allocations: 1.094 MB / 0.7872 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007654/0.01578, allocations: 300.5 kB / 0.7875 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008493/0.01663, allocations: 0.5356 MB / 0.788 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003657/0.017, allocations: 267.1 kB / 0.7883 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.487e-05/0.01704, allocations: 35.03 kB / 0.7883 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003749/0.01742, allocations: 139.6 kB / 0.7884 GB, free: 8 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.01758, allocations: 103.6 kB / 0.7885 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.01773, allocations: 147.6 kB / 0.7887 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006749/0.0184, allocations: 398.6 kB / 0.789 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.01841, allocations: 0 / 0.789 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.342e-06/0.01841, allocations: 0 / 0.789 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.01842, allocations: 4 kB / 0.789 GB, free: 7.359 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.0008263/0.01924, allocations: 0.6349 MB / 0.7897 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.01928, allocations: 9.344 kB / 0.7897 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.01946, allocations: 65.84 kB / 0.7897 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.01988, allocations: 307.6 kB / 0.79 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.01991, allocations: 22.19 kB / 0.7901 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.01995, allocations: 32.38 kB / 0.7901 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004477/0.0204, allocations: 355.8 kB / 0.7904 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.02042, allocations: 1.031 kB / 0.7904 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/0.02044, allocations: 12 kB / 0.7904 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.699e-05/0.02048, allocations: 4 kB / 0.7904 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.02061, allocations: 78.94 kB / 0.7905 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.02162, allocations: 0.9173 MB / 0.7914 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.02179, allocations: 78.47 kB / 0.7915 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.657e-05/0.02183, allocations: 29.62 kB / 0.7915 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.452e-05/0.0219, allocations: 11.98 kB / 0.7915 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.02207, allocations: 190.8 kB / 0.7917 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 3.316e-06/0.02208, allocations: 1.719 kB / 0.7917 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0002012/0.02228, allocations: 112.4 kB / 0.7918 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.02232, allocations: 55.41 kB / 0.7919 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.0226, allocations: 300.5 kB / 0.7922 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.02263, allocations: 32.14 kB / 0.7922 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.237e-05/0.02272, allocations: 197 kB / 0.7924 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.02275, allocations: 55.52 kB / 0.7924 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.179e-05/0.02281, allocations: 57.62 kB / 0.7925 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.584e-05/0.02291, allocations: 354.7 kB / 0.7928 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.178e-05/0.02296, allocations: 49.69 kB / 0.7929 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.741e-05/0.02304, allocations: 127 kB / 0.793 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.02317, allocations: 167.8 kB / 0.7931 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.02318, allocations: 0.9688 kB / 0.7931 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001909/0.02337, allocations: 215.9 kB / 0.7934 GB, free: 2.617 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/0.0234, allocations: 38.83 kB / 0.7934 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.02341, allocations: 0 / 0.7934 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.02342, allocations: 4 kB / 0.7934 GB, free: 2.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.0236, allocations: 65.2 kB / 0.7935 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.0236, allocations: 4 kB / 0.7935 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.02371, allocations: 28.47 kB / 0.7935 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.02373, allocations: 13.95 kB / 0.7935 GB, free: 2.465 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 9.218e-05/0.02382, allocations: 132.5 kB / 0.7936 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.02385, allocations: 27.97 kB / 0.7937 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.024, allocations: 108.4 kB / 0.7938 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.02401, allocations: 5.062 kB / 0.7938 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.02401, allocations: 0 / 0.7938 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001553/0.02416, allocations: 399.8 kB / 0.7941 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.02439, allocations: 182.4 kB / 0.7943 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.02439, allocations: 3.938 kB / 0.7943 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.0245, allocations: 35.92 kB / 0.7944 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.0245, allocations: 4 kB / 0.7944 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.02451, allocations: 4.625 kB / 0.7944 GB, free: 1.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.02452, allocations: 3.984 kB / 0.7944 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.02452, allocations: 1.812 kB / 0.7944 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.0247, allocations: 144.8 kB / 0.7945 GB, free: 1.297 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.625e-05/0.02477, allocations: 35.73 kB / 0.7945 GB, free: 1.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.0248, allocations: 4 kB / 0.7945 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.425e-05/0.02489, allocations: 16.67 kB / 0.7946 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.02494, allocations: 17.09 kB / 0.7946 GB, free: 1.227 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.02495, allocations: 11.98 kB / 0.7946 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.09e-05/0.02504, allocations: 115.4 kB / 0.7947 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.02504, allocations: 1.438 kB / 0.7947 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002976/0.02534, allocations: 115.7 kB / 0.7948 GB, free: 0.9883 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.000262/0.0256, allocations: 130.7 kB / 0.7949 GB, free: 0.8555 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001958/0.0258, allocations: 177.9 kB / 0.7951 GB, free: 0.6641 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/0.02581, allocations: 4.906 kB / 0.7951 GB, free: 0.6602 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.028e-05/0.02586, allocations: 36.78 kB / 0.7951 GB, free: 0.6211 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.02634, allocations: 202.7 kB / 0.7953 GB, free: 444 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.02754, allocations: 0.6084 MB / 0.7959 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.245e-05/0.02759, allocations: 98.52 kB / 0.796 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001772/0.02777, allocations: 49.91 kB / 0.7961 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/0.02802, allocations: 177.1 kB / 0.7962 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of SimCode: time 1.263e-06/0.02802, allocations: 0 / 0.7962 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of Templates: time 0.009861/0.03789, allocations: 7.241 MB / 0.8033 GB, free: 8.48 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 & (cd run_cvode && ../Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel_gbode.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel_ida.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.451308103278279]