Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.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.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7561/0.7561, allocations: 143.8 MB / 159.1 MB, free: 6.496 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.001435/0.001435, allocations: 186.1 kB / 192 MB, free: 6.703 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.392/1.392, allocations: 225.7 MB / 450.4 MB, free: 4.926 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.0007926/0.0007929, allocations: 111.4 kB / 0.5211 GB, free: 1.586 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.002458/0.002458, allocations: 282.8 kB / 0.6025 GB, free: 49.25 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004429/0.000443, allocations: 15 kB / 0.6948 GB, free: 59.35 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1656, allocations: 82.46 MB / 0.7753 GB, free: 14.34 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.005408/0.171, allocations: 4.574 MB / 0.7798 GB, free: 9.59 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003584/0.1747, allocations: 4.466 MB / 0.7841 GB, free: 4.656 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.1748, allocations: 0 / 0.7841 GB, free: 4.656 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002696/0.1751, allocations: 47.72 kB / 0.7842 GB, free: 4.609 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.1754, allocations: 83.5 kB / 0.7842 GB, free: 4.527 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.1767, allocations: 446.3 kB / 0.7847 GB, free: 4.09 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003374/0.1771, allocations: 311.8 kB / 0.785 GB, free: 3.785 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.965e-05/0.1771, allocations: 9.562 kB / 0.785 GB, free: 3.773 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009588/0.1781, allocations: 407 kB / 0.7854 GB, free: 3.375 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.1783, allocations: 95.59 kB / 0.7855 GB, free: 3.281 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.1783, allocations: 8 kB / 0.7855 GB, free: 3.273 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.1793, allocations: 482.9 kB / 0.7859 GB, free: 2.801 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.546e-05/0.1794, allocations: 31.89 kB / 0.786 GB, free: 2.77 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.1795, allocations: 105.3 kB / 0.7861 GB, free: 2.66 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007604/0.1803, allocations: 347.1 kB / 0.7864 GB, free: 2.32 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1803, allocations: 4 kB / 0.7864 GB, free: 2.316 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.572e-06/0.1803, allocations: 0 / 0.7864 GB, free: 2.316 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.004e-06/0.1804, allocations: 0 / 0.7864 GB, free: 2.316 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008145/0.1812, allocations: 475.3 kB / 0.7868 GB, free: 1.801 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.1812, allocations: 11.97 kB / 0.7869 GB, free: 1.789 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.1814, allocations: 24.73 kB / 0.7869 GB, free: 1.766 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.1816, allocations: 212.1 kB / 0.7871 GB, free: 1.52 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.1816, allocations: 8.703 kB / 0.7871 GB, free: 1.512 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.1817, allocations: 20.38 kB / 0.7871 GB, free: 1.492 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003776/0.1821, allocations: 249.1 kB / 0.7873 GB, free: 1.227 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1821, allocations: 7.875 kB / 0.7874 GB, free: 1.219 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.1821, allocations: 8 kB / 0.7874 GB, free: 1.211 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-05/0.1822, allocations: 11.98 kB / 0.7874 GB, free: 1.199 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004758/0.1826, allocations: 432 kB / 0.7878 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.1837, allocations: 0.996 MB / 0.7888 GB, free: 15.69 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.184, allocations: 161.1 kB / 0.7889 GB, free: 15.52 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.1842, allocations: 60.88 kB / 0.789 GB, free: 15.46 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001415/0.1856, allocations: 1.825 MB / 0.7908 GB, free: 13.28 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.1856, allocations: 38.56 kB / 0.7908 GB, free: 13.23 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.1856, allocations: 0 / 0.7908 GB, free: 13.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003082/0.186, allocations: 141.4 kB / 0.7909 GB, free: 13.09 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.186, allocations: 59.28 kB / 0.791 GB, free: 13.02 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.1862, allocations: 173.1 kB / 0.7911 GB, free: 12.83 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.1862, allocations: 33.7 kB / 0.7912 GB, free: 12.79 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.1863, allocations: 147.8 kB / 0.7913 GB, free: 12.64 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.1864, allocations: 47.36 kB / 0.7914 GB, free: 12.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-06/0.1864, allocations: 4 kB / 0.7914 GB, free: 12.59 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1865, allocations: 322.8 kB / 0.7917 GB, free: 12.27 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.927e-05/0.1866, allocations: 39.91 kB / 0.7917 GB, free: 12.23 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.1867, allocations: 139.2 kB / 0.7918 GB, free: 12.05 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.187, allocations: 202 kB / 0.792 GB, free: 11.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.187, allocations: 0 / 0.792 GB, free: 11.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000315/0.1873, allocations: 217.3 kB / 0.7922 GB, free: 11.58 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1873, allocations: 8 kB / 0.7923 GB, free: 11.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.1873, allocations: 4 kB / 0.7923 GB, free: 11.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.1873, allocations: 4 kB / 0.7923 GB, free: 11.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.1875, allocations: 55.86 kB / 0.7923 GB, free: 11.51 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.1876, allocations: 11.92 kB / 0.7923 GB, free: 11.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.1877, allocations: 23.75 kB / 0.7924 GB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.1877, allocations: 16 kB / 0.7924 GB, free: 11.46 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * 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.0001216/0.1878, allocations: 133.9 kB / 0.7925 GB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.1879, allocations: 15.81 kB / 0.7925 GB, free: 11.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.1882, allocations: 159 kB / 0.7927 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.1882, allocations: 7.938 kB / 0.7927 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.1882, allocations: 0 / 0.7927 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1882, allocations: 0 / 0.7927 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.1885, allocations: 209.5 kB / 0.7929 GB, free: 10.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1885, allocations: 3.938 kB / 0.7929 GB, free: 10.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.39e-05/0.1886, allocations: 27.94 kB / 0.7929 GB, free: 10.85 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1886, allocations: 4 kB / 0.7929 GB, free: 10.85 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.1886, allocations: 11.98 kB / 0.7929 GB, free: 10.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.1886, allocations: 7.938 kB / 0.7929 GB, free: 10.83 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1886, allocations: 0 / 0.7929 GB, free: 10.83 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.1888, allocations: 215.3 kB / 0.7931 GB, free: 10.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.408e-05/0.1889, allocations: 108.8 kB / 0.7932 GB, free: 10.48 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.189, allocations: 4 kB / 0.7932 GB, free: 10.47 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.1892, allocations: 31.84 kB / 0.7933 GB, free: 10.44 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.1892, allocations: 12 kB / 0.7933 GB, free: 10.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.1893, allocations: 7.984 kB / 0.7933 GB, free: 10.42 MB / 474.7 MB Notification: Performance of sorting global known variables: time 8.601e-05/0.1893, allocations: 122.1 kB / 0.7934 GB, free: 10.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1893, allocations: 0 / 0.7934 GB, free: 10.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003709/0.1897, allocations: 71.98 kB / 0.7935 GB, free: 10.23 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003645/0.1901, allocations: 193.1 kB / 0.7937 GB, free: 10.04 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002292/0.1903, allocations: 115.8 kB / 0.7938 GB, free: 9.922 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.1903, allocations: 0.9375 kB / 0.7938 GB, free: 9.922 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 6.382e-05/0.1904, allocations: 44.62 kB / 0.7938 GB, free: 9.879 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.1909, allocations: 54.36 kB / 0.7939 GB, free: 9.828 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007277/0.1916, allocations: 445.7 kB / 0.7943 GB, free: 9.371 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.1919, allocations: 0.7092 MB / 0.795 GB, free: 8.637 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000187/0.1921, allocations: 49.73 kB / 0.795 GB, free: 8.59 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.296e-05/0.1922, allocations: 23.44 kB / 0.795 GB, free: 8.566 MB / 474.7 MB Notification: Performance of SimCode: time 4.21e-07/0.1922, allocations: 0 / 0.795 GB, free: 8.566 MB / 474.7 MB Notification: Performance of Templates: time 0.007332/0.1995, allocations: 3.23 MB / 0.7982 GB, free: 5.363 MB / 474.7 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)