Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel") translateModel(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9256/0.9256, allocations: 143.8 MB / 159.1 MB, free: 6.477 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009492/0.0009492, allocations: 179.3 kB / 192 MB, free: 6.688 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 225.7 MB / 450.4 MB, free: 4.941 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007984/0.0007986, allocations: 115 kB / 0.5211 GB, free: 1.594 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001744/0.001743, allocations: 282.7 kB / 0.6025 GB, free: 49.27 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004757/0.0004758, allocations: 15.28 kB / 0.6948 GB, free: 59.17 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1447, allocations: 82.46 MB / 0.7753 GB, free: 14.34 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.01425/0.159, allocations: 14.06 MB / 0.789 GB, free: 40 kB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.005866/0.1649, allocations: 5.317 MB / 0.7942 GB, free: 10.27 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004004/0.1654, allocations: 15.88 kB / 0.7942 GB, free: 10.26 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005327/0.1659, allocations: 167.1 kB / 0.7944 GB, free: 10.09 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.1671, allocations: 0.5405 MB / 0.7949 GB, free: 9.551 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008044/0.1679, allocations: 343.3 kB / 0.7953 GB, free: 9.215 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001384/0.1693, allocations: 1.457 MB / 0.7967 GB, free: 7.754 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003972/0.1697, allocations: 255.6 kB / 0.7969 GB, free: 7.5 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004097/0.1701, allocations: 318.6 kB / 0.7972 GB, free: 7.188 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003369/0.1705, allocations: 298.6 kB / 0.7975 GB, free: 6.895 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 3.882e-05/0.1705, allocations: 12 kB / 0.7975 GB, free: 6.883 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004692/0.171, allocations: 227.4 kB / 0.7977 GB, free: 6.66 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 9.171e-05/0.1711, allocations: 71.73 kB / 0.7978 GB, free: 6.59 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.1713, allocations: 216.6 kB / 0.798 GB, free: 6.371 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006376/0.172, allocations: 0.5607 MB / 0.7986 GB, free: 5.809 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.172, allocations: 0 / 0.7986 GB, free: 5.809 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.172, allocations: 0 / 0.7986 GB, free: 5.809 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.172, allocations: 0 / 0.7986 GB, free: 5.809 MB / 474.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.0009312/0.1729, allocations: 0.6757 MB / 0.7992 GB, free: 5.078 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.173, allocations: 8.031 kB / 0.7992 GB, free: 5.07 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.1731, allocations: 44.47 kB / 0.7993 GB, free: 5.027 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007037/0.1738, allocations: 475.2 kB / 0.7997 GB, free: 4.523 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.1739, allocations: 24.69 kB / 0.7998 GB, free: 4.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.031e-05/0.1739, allocations: 31.97 kB / 0.7998 GB, free: 4.469 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005607/0.1745, allocations: 314.2 kB / 0.8001 GB, free: 4.145 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1745, allocations: 0 / 0.8001 GB, free: 4.145 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/0.1746, allocations: 12 kB / 0.8001 GB, free: 4.133 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.1746, allocations: 7.984 kB / 0.8001 GB, free: 4.125 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004524/0.1751, allocations: 206.1 kB / 0.8003 GB, free: 3.922 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.1768, allocations: 1.485 MB / 0.8017 GB, free: 2.309 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004097/0.1772, allocations: 162.6 kB / 0.8019 GB, free: 2.141 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.1774, allocations: 76.81 kB / 0.802 GB, free: 2.062 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001687/0.1775, allocations: 85.09 kB / 0.8021 GB, free: 1.961 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002847/0.1778, allocations: 139.2 kB / 0.8022 GB, free: 1.812 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 1.482e-06/0.1779, allocations: 4 kB / 0.8022 GB, free: 1.809 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.000584/0.1784, allocations: 249.1 kB / 0.8024 GB, free: 1.559 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.1785, allocations: 55.41 kB / 0.8025 GB, free: 1.492 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.1788, allocations: 333.6 kB / 0.8028 GB, free: 1.16 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.1789, allocations: 33.7 kB / 0.8028 GB, free: 1.121 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.179, allocations: 211.8 kB / 0.803 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.1791, allocations: 51.3 kB / 0.8031 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.1791, allocations: 0 / 0.8031 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1792, allocations: 342.8 kB / 0.8034 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.1794, allocations: 75.95 kB / 0.8035 GB, free: 452 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.1796, allocations: 158.8 kB / 0.8036 GB, free: 260 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004173/0.1801, allocations: 252.9 kB / 0.8039 GB, free: 15.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1801, allocations: 0 / 0.8039 GB, free: 15.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005571/0.1806, allocations: 319.7 kB / 0.8042 GB, free: 15.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/0.1807, allocations: 38 kB / 0.8042 GB, free: 15.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1807, allocations: 8 kB / 0.8042 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1807, allocations: 11.92 kB / 0.8042 GB, free: 15.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.1809, allocations: 59.91 kB / 0.8043 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.181, allocations: 4 kB / 0.8043 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.1812, allocations: 39.67 kB / 0.8043 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.1813, allocations: 15.98 kB / 0.8044 GB, free: 15.46 MB / 490.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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 0.0001539/0.1814, allocations: 157.8 kB / 0.8045 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.349e-05/0.1815, allocations: 31.62 kB / 0.8045 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004504/0.182, allocations: 212.9 kB / 0.8047 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.182, allocations: 3.938 kB / 0.8047 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.182, allocations: 0 / 0.8047 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004584/0.1824, allocations: 499.8 kB / 0.8052 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004072/0.1829, allocations: 349.2 kB / 0.8056 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1829, allocations: 3.984 kB / 0.8056 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.183, allocations: 39.92 kB / 0.8056 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.1831, allocations: 0 / 0.8056 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.1831, allocations: 4 kB / 0.8056 GB, free: 14.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1831, allocations: 7.875 kB / 0.8056 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1831, allocations: 0 / 0.8056 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005723/0.1837, allocations: 296.6 kB / 0.8059 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.1838, allocations: 124.8 kB / 0.806 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/0.1839, allocations: 7.984 kB / 0.806 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.1841, allocations: 27.92 kB / 0.806 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/0.1842, allocations: 15.97 kB / 0.8061 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.1842, allocations: 12 kB / 0.8061 GB, free: 13.51 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002221/0.1844, allocations: 231.2 kB / 0.8063 GB, free: 13.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1844, allocations: 0 / 0.8063 GB, free: 13.29 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003829/0.1848, allocations: 119.9 kB / 0.8064 GB, free: 13.17 MB / 490.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.0003023/0.1851, allocations: 188.9 kB / 0.8066 GB, free: 12.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000483/0.1856, allocations: 243.2 kB / 0.8068 GB, free: 12.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1856, allocations: 0 / 0.8068 GB, free: 12.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.1858, allocations: 80.5 kB / 0.8069 GB, free: 12.65 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008773/0.1867, allocations: 204.6 kB / 0.8071 GB, free: 12.45 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.188, allocations: 0.9152 MB / 0.808 GB, free: 11.51 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.1884, allocations: 0.7921 MB / 0.8088 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002528/0.1886, allocations: 63.19 kB / 0.8088 GB, free: 10.63 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.995e-05/0.1887, allocations: 35.42 kB / 0.8088 GB, free: 10.59 MB / 490.7 MB Notification: Performance of SimCode: time 3.41e-07/0.1887, allocations: 0 / 0.8088 GB, free: 10.59 MB / 490.7 MB Notification: Performance of Templates: time 0.01125/0.2, allocations: 6.531 MB / 0.8152 GB, free: 4.16 MB / 490.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)