Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7734/0.7734, allocations: 143.8 MB / 159.1 MB, free: 6.5 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.001183/0.001183, allocations: 187.2 kB / 192 MB, free: 6.699 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.54/1.54, allocations: 225.7 MB / 450.4 MB, free: 5.008 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.0008568/0.0008569, allocations: 103.5 kB / 0.5211 GB, free: 1.668 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.00168/0.00168, allocations: 267 kB / 0.6025 GB, free: 49.3 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007134/0.0007135, allocations: 12.31 kB / 0.6948 GB, free: 59.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1517, allocations: 82.45 MB / 0.7753 GB, free: 14.37 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004243/0.156, allocations: 3.452 MB / 0.7787 GB, free: 10.77 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 9.177e-05/0.1561, allocations: 47.83 kB / 0.7787 GB, free: 10.72 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.078e-05/0.1562, allocations: 4 kB / 0.7787 GB, free: 10.71 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 9.213e-05/0.1563, allocations: 0 / 0.7787 GB, free: 10.71 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.108e-05/0.1563, allocations: 15.91 kB / 0.7787 GB, free: 10.7 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000564/0.1569, allocations: 171.4 kB / 0.7789 GB, free: 10.53 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 9.313e-05/0.157, allocations: 63.8 kB / 0.779 GB, free: 10.47 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.293e-05/0.157, allocations: 0 / 0.779 GB, free: 10.47 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.242e-05/0.1571, allocations: 15.94 kB / 0.779 GB, free: 10.45 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.432e-05/0.1572, allocations: 11.97 kB / 0.779 GB, free: 10.44 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.1572, allocations: 4 kB / 0.779 GB, free: 10.44 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003413/0.1575, allocations: 159.5 kB / 0.7792 GB, free: 10.28 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 4.051e-05/0.1576, allocations: 7.984 kB / 0.7792 GB, free: 10.27 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.198e-05/0.1576, allocations: 41.62 kB / 0.7792 GB, free: 10.23 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.1579, allocations: 136 kB / 0.7793 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1579, allocations: 0 / 0.7793 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1579, allocations: 0 / 0.7793 GB, free: 10.09 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.1579, allocations: 0 / 0.7793 GB, free: 10.09 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003862/0.1583, allocations: 347.5 kB / 0.7797 GB, free: 9.707 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/0.1584, allocations: 8.031 kB / 0.7797 GB, free: 9.699 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.1584, allocations: 4.844 kB / 0.7797 GB, free: 9.695 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.1586, allocations: 168.4 kB / 0.7798 GB, free: 9.492 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.785e-05/0.1586, allocations: 26.27 kB / 0.7799 GB, free: 9.461 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.1586, allocations: 384 / 0.7799 GB, free: 9.461 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1588, allocations: 53.61 kB / 0.7799 GB, free: 9.402 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.1588, allocations: 0 / 0.7799 GB, free: 9.402 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.1588, allocations: 0 / 0.7799 GB, free: 9.402 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.1588, allocations: 3.938 kB / 0.7799 GB, free: 9.398 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.453e-05/0.1589, allocations: 19.98 kB / 0.7799 GB, free: 9.379 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006214/0.1595, allocations: 0.5794 MB / 0.7805 GB, free: 8.676 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.383e-05/0.1596, allocations: 14.58 kB / 0.7805 GB, free: 8.652 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.568e-05/0.1596, allocations: 8.922 kB / 0.7805 GB, free: 8.641 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000233/0.1598, allocations: 344.4 kB / 0.7808 GB, free: 8.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.1599, allocations: 30.56 kB / 0.7809 GB, free: 8.191 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1599, allocations: 7.938 kB / 0.7809 GB, free: 8.184 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001311/0.16, allocations: 37.69 kB / 0.7809 GB, free: 8.141 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.1601, allocations: 51.41 kB / 0.781 GB, free: 8.078 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.789e-05/0.1601, allocations: 105.8 kB / 0.7811 GB, free: 7.965 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.1602, allocations: 25.7 kB / 0.7811 GB, free: 7.934 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.1602, allocations: 88.05 kB / 0.7812 GB, free: 7.844 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.917e-06/0.1602, allocations: 7.844 kB / 0.7812 GB, free: 7.836 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-06/0.1602, allocations: 0 / 0.7812 GB, free: 7.836 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1603, allocations: 322.9 kB / 0.7815 GB, free: 7.512 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.186e-05/0.1604, allocations: 7.875 kB / 0.7815 GB, free: 7.504 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.345e-05/0.1604, allocations: 25.7 kB / 0.7815 GB, free: 7.473 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.254e-05/0.1604, allocations: 21.66 kB / 0.7815 GB, free: 7.445 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1604, allocations: 0 / 0.7815 GB, free: 7.445 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.427e-05/0.1605, allocations: 49.62 kB / 0.7816 GB, free: 7.391 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1605, allocations: 8.062 kB / 0.7816 GB, free: 7.383 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1605, allocations: 0 / 0.7816 GB, free: 7.383 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.1606, allocations: 4 kB / 0.7816 GB, free: 7.379 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.097e-05/0.1606, allocations: 4 kB / 0.7816 GB, free: 7.375 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1606, allocations: 0 / 0.7816 GB, free: 7.375 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.697e-05/0.1606, allocations: 0 / 0.7816 GB, free: 7.375 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.1607, allocations: 8.266 kB / 0.7816 GB, free: 7.367 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * 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 7.537e-05/0.1607, allocations: 113.8 kB / 0.7817 GB, free: 7.246 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.1608, allocations: 8 kB / 0.7817 GB, free: 7.238 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.1609, allocations: 120.9 kB / 0.7818 GB, free: 7.109 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.143e-05/0.1609, allocations: 188.2 kB / 0.782 GB, free: 6.918 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.103e-05/0.161, allocations: 176.3 kB / 0.7822 GB, free: 6.738 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.206e-05/0.1611, allocations: 180.2 kB / 0.7824 GB, free: 6.555 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.1613, allocations: 409.2 kB / 0.7828 GB, free: 6.098 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.12e-05/0.1613, allocations: 108.9 kB / 0.7829 GB, free: 5.984 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.752e-05/0.1614, allocations: 101 kB / 0.783 GB, free: 5.879 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.784e-05/0.1614, allocations: 180.3 kB / 0.7831 GB, free: 5.695 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.245e-05/0.1615, allocations: 184.2 kB / 0.7833 GB, free: 5.508 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.622e-05/0.1616, allocations: 176.4 kB / 0.7835 GB, free: 5.328 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.083e-05/0.1616, allocations: 188.2 kB / 0.7837 GB, free: 5.137 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.1618, allocations: 311.6 kB / 0.784 GB, free: 4.809 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.329e-05/0.1619, allocations: 186.1 kB / 0.7841 GB, free: 4.602 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.703e-05/0.1619, allocations: 180.3 kB / 0.7843 GB, free: 4.418 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.1621, allocations: 116.9 kB / 0.7844 GB, free: 4.297 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.1622, allocations: 180.3 kB / 0.7846 GB, free: 4.113 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.1622, allocations: 108.9 kB / 0.7847 GB, free: 4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.464e-05/0.1623, allocations: 87.27 kB / 0.7848 GB, free: 3.914 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1623, allocations: 0 / 0.7848 GB, free: 3.914 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002622/0.1626, allocations: 31.94 kB / 0.7848 GB, free: 3.883 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0003075/0.1629, allocations: 242.4 kB / 0.785 GB, free: 3.633 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.824e-05/0.1629, allocations: 15.98 kB / 0.785 GB, free: 3.617 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.163, allocations: 0 / 0.785 GB, free: 3.617 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.163, allocations: 128 / 0.785 GB, free: 3.617 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.1634, allocations: 0.5271 MB / 0.7856 GB, free: 3.086 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002426/0.1636, allocations: 187.9 kB / 0.7857 GB, free: 2.871 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.1639, allocations: 0.6809 MB / 0.7864 GB, free: 2.164 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.383e-05/0.1639, allocations: 11.86 kB / 0.7864 GB, free: 2.152 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.784e-05/0.164, allocations: 11.44 kB / 0.7864 GB, free: 2.141 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.164, allocations: 0 / 0.7864 GB, free: 2.141 MB / 458.7 MB Notification: Performance of Templates: time 0.003386/0.1674, allocations: 1.196 MB / 0.7876 GB, free: 0.9531 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)