Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8833/0.8833, 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.0009338/0.0009339, allocations: 190.3 kB / 192 MB, free: 6.719 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.368/1.368, allocations: 225.7 MB / 450.4 MB, free: 4.98 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.0008836/0.0008833, allocations: 111.5 kB / 0.5211 GB, free: 1.641 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.001601/0.001601, allocations: 286.1 kB / 0.6025 GB, free: 49.28 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004313/0.0004314, allocations: 16.53 kB / 0.6948 GB, free: 59.38 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1642, allocations: 82.45 MB / 0.7753 GB, free: 14.35 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.0172/0.1815, allocations: 15.67 MB / 0.7906 GB, free: 13.97 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.003534/0.185, allocations: 4.451 MB / 0.795 GB, free: 9.051 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.424e-05/0.1852, allocations: 0 / 0.795 GB, free: 9.051 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.1854, allocations: 43.73 kB / 0.795 GB, free: 9.008 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.1857, allocations: 87.48 kB / 0.7951 GB, free: 8.922 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.1868, allocations: 466.8 kB / 0.7955 GB, free: 8.465 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002851/0.1871, allocations: 307.8 kB / 0.7958 GB, free: 8.164 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.308e-05/0.1872, allocations: 9.562 kB / 0.7958 GB, free: 8.152 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007699/0.1949, allocations: 3.155 MB / 0.7989 GB, free: 4.969 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.1951, allocations: 103.6 kB / 0.799 GB, free: 4.867 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.1951, allocations: 8 kB / 0.799 GB, free: 4.859 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002329/0.1975, allocations: 0.9411 MB / 0.7999 GB, free: 3.914 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.1976, allocations: 35.89 kB / 0.8 GB, free: 3.879 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.1977, allocations: 113.3 kB / 0.8001 GB, free: 3.762 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006959/0.1984, allocations: 363 kB / 0.8004 GB, free: 3.406 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1984, allocations: 0 / 0.8004 GB, free: 3.406 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1984, allocations: 3.938 kB / 0.8004 GB, free: 3.402 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.247e-06/0.1984, allocations: 4 kB / 0.8004 GB, free: 3.398 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006123/0.199, allocations: 471.3 kB / 0.8009 GB, free: 2.891 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1991, allocations: 8.031 kB / 0.8009 GB, free: 2.883 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.1992, allocations: 28.73 kB / 0.8009 GB, free: 2.855 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.1994, allocations: 216.1 kB / 0.8011 GB, free: 2.605 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.1995, allocations: 8.703 kB / 0.8011 GB, free: 2.598 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.1995, allocations: 16.38 kB / 0.8011 GB, free: 2.582 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003444/0.1998, allocations: 248.1 kB / 0.8014 GB, free: 2.32 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1999, allocations: 3.938 kB / 0.8014 GB, free: 2.316 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.1999, allocations: 8 kB / 0.8014 GB, free: 2.309 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/0.1999, allocations: 11.98 kB / 0.8014 GB, free: 2.297 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004481/0.2004, allocations: 423.5 kB / 0.8018 GB, free: 1.883 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.2014, allocations: 0.9644 MB / 0.8027 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.2017, allocations: 155.1 kB / 0.8029 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.829e-05/0.2018, allocations: 60.88 kB / 0.803 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001364/0.2032, allocations: 1.837 MB / 0.8047 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.2032, allocations: 38.56 kB / 0.8048 GB, free: 14.37 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.2032, allocations: 3.938 kB / 0.8048 GB, free: 14.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003267/0.2036, allocations: 141.5 kB / 0.8049 GB, free: 14.22 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.2036, allocations: 63.22 kB / 0.805 GB, free: 14.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.2038, allocations: 162.2 kB / 0.8051 GB, free: 13.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.2038, allocations: 33.7 kB / 0.8052 GB, free: 13.94 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.231e-05/0.2039, allocations: 143.8 kB / 0.8053 GB, free: 13.79 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.204, allocations: 55.2 kB / 0.8054 GB, free: 13.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.034e-05/0.204, allocations: 4 kB / 0.8054 GB, free: 13.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.2041, allocations: 322.8 kB / 0.8057 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.372e-05/0.2042, allocations: 39.97 kB / 0.8057 GB, free: 13.37 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.2043, allocations: 140 kB / 0.8058 GB, free: 13.19 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.2046, allocations: 198 kB / 0.806 GB, free: 12.95 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2046, allocations: 3.938 kB / 0.806 GB, free: 12.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003377/0.2049, allocations: 213.3 kB / 0.8062 GB, free: 12.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.205, allocations: 8 kB / 0.8062 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.205, allocations: 4 kB / 0.8062 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.205, allocations: 4 kB / 0.8063 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.2052, allocations: 55.86 kB / 0.8063 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.816e-05/0.2052, allocations: 15.92 kB / 0.8063 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.2053, allocations: 27.69 kB / 0.8063 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.2054, allocations: 12.28 kB / 0.8064 GB, free: 12.6 MB / 490.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.0001184/0.2055, allocations: 133.8 kB / 0.8065 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.2055, allocations: 15.81 kB / 0.8065 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002941/0.2058, allocations: 162.9 kB / 0.8067 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.2058, allocations: 7.938 kB / 0.8067 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2059, allocations: 0 / 0.8067 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2059, allocations: 0 / 0.8067 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.2061, allocations: 217.5 kB / 0.8069 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2061, allocations: 0 / 0.8069 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.112e-05/0.2062, allocations: 27.94 kB / 0.8069 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.2062, allocations: 3.984 kB / 0.8069 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.2062, allocations: 8 kB / 0.8069 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.2063, allocations: 7.938 kB / 0.8069 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2063, allocations: 0 / 0.8069 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.2065, allocations: 207.3 kB / 0.8071 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-05/0.2066, allocations: 116.8 kB / 0.8072 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.2066, allocations: 4 kB / 0.8072 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.2068, allocations: 31.86 kB / 0.8073 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-05/0.2069, allocations: 7.984 kB / 0.8073 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.2069, allocations: 12 kB / 0.8073 GB, free: 11.56 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.901e-05/0.207, allocations: 117.8 kB / 0.8074 GB, free: 11.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.207, allocations: 0 / 0.8074 GB, free: 11.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003731/0.2074, allocations: 79.92 kB / 0.8075 GB, free: 11.37 MB / 490.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.0003476/0.2077, allocations: 199 kB / 0.8077 GB, free: 11.17 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.208, allocations: 116.1 kB / 0.8078 GB, free: 11.05 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.208, allocations: 0 / 0.8078 GB, free: 11.05 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.333e-05/0.2081, allocations: 52.55 kB / 0.8078 GB, free: 11 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.2085, allocations: 46.59 kB / 0.8079 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006965/0.2092, allocations: 433.5 kB / 0.8083 GB, free: 10.51 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.2095, allocations: 0.7131 MB / 0.809 GB, free: 9.77 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001776/0.2097, allocations: 61.72 kB / 0.809 GB, free: 9.707 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.979e-05/0.2097, allocations: 23.44 kB / 0.8091 GB, free: 9.684 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2097, allocations: 0 / 0.8091 GB, free: 9.684 MB / 490.7 MB Notification: Performance of Templates: time 0.006813/0.2166, allocations: 3.522 MB / 0.8125 GB, free: 6.188 MB / 490.7 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)