Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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) 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 BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel") translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7608/0.7608, allocations: 131 MB / 146.3 MB, free: 1.293 MB / 106.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.001029/0.001029, allocations: 183.8 kB / 176.4 MB, free: 4.863 MB / 138.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.473/1.473, allocations: 225.7 MB / 431.9 MB, free: 8.773 MB / 314.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.0008029/0.0008028, allocations: 89.66 kB / 0.5003 GB, free: 9.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.000347, allocations: 8 kB / 0.5885 GB, free: 72.68 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1443, allocations: 79.59 MB / 0.6663 GB, free: 8.93 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01591/0.1603, allocations: 14.06 MB / 0.68 GB, free: 10.63 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.006111/0.1665, allocations: 5.301 MB / 0.6852 GB, free: 4.883 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006458/0.1671, allocations: 15.88 kB / 0.6852 GB, free: 4.867 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006905/0.1679, allocations: 171.1 kB / 0.6853 GB, free: 4.699 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.1694, allocations: 0.5404 MB / 0.6859 GB, free: 4.156 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008161/0.1702, allocations: 299.4 kB / 0.6861 GB, free: 3.863 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001628/0.1719, allocations: 1.45 MB / 0.6876 GB, free: 2.41 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005043/0.1724, allocations: 251.7 kB / 0.6878 GB, free: 2.16 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005911/0.173, allocations: 318.5 kB / 0.6881 GB, free: 1.848 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007159/0.1737, allocations: 286.7 kB / 0.6884 GB, free: 1.566 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.1738, allocations: 12 kB / 0.6884 GB, free: 1.555 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000798/0.1746, allocations: 227.4 kB / 0.6886 GB, free: 1.332 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.1748, allocations: 67.73 kB / 0.6887 GB, free: 1.266 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003685/0.1752, allocations: 208.7 kB / 0.6889 GB, free: 1.055 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.1762, allocations: 0.5608 MB / 0.6894 GB, free: 0.4922 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.1762, allocations: 4 kB / 0.6894 GB, free: 500 kB / 458.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1762, allocations: 0 / 0.6894 GB, free: 500 kB / 458.7 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.1763, allocations: 0 / 0.6894 GB, free: 500 kB / 458.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.00117/0.1774, allocations: 0.664 MB / 0.6901 GB, free: 15.77 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.1775, allocations: 8.031 kB / 0.6901 GB, free: 15.76 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002076/0.1777, allocations: 48.45 kB / 0.6901 GB, free: 15.71 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007345/0.1784, allocations: 431.2 kB / 0.6905 GB, free: 15.26 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.1785, allocations: 24.69 kB / 0.6906 GB, free: 15.23 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.614e-05/0.1785, allocations: 28 kB / 0.6906 GB, free: 15.21 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000566/0.1791, allocations: 306.2 kB / 0.6909 GB, free: 14.88 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.1791, allocations: 0 / 0.6909 GB, free: 14.88 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.964e-05/0.1792, allocations: 16 kB / 0.6909 GB, free: 14.87 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.1792, allocations: 4 kB / 0.6909 GB, free: 14.86 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004683/0.1797, allocations: 198.1 kB / 0.6911 GB, free: 14.67 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.001822/0.1815, allocations: 1.454 MB / 0.6925 GB, free: 13.09 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004099/0.1819, allocations: 170.6 kB / 0.6927 GB, free: 12.91 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.1821, allocations: 76.81 kB / 0.6927 GB, free: 12.83 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/0.1823, allocations: 81.11 kB / 0.6928 GB, free: 12.73 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002892/0.1826, allocations: 123.3 kB / 0.6929 GB, free: 12.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 1.452e-06/0.1826, allocations: 3.938 kB / 0.6929 GB, free: 12.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006072/0.1832, allocations: 249.1 kB / 0.6932 GB, free: 12.35 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.1833, allocations: 59.34 kB / 0.6932 GB, free: 12.28 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003432/0.1836, allocations: 325.6 kB / 0.6935 GB, free: 11.95 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.1837, allocations: 33.7 kB / 0.6936 GB, free: 11.91 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.1838, allocations: 211.8 kB / 0.6938 GB, free: 11.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.054e-05/0.1839, allocations: 55.2 kB / 0.6938 GB, free: 11.65 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.14e-05/0.1839, allocations: 4 kB / 0.6938 GB, free: 11.64 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.184, allocations: 346.7 kB / 0.6942 GB, free: 11.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.1842, allocations: 72.19 kB / 0.6942 GB, free: 11.23 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.1845, allocations: 150.5 kB / 0.6944 GB, free: 11.05 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/0.1849, allocations: 251 kB / 0.6946 GB, free: 10.76 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1849, allocations: 0 / 0.6946 GB, free: 10.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005855/0.1855, allocations: 316.9 kB / 0.6949 GB, free: 10.44 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/0.1855, allocations: 33.7 kB / 0.695 GB, free: 10.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.1856, allocations: 4 kB / 0.695 GB, free: 10.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/0.1856, allocations: 7.938 kB / 0.695 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.1858, allocations: 60.22 kB / 0.695 GB, free: 10.33 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.1858, allocations: 7.984 kB / 0.695 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.1861, allocations: 35.73 kB / 0.6951 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.1861, allocations: 8 kB / 0.6951 GB, free: 10.28 MB / 474.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 (28): * Single equations (assignments): 27 * 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.0001706/0.1863, allocations: 161.8 kB / 0.6952 GB, free: 10.11 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.1863, allocations: 31.62 kB / 0.6953 GB, free: 10.08 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004473/0.1868, allocations: 201 kB / 0.6954 GB, free: 9.879 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.1868, allocations: 11.92 kB / 0.6955 GB, free: 9.867 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1868, allocations: 0 / 0.6955 GB, free: 9.867 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004769/0.1873, allocations: 499.8 kB / 0.6959 GB, free: 9.293 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.1877, allocations: 333.5 kB / 0.6963 GB, free: 8.918 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1877, allocations: 4 kB / 0.6963 GB, free: 8.914 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.1879, allocations: 31.97 kB / 0.6963 GB, free: 8.883 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1879, allocations: 4 kB / 0.6963 GB, free: 8.879 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.1879, allocations: 8 kB / 0.6963 GB, free: 8.871 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.1879, allocations: 3.938 kB / 0.6963 GB, free: 8.867 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1879, allocations: 3.938 kB / 0.6963 GB, free: 8.863 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005888/0.1886, allocations: 296.5 kB / 0.6966 GB, free: 8.555 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.1887, allocations: 128.7 kB / 0.6967 GB, free: 8.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.479e-05/0.1888, allocations: 4 kB / 0.6967 GB, free: 8.406 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.189, allocations: 23.83 kB / 0.6967 GB, free: 8.383 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/0.189, allocations: 15.97 kB / 0.6968 GB, free: 8.367 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.1891, allocations: 12 kB / 0.6968 GB, free: 8.355 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002356/0.1893, allocations: 227.2 kB / 0.697 GB, free: 8.137 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1893, allocations: 0 / 0.697 GB, free: 8.137 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004245/0.1897, allocations: 116 kB / 0.6971 GB, free: 8.023 MB / 474.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.0003642/0.1901, allocations: 187.1 kB / 0.6973 GB, free: 7.832 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005037/0.1906, allocations: 239.5 kB / 0.6975 GB, free: 7.586 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1906, allocations: 0 / 0.6975 GB, free: 7.586 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.1908, allocations: 71.91 kB / 0.6976 GB, free: 7.516 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009541/0.1918, allocations: 213.5 kB / 0.6978 GB, free: 7.312 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.1933, allocations: 0.9152 MB / 0.6987 GB, free: 6.367 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.1937, allocations: 0.7914 MB / 0.6994 GB, free: 5.551 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002772/0.194, allocations: 55.27 kB / 0.6995 GB, free: 5.496 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.307e-05/0.1941, allocations: 31.44 kB / 0.6995 GB, free: 5.465 MB / 474.7 MB Notification: Performance of SimCode: time 1.663e-06/0.1941, allocations: 0 / 0.6995 GB, free: 5.465 MB / 474.7 MB Notification: Performance of Templates: time 0.01237/0.2064, allocations: 6.4 MB / 0.7058 GB, free: 15.16 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)