Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.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.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7855/0.7855, allocations: 131 MB / 146.3 MB, free: 1.312 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.001136/0.001136, allocations: 184.2 kB / 176.4 MB, free: 4.902 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.329/1.329, allocations: 225.7 MB / 431.9 MB, free: 8.82 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.0007227/0.000723, allocations: 90.86 kB / 0.5003 GB, free: 9.941 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002884/0.0002885, allocations: 12 kB / 0.5885 GB, free: 72.73 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1659, allocations: 79.6 MB / 0.6662 GB, free: 8.961 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterProperties): time 0.007703/0.1737, allocations: 4.346 MB / 0.6705 GB, free: 4.555 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004007/0.1778, allocations: 4.435 MB / 0.6748 GB, free: 15.65 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.1779, allocations: 0 / 0.6748 GB, free: 15.65 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000332/0.1783, allocations: 35.81 kB / 0.6749 GB, free: 15.62 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004303/0.1787, allocations: 87.41 kB / 0.6749 GB, free: 15.53 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.1801, allocations: 389.1 kB / 0.6753 GB, free: 15.15 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003823/0.1805, allocations: 295.9 kB / 0.6756 GB, free: 14.86 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.032e-05/0.1806, allocations: 13.56 kB / 0.6756 GB, free: 14.85 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002695/0.1808, allocations: 103.6 kB / 0.6757 GB, free: 14.75 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.181, allocations: 87.67 kB / 0.6758 GB, free: 14.66 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.1811, allocations: 7.938 kB / 0.6758 GB, free: 14.66 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007714/0.1818, allocations: 331.3 kB / 0.6761 GB, free: 14.33 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.996e-05/0.1819, allocations: 31.89 kB / 0.6761 GB, free: 14.3 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.182, allocations: 109.3 kB / 0.6762 GB, free: 14.19 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007532/0.1828, allocations: 343.4 kB / 0.6766 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1828, allocations: 4 kB / 0.6766 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1828, allocations: 0 / 0.6766 GB, free: 13.85 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.1828, allocations: 0 / 0.6766 GB, free: 13.85 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.0007465/0.1836, allocations: 459.4 kB / 0.677 GB, free: 13.35 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1836, allocations: 8.031 kB / 0.677 GB, free: 13.34 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.1838, allocations: 20.75 kB / 0.677 GB, free: 13.32 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.184, allocations: 216 kB / 0.6772 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.1841, allocations: 12.7 kB / 0.6773 GB, free: 13.06 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.1841, allocations: 20.36 kB / 0.6773 GB, free: 13.04 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003774/0.1845, allocations: 257 kB / 0.6775 GB, free: 12.77 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1845, allocations: 0 / 0.6775 GB, free: 12.77 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.1845, allocations: 8 kB / 0.6775 GB, free: 12.76 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.1845, allocations: 7.984 kB / 0.6775 GB, free: 12.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005206/0.1851, allocations: 431.4 kB / 0.6779 GB, free: 12.33 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.1862, allocations: 1.008 MB / 0.6789 GB, free: 11.23 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.1865, allocations: 157.5 kB / 0.6791 GB, free: 11.07 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.469e-05/0.1866, allocations: 64.88 kB / 0.6791 GB, free: 11 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00133/0.1879, allocations: 1.825 MB / 0.6809 GB, free: 8.816 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.188, allocations: 42.56 kB / 0.681 GB, free: 8.766 MB / 458.7 MB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.188, allocations: 0 / 0.681 GB, free: 8.766 MB / 458.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002966/0.1883, allocations: 141.4 kB / 0.6811 GB, free: 8.621 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.1883, allocations: 55.34 kB / 0.6812 GB, free: 8.555 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.1885, allocations: 161.9 kB / 0.6813 GB, free: 8.387 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.1885, allocations: 29.7 kB / 0.6813 GB, free: 8.352 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.219e-05/0.1886, allocations: 147.7 kB / 0.6815 GB, free: 8.203 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.1887, allocations: 51.28 kB / 0.6815 GB, free: 8.152 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.335e-06/0.1887, allocations: 8 kB / 0.6815 GB, free: 8.145 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.1889, allocations: 326.8 kB / 0.6818 GB, free: 7.816 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.004e-05/0.1889, allocations: 35.92 kB / 0.6819 GB, free: 7.781 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.1891, allocations: 139.1 kB / 0.682 GB, free: 7.598 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.1893, allocations: 194.1 kB / 0.6822 GB, free: 7.359 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.1893, allocations: 4 kB / 0.6822 GB, free: 7.355 MB / 458.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003193/0.1896, allocations: 213.4 kB / 0.6824 GB, free: 7.141 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.1897, allocations: 16.05 kB / 0.6824 GB, free: 7.125 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.1897, allocations: 8 kB / 0.6824 GB, free: 7.117 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1897, allocations: 4 kB / 0.6824 GB, free: 7.113 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.1899, allocations: 55.86 kB / 0.6825 GB, free: 7.059 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.1899, allocations: 4 kB / 0.6825 GB, free: 7.055 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.19, allocations: 31.69 kB / 0.6825 GB, free: 7.023 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.19, allocations: 15.98 kB / 0.6825 GB, free: 7.008 MB / 458.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.0001055/0.1901, allocations: 133.7 kB / 0.6827 GB, free: 6.867 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.1902, allocations: 15.91 kB / 0.6827 GB, free: 6.852 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.1905, allocations: 150.9 kB / 0.6828 GB, free: 6.695 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.1905, allocations: 3.938 kB / 0.6828 GB, free: 6.691 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1905, allocations: 0 / 0.6828 GB, free: 6.691 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.1905, allocations: 7.984 kB / 0.6828 GB, free: 6.684 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.1907, allocations: 209.5 kB / 0.683 GB, free: 6.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1908, allocations: 4 kB / 0.683 GB, free: 6.426 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.824e-05/0.1909, allocations: 23.92 kB / 0.6831 GB, free: 6.402 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.1909, allocations: 4 kB / 0.6831 GB, free: 6.398 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1909, allocations: 8 kB / 0.6831 GB, free: 6.391 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1909, allocations: 3.938 kB / 0.6831 GB, free: 6.387 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1909, allocations: 0 / 0.6831 GB, free: 6.387 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.1911, allocations: 215.3 kB / 0.6833 GB, free: 6.16 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-05/0.1912, allocations: 108.8 kB / 0.6834 GB, free: 6.035 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.1912, allocations: 7.938 kB / 0.6834 GB, free: 6.027 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.1914, allocations: 11.94 kB / 0.6834 GB, free: 6.016 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-05/0.1914, allocations: 11.98 kB / 0.6834 GB, free: 6.004 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.1915, allocations: 11.98 kB / 0.6834 GB, free: 5.992 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.157e-05/0.1916, allocations: 122.3 kB / 0.6835 GB, free: 5.875 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1916, allocations: 0 / 0.6835 GB, free: 5.875 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003733/0.1919, allocations: 75.94 kB / 0.6836 GB, free: 5.801 MB / 458.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.0003468/0.1923, allocations: 187.6 kB / 0.6838 GB, free: 5.609 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000229/0.1925, allocations: 115.7 kB / 0.6839 GB, free: 5.496 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1926, allocations: 0.9375 kB / 0.6839 GB, free: 5.496 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.256e-05/0.1926, allocations: 39.98 kB / 0.6839 GB, free: 5.457 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.1931, allocations: 52.94 kB / 0.684 GB, free: 5.406 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007247/0.1938, allocations: 433.4 kB / 0.6844 GB, free: 4.953 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.1941, allocations: 0.7131 MB / 0.6851 GB, free: 4.215 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001683/0.1943, allocations: 41.77 kB / 0.6851 GB, free: 4.176 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.442e-05/0.1943, allocations: 27.42 kB / 0.6852 GB, free: 4.148 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1943, allocations: 4 kB / 0.6852 GB, free: 4.145 MB / 458.7 MB Notification: Performance of Templates: time 0.006533/0.2009, allocations: 3.223 MB / 0.6883 GB, free: 0.9492 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe 2>&1)