Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8493/0.8493, allocations: 143.8 MB / 159.1 MB, free: 6.473 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.001157/0.001157, allocations: 175.3 kB / 192 MB, free: 6.734 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.397/1.397, allocations: 225.7 MB / 450.4 MB, free: 5.004 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.000793/0.0007929, allocations: 107.5 kB / 0.5211 GB, free: 1.672 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.001732/0.001732, allocations: 281.2 kB / 0.6025 GB, free: 49.31 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003999/0.0003999, allocations: 17.78 kB / 0.6948 GB, free: 59.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1234, allocations: 82.45 MB / 0.7753 GB, free: 14.38 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004032/0.1275, allocations: 3.736 MB / 0.7789 GB, free: 10.58 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002111/0.1277, allocations: 224.8 kB / 0.7792 GB, free: 10.34 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.766e-05/0.1277, allocations: 7.938 kB / 0.7792 GB, free: 10.34 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 7.693e-05/0.1278, allocations: 0 / 0.7792 GB, free: 10.34 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.429e-05/0.1279, allocations: 15.91 kB / 0.7792 GB, free: 10.32 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.1282, allocations: 71.83 kB / 0.7793 GB, free: 10.25 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 8.242e-05/0.1283, allocations: 59.81 kB / 0.7793 GB, free: 10.19 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.15e-05/0.1283, allocations: 0 / 0.7793 GB, free: 10.19 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.71e-05/0.1284, allocations: 15.98 kB / 0.7793 GB, free: 10.18 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.268e-05/0.1284, allocations: 19.86 kB / 0.7793 GB, free: 10.16 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.1284, allocations: 0 / 0.7793 GB, free: 10.16 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.1287, allocations: 75.78 kB / 0.7794 GB, free: 10.08 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 4.5e-05/0.1287, allocations: 11.98 kB / 0.7794 GB, free: 10.07 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.762e-05/0.1288, allocations: 33.64 kB / 0.7795 GB, free: 10.03 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.1289, allocations: 44.17 kB / 0.7795 GB, free: 9.988 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1289, allocations: 7.984 kB / 0.7795 GB, free: 9.98 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1289, allocations: 0 / 0.7795 GB, free: 9.98 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1289, allocations: 0 / 0.7795 GB, free: 9.98 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.0003674/0.1293, allocations: 331.5 kB / 0.7798 GB, free: 9.609 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1294, allocations: 12.03 kB / 0.7798 GB, free: 9.598 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.1294, allocations: 0.9375 kB / 0.7798 GB, free: 9.598 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.1295, allocations: 160.4 kB / 0.78 GB, free: 9.402 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.978e-05/0.1296, allocations: 34.25 kB / 0.78 GB, free: 9.363 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.1296, allocations: 4.375 kB / 0.78 GB, free: 9.359 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.1297, allocations: 53.55 kB / 0.7801 GB, free: 9.301 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.1298, allocations: 0 / 0.7801 GB, free: 9.301 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.1298, allocations: 4 kB / 0.7801 GB, free: 9.297 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.1298, allocations: 3.938 kB / 0.7801 GB, free: 9.293 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.147e-05/0.1298, allocations: 11.98 kB / 0.7801 GB, free: 9.281 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.1303, allocations: 333.9 kB / 0.7804 GB, free: 8.887 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.414e-05/0.1303, allocations: 26.61 kB / 0.7804 GB, free: 8.852 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.537e-05/0.1303, allocations: 8.797 kB / 0.7804 GB, free: 8.84 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.95e-05/0.1304, allocations: 81.17 kB / 0.7805 GB, free: 8.742 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.1304, allocations: 38.56 kB / 0.7806 GB, free: 8.695 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 9.91e-07/0.1305, allocations: 0 / 0.7806 GB, free: 8.695 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001289/0.1306, allocations: 37.62 kB / 0.7806 GB, free: 8.652 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.1306, allocations: 51.53 kB / 0.7806 GB, free: 8.59 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.932e-05/0.1307, allocations: 105.9 kB / 0.7807 GB, free: 8.477 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.1307, allocations: 25.7 kB / 0.7808 GB, free: 8.445 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.1308, allocations: 92.02 kB / 0.7809 GB, free: 8.352 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.581e-06/0.1308, allocations: 3.906 kB / 0.7809 GB, free: 8.348 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.1308, allocations: 0 / 0.7809 GB, free: 8.348 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1309, allocations: 322.8 kB / 0.7812 GB, free: 8.023 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.169e-05/0.1309, allocations: 3.938 kB / 0.7812 GB, free: 8.02 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.484e-05/0.131, allocations: 21.7 kB / 0.7812 GB, free: 7.992 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.378e-05/0.131, allocations: 21.72 kB / 0.7812 GB, free: 7.965 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.131, allocations: 0 / 0.7812 GB, free: 7.965 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.645e-05/0.1311, allocations: 49.62 kB / 0.7813 GB, free: 7.91 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.1311, allocations: 4 kB / 0.7813 GB, free: 7.906 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1311, allocations: 4 kB / 0.7813 GB, free: 7.902 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.1311, allocations: 0 / 0.7813 GB, free: 7.902 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.002e-05/0.1312, allocations: 8.062 kB / 0.7813 GB, free: 7.895 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.1312, allocations: 0 / 0.7813 GB, free: 7.895 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.1312, allocations: 4 kB / 0.7813 GB, free: 7.891 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.1312, allocations: 4 kB / 0.7813 GB, free: 7.887 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 6.791e-05/0.1313, allocations: 113.8 kB / 0.7814 GB, free: 7.766 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.1313, allocations: 4 kB / 0.7814 GB, free: 7.762 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.1315, allocations: 120.9 kB / 0.7815 GB, free: 7.629 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.808e-05/0.1315, allocations: 180.3 kB / 0.7817 GB, free: 7.445 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.507e-05/0.1316, allocations: 184.2 kB / 0.7819 GB, free: 7.258 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.37e-05/0.1316, allocations: 176.3 kB / 0.782 GB, free: 7.078 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.1319, allocations: 417 kB / 0.7824 GB, free: 6.613 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.308e-05/0.1319, allocations: 101 kB / 0.7825 GB, free: 6.508 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.011e-05/0.132, allocations: 108.9 kB / 0.7826 GB, free: 6.395 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.953e-05/0.132, allocations: 188.2 kB / 0.7828 GB, free: 6.203 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-05/0.1321, allocations: 176.3 kB / 0.783 GB, free: 6.023 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.309e-05/0.1321, allocations: 184.2 kB / 0.7832 GB, free: 5.836 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.797e-05/0.1322, allocations: 180.3 kB / 0.7833 GB, free: 5.652 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.1323, allocations: 311.7 kB / 0.7836 GB, free: 5.324 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.497e-05/0.1324, allocations: 186.4 kB / 0.7838 GB, free: 5.117 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.932e-05/0.1325, allocations: 180.2 kB / 0.784 GB, free: 4.934 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.1327, allocations: 109 kB / 0.7841 GB, free: 4.82 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.474e-05/0.1328, allocations: 188.2 kB / 0.7843 GB, free: 4.629 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.071e-05/0.1328, allocations: 109.2 kB / 0.7844 GB, free: 4.516 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.122e-05/0.1328, allocations: 79.28 kB / 0.7844 GB, free: 4.438 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1329, allocations: 0 / 0.7844 GB, free: 4.438 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002419/0.1331, allocations: 23.92 kB / 0.7845 GB, free: 4.414 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.0002772/0.1334, allocations: 202.4 kB / 0.7846 GB, free: 4.207 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.793e-05/0.1335, allocations: 16.05 kB / 0.7847 GB, free: 4.191 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1335, allocations: 4.062 kB / 0.7847 GB, free: 4.188 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.286e-06/0.1335, allocations: 3.938 kB / 0.7847 GB, free: 4.184 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.134, allocations: 0.5185 MB / 0.7852 GB, free: 3.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/0.1343, allocations: 192 kB / 0.7854 GB, free: 3.441 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.1345, allocations: 0.6731 MB / 0.786 GB, free: 2.742 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.377e-05/0.1346, allocations: 11.92 kB / 0.786 GB, free: 2.73 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/0.1346, allocations: 11.44 kB / 0.786 GB, free: 2.719 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1346, allocations: 3.938 kB / 0.786 GB, free: 2.715 MB / 458.7 MB Notification: Performance of Templates: time 0.002557/0.1372, allocations: 0.6185 MB / 0.7866 GB, free: 2.102 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)