Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") translateModel(BuildingSystems.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.797/0.797, allocations: 143.8 MB / 159.1 MB, free: 6.488 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.001147/0.001147, allocations: 182.2 kB / 192 MB, free: 6.723 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.444/1.444, allocations: 225.7 MB / 450.4 MB, free: 4.988 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.0007947/0.0007946, allocations: 115 kB / 0.5211 GB, free: 1.648 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.001653/0.001653, allocations: 270 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.0003978, allocations: 12.19 kB / 0.6948 GB, free: 59.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1289, allocations: 82.45 MB / 0.7753 GB, free: 14.37 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.004444/0.1334, allocations: 4.371 MB / 0.7796 GB, free: 9.934 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003052/0.1365, allocations: 4.482 MB / 0.7839 GB, free: 4.984 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.028e-05/0.1365, allocations: 0 / 0.7839 GB, free: 4.984 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.1368, allocations: 43.78 kB / 0.784 GB, free: 4.941 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.137, allocations: 83.5 kB / 0.7841 GB, free: 4.859 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000861/0.1378, allocations: 466.1 kB / 0.7845 GB, free: 4.402 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.1381, allocations: 307.9 kB / 0.7848 GB, free: 4.102 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.97e-05/0.1381, allocations: 13.5 kB / 0.7848 GB, free: 4.086 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.1383, allocations: 107.6 kB / 0.7849 GB, free: 3.98 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.1385, allocations: 95.59 kB / 0.785 GB, free: 3.887 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.1385, allocations: 8 kB / 0.785 GB, free: 3.879 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005648/0.1391, allocations: 351.2 kB / 0.7853 GB, free: 3.535 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 6.58e-05/0.1391, allocations: 39.83 kB / 0.7854 GB, free: 3.496 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 9.156e-05/0.1392, allocations: 113.3 kB / 0.7855 GB, free: 3.379 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004829/0.1397, allocations: 359.3 kB / 0.7858 GB, free: 3.027 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1397, allocations: 0 / 0.7858 GB, free: 3.027 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1397, allocations: 0 / 0.7858 GB, free: 3.027 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1397, allocations: 0 / 0.7858 GB, free: 3.027 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.0005787/0.1403, allocations: 467.3 kB / 0.7863 GB, free: 2.52 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.1404, allocations: 19.95 kB / 0.7863 GB, free: 2.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.1405, allocations: 20.75 kB / 0.7863 GB, free: 2.48 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.1407, allocations: 212.2 kB / 0.7865 GB, free: 2.234 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.1407, allocations: 12.7 kB / 0.7865 GB, free: 2.223 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.1407, allocations: 16.31 kB / 0.7866 GB, free: 2.207 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.1411, allocations: 252.1 kB / 0.7868 GB, free: 1.941 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1411, allocations: 0 / 0.7868 GB, free: 1.941 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.1411, allocations: 7.984 kB / 0.7868 GB, free: 1.934 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.1411, allocations: 8 kB / 0.7868 GB, free: 1.926 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004256/0.1416, allocations: 427.5 kB / 0.7872 GB, free: 1.508 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009694/0.1425, allocations: 0.9449 MB / 0.7881 GB, free: 484 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.1428, allocations: 165.3 kB / 0.7883 GB, free: 312 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.156e-05/0.1429, allocations: 60.88 kB / 0.7884 GB, free: 248 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001153/0.1441, allocations: 1.833 MB / 0.7901 GB, free: 14.05 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.1441, allocations: 30.56 kB / 0.7902 GB, free: 14.01 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.1441, allocations: 0 / 0.7902 GB, free: 14.01 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002785/0.1444, allocations: 141.4 kB / 0.7903 GB, free: 13.87 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.1444, allocations: 63.34 kB / 0.7904 GB, free: 13.79 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.1446, allocations: 170 kB / 0.7905 GB, free: 13.62 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.1446, allocations: 37.69 kB / 0.7906 GB, free: 13.57 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/0.1447, allocations: 131.8 kB / 0.7907 GB, free: 13.44 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.1447, allocations: 59.19 kB / 0.7907 GB, free: 13.38 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/0.1447, allocations: 8 kB / 0.7908 GB, free: 13.38 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.1448, allocations: 322.8 kB / 0.7911 GB, free: 13.05 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.215e-05/0.1449, allocations: 31.98 kB / 0.7911 GB, free: 13.02 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.145, allocations: 135.2 kB / 0.7912 GB, free: 12.84 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.1452, allocations: 206 kB / 0.7914 GB, free: 12.59 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1452, allocations: 4 kB / 0.7914 GB, free: 12.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00028/0.1455, allocations: 209.5 kB / 0.7916 GB, free: 12.38 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1455, allocations: 4 kB / 0.7916 GB, free: 12.37 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1456, allocations: 4 kB / 0.7916 GB, free: 12.37 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1456, allocations: 8 kB / 0.7916 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.1457, allocations: 59.84 kB / 0.7917 GB, free: 12.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.1458, allocations: 7.938 kB / 0.7917 GB, free: 12.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.1459, allocations: 35.69 kB / 0.7917 GB, free: 12.26 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.1459, allocations: 12 kB / 0.7917 GB, free: 12.25 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.0001001/0.146, allocations: 137.8 kB / 0.7919 GB, free: 12.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/0.1461, allocations: 19.81 kB / 0.7919 GB, free: 12.08 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002784/0.1463, allocations: 151 kB / 0.792 GB, free: 11.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.1464, allocations: 7.922 kB / 0.7921 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1464, allocations: 0 / 0.7921 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1464, allocations: 7.938 kB / 0.7921 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.1466, allocations: 217.5 kB / 0.7923 GB, free: 11.65 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1466, allocations: 0 / 0.7923 GB, free: 11.65 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.468e-05/0.1467, allocations: 23.98 kB / 0.7923 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1467, allocations: 4 kB / 0.7923 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.1467, allocations: 7.984 kB / 0.7923 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1467, allocations: 3.938 kB / 0.7923 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1467, allocations: 4 kB / 0.7923 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.1469, allocations: 223.2 kB / 0.7925 GB, free: 11.37 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.553e-05/0.147, allocations: 101 kB / 0.7926 GB, free: 11.25 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.1471, allocations: 0 / 0.7926 GB, free: 11.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.1473, allocations: 31.86 kB / 0.7926 GB, free: 11.22 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.1473, allocations: 11.98 kB / 0.7927 GB, free: 11.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.1473, allocations: 8 kB / 0.7927 GB, free: 11.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 7.886e-05/0.1474, allocations: 125.8 kB / 0.7928 GB, free: 11.08 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1474, allocations: 0 / 0.7928 GB, free: 11.08 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003235/0.1477, allocations: 79.84 kB / 0.7929 GB, free: 11 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.0002703/0.148, allocations: 175.2 kB / 0.793 GB, free: 10.82 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.1482, allocations: 120.5 kB / 0.7931 GB, free: 10.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1482, allocations: 192 / 0.7931 GB, free: 10.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 6.041e-05/0.1483, allocations: 47.91 kB / 0.7932 GB, free: 10.66 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.1487, allocations: 48.95 kB / 0.7932 GB, free: 10.61 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000587/0.1493, allocations: 435.5 kB / 0.7937 GB, free: 10.16 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.1495, allocations: 0.7131 MB / 0.7943 GB, free: 9.426 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001617/0.1497, allocations: 53.73 kB / 0.7944 GB, free: 9.375 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.902e-05/0.1497, allocations: 23.44 kB / 0.7944 GB, free: 9.352 MB / 474.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1498, allocations: 0 / 0.7944 GB, free: 9.352 MB / 474.7 MB Notification: Performance of Templates: time 0.00593/0.1557, allocations: 3.321 MB / 0.7977 GB, free: 6.055 MB / 474.7 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1)