Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7644/0.7644, allocations: 131 MB / 146.3 MB, free: 1.316 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.000927/0.0009272, allocations: 183.8 kB / 176.4 MB, free: 4.879 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.344/1.344, allocations: 225.7 MB / 431.9 MB, free: 8.809 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.0007733/0.0007735, allocations: 97.56 kB / 0.5003 GB, free: 9.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003201/0.0003201, allocations: 8 kB / 0.5885 GB, free: 72.66 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1343, allocations: 79.6 MB / 0.6663 GB, free: 8.891 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003614/0.1379, allocations: 3.442 MB / 0.6696 GB, free: 5.297 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 8.264e-05/0.138, allocations: 43.91 kB / 0.6697 GB, free: 5.254 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.47e-05/0.1381, allocations: 0 / 0.6697 GB, free: 5.254 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 8.515e-05/0.1382, allocations: 0 / 0.6697 GB, free: 5.254 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.632e-05/0.1382, allocations: 15.91 kB / 0.6697 GB, free: 5.238 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.1387, allocations: 159.4 kB / 0.6698 GB, free: 5.082 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.798e-05/0.1388, allocations: 59.83 kB / 0.6699 GB, free: 5.023 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.883e-05/0.1388, allocations: 3.984 kB / 0.6699 GB, free: 5.02 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.377e-05/0.1388, allocations: 11.98 kB / 0.6699 GB, free: 5.008 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.81e-05/0.1389, allocations: 15.92 kB / 0.6699 GB, free: 4.992 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.1389, allocations: 0 / 0.6699 GB, free: 4.992 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002938/0.1392, allocations: 167.5 kB / 0.6701 GB, free: 4.828 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.811e-05/0.1393, allocations: 7.984 kB / 0.6701 GB, free: 4.82 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.394e-05/0.1393, allocations: 29.7 kB / 0.6701 GB, free: 4.785 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.1395, allocations: 132 kB / 0.6702 GB, free: 4.656 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1395, allocations: 4 kB / 0.6702 GB, free: 4.652 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1396, allocations: 3.938 kB / 0.6703 GB, free: 4.648 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.886e-06/0.1396, allocations: 0 / 0.6703 GB, free: 4.648 MB / 442.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.0003158/0.1399, allocations: 335.5 kB / 0.6706 GB, free: 4.273 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.1399, allocations: 12.03 kB / 0.6706 GB, free: 4.262 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.14, allocations: 0.9375 kB / 0.6706 GB, free: 4.262 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.773e-05/0.14, allocations: 164.4 kB / 0.6707 GB, free: 4.062 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.463e-05/0.1401, allocations: 34.2 kB / 0.6708 GB, free: 4.023 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-06/0.1401, allocations: 4.375 kB / 0.6708 GB, free: 4.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.1403, allocations: 45.62 kB / 0.6708 GB, free: 3.969 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.1403, allocations: 4 kB / 0.6708 GB, free: 3.965 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1403, allocations: 0 / 0.6708 GB, free: 3.965 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.1403, allocations: 7.938 kB / 0.6708 GB, free: 3.957 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.082e-05/0.1404, allocations: 19.92 kB / 0.6709 GB, free: 3.938 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000558/0.1409, allocations: 0.5832 MB / 0.6714 GB, free: 3.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.747e-05/0.141, allocations: 22.58 kB / 0.6714 GB, free: 3.199 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.156e-05/0.141, allocations: 4.859 kB / 0.6714 GB, free: 3.191 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001917/0.1412, allocations: 344.5 kB / 0.6718 GB, free: 2.781 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.1412, allocations: 34.55 kB / 0.6718 GB, free: 2.738 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 2.565e-06/0.1412, allocations: 3.984 kB / 0.6718 GB, free: 2.734 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001245/0.1413, allocations: 33.64 kB / 0.6718 GB, free: 2.695 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.1414, allocations: 55.53 kB / 0.6719 GB, free: 2.629 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.463e-05/0.1415, allocations: 105.8 kB / 0.672 GB, free: 2.516 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.1415, allocations: 25.7 kB / 0.672 GB, free: 2.484 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.763e-05/0.1415, allocations: 84.05 kB / 0.6721 GB, free: 2.398 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.721e-06/0.1415, allocations: 4 kB / 0.6721 GB, free: 2.395 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-06/0.1415, allocations: 0 / 0.6721 GB, free: 2.395 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.061e-05/0.1416, allocations: 318.8 kB / 0.6724 GB, free: 2.074 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.037e-05/0.1416, allocations: 0 / 0.6724 GB, free: 2.074 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.024e-05/0.1417, allocations: 21.7 kB / 0.6724 GB, free: 2.047 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.129e-05/0.1417, allocations: 25.66 kB / 0.6725 GB, free: 2.016 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1417, allocations: 0 / 0.6725 GB, free: 2.016 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.849e-05/0.1418, allocations: 45.69 kB / 0.6725 GB, free: 1.965 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1418, allocations: 4 kB / 0.6725 GB, free: 1.961 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1418, allocations: 0 / 0.6725 GB, free: 1.961 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.1418, allocations: 4 kB / 0.6725 GB, free: 1.957 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.081e-05/0.1419, allocations: 7.938 kB / 0.6725 GB, free: 1.949 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1419, allocations: 4.062 kB / 0.6725 GB, free: 1.945 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.782e-05/0.1419, allocations: 3.906 kB / 0.6725 GB, free: 1.941 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.1419, allocations: 7.984 kB / 0.6725 GB, free: 1.934 MB / 442.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 5.725e-05/0.142, allocations: 113.8 kB / 0.6726 GB, free: 1.812 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.142, allocations: 4 kB / 0.6726 GB, free: 1.809 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.597e-05/0.1421, allocations: 116.8 kB / 0.6728 GB, free: 1.688 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.82e-05/0.1422, allocations: 196.2 kB / 0.6729 GB, free: 1.488 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.241e-05/0.1422, allocations: 176.3 kB / 0.6731 GB, free: 1.309 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.604e-05/0.1423, allocations: 184.2 kB / 0.6733 GB, free: 1.121 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.1424, allocations: 405.2 kB / 0.6737 GB, free: 0.668 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.712e-05/0.1425, allocations: 101 kB / 0.6738 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.216e-05/0.1425, allocations: 108.9 kB / 0.6739 GB, free: 460 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.265e-05/0.1426, allocations: 188.2 kB / 0.6741 GB, free: 264 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.127e-05/0.1426, allocations: 184.2 kB / 0.6742 GB, free: 72 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.507e-05/0.1427, allocations: 176.3 kB / 0.6744 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.792e-05/0.1427, allocations: 176.5 kB / 0.6746 GB, free: 15.71 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.931e-05/0.1428, allocations: 315.7 kB / 0.6749 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.679e-05/0.1429, allocations: 190 kB / 0.675 GB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.355e-05/0.143, allocations: 176.3 kB / 0.6752 GB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1431, allocations: 113 kB / 0.6753 GB, free: 14.87 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.1431, allocations: 180.2 kB / 0.6755 GB, free: 14.69 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.1432, allocations: 105 kB / 0.6756 GB, free: 14.58 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.119e-05/0.1432, allocations: 83.28 kB / 0.6757 GB, free: 14.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1432, allocations: 0 / 0.6757 GB, free: 14.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002438/0.1435, allocations: 39.98 kB / 0.6757 GB, free: 14.46 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.0002309/0.1437, allocations: 246.3 kB / 0.6759 GB, free: 14.21 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.557e-05/0.1438, allocations: 11.94 kB / 0.676 GB, free: 14.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1438, allocations: 0 / 0.676 GB, free: 14.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.835e-06/0.1438, allocations: 4 kB / 0.676 GB, free: 14.19 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.1441, allocations: 0.5264 MB / 0.6765 GB, free: 13.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002274/0.1444, allocations: 195.8 kB / 0.6767 GB, free: 13.44 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.1446, allocations: 0.6731 MB / 0.6773 GB, free: 12.74 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.868e-05/0.1446, allocations: 8.422 kB / 0.6773 GB, free: 12.73 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.567e-05/0.1446, allocations: 11.42 kB / 0.6773 GB, free: 12.72 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1446, allocations: 0 / 0.6773 GB, free: 12.72 MB / 458.7 MB Notification: Performance of Templates: time 0.003116/0.1477, allocations: 1.182 MB / 0.6785 GB, free: 11.54 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)