Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7534/0.7534, allocations: 143.8 MB / 159.1 MB, free: 6.52 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.001312/0.001312, allocations: 187.2 kB / 192 MB, free: 6.727 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.483/1.483, allocations: 225.7 MB / 450.4 MB, free: 4.949 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.0007348/0.0007349, allocations: 111.6 kB / 0.5211 GB, free: 1.605 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.001624/0.001624, allocations: 280 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004174/0.0004174, allocations: 12.03 kB / 0.6948 GB, free: 59.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1697, allocations: 82.45 MB / 0.7753 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.0045/0.1742, allocations: 3.931 MB / 0.7791 GB, free: 10.26 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002112/0.1745, allocations: 232.8 kB / 0.7794 GB, free: 10.02 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.754e-05/0.1745, allocations: 0 / 0.7794 GB, free: 10.02 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.1746, allocations: 3.938 kB / 0.7794 GB, free: 10.01 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.96e-05/0.1747, allocations: 7.922 kB / 0.7794 GB, free: 10 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.175, allocations: 75.77 kB / 0.7794 GB, free: 9.93 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 9.282e-05/0.1751, allocations: 71.8 kB / 0.7795 GB, free: 9.859 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.417e-05/0.1751, allocations: 0 / 0.7795 GB, free: 9.859 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.874e-05/0.1752, allocations: 11.94 kB / 0.7795 GB, free: 9.848 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.772e-05/0.1753, allocations: 15.97 kB / 0.7795 GB, free: 9.832 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.1753, allocations: 0 / 0.7795 GB, free: 9.832 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005105/0.1758, allocations: 195.4 kB / 0.7797 GB, free: 9.641 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 4.207e-05/0.1759, allocations: 11.98 kB / 0.7797 GB, free: 9.629 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.145e-05/0.1759, allocations: 37.62 kB / 0.7798 GB, free: 9.586 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.176, allocations: 56.05 kB / 0.7798 GB, free: 9.531 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1761, allocations: 0 / 0.7798 GB, free: 9.531 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1761, allocations: 0 / 0.7798 GB, free: 9.531 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1761, allocations: 0 / 0.7798 GB, free: 9.531 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.0003828/0.1765, allocations: 323.6 kB / 0.7801 GB, free: 9.168 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1765, allocations: 8.031 kB / 0.7801 GB, free: 9.16 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.099e-05/0.1765, allocations: 0.9375 kB / 0.7801 GB, free: 9.16 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.1767, allocations: 168.3 kB / 0.7803 GB, free: 8.957 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.561e-05/0.1767, allocations: 30.27 kB / 0.7803 GB, free: 8.922 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.1768, allocations: 4.375 kB / 0.7803 GB, free: 8.918 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.1769, allocations: 53.59 kB / 0.7804 GB, free: 8.859 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1769, allocations: 3.938 kB / 0.7804 GB, free: 8.855 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1769, allocations: 0 / 0.7804 GB, free: 8.855 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.1769, allocations: 0 / 0.7804 GB, free: 8.855 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.565e-05/0.177, allocations: 23.92 kB / 0.7804 GB, free: 8.832 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004162/0.1774, allocations: 333.9 kB / 0.7807 GB, free: 8.438 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.619e-05/0.1775, allocations: 22.58 kB / 0.7807 GB, free: 8.406 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.428e-05/0.1775, allocations: 4.859 kB / 0.7807 GB, free: 8.398 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.7e-05/0.1776, allocations: 81.17 kB / 0.7808 GB, free: 8.301 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.1776, allocations: 34.56 kB / 0.7809 GB, free: 8.258 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1776, allocations: 0 / 0.7809 GB, free: 8.258 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001386/0.1778, allocations: 41.62 kB / 0.7809 GB, free: 8.211 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.1778, allocations: 55.53 kB / 0.781 GB, free: 8.145 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.366e-05/0.1779, allocations: 105.8 kB / 0.7811 GB, free: 8.031 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.1779, allocations: 25.7 kB / 0.7811 GB, free: 8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.178, allocations: 84.05 kB / 0.7812 GB, free: 7.914 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-06/0.178, allocations: 0 / 0.7812 GB, free: 7.914 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.178, allocations: 4 kB / 0.7812 GB, free: 7.91 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1781, allocations: 318.8 kB / 0.7815 GB, free: 7.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.197e-05/0.1781, allocations: 0 / 0.7815 GB, free: 7.59 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.321e-05/0.1782, allocations: 21.7 kB / 0.7815 GB, free: 7.562 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.448e-05/0.1782, allocations: 25.66 kB / 0.7815 GB, free: 7.531 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1782, allocations: 0 / 0.7815 GB, free: 7.531 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.04e-05/0.1783, allocations: 45.69 kB / 0.7816 GB, free: 7.48 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1783, allocations: 11.94 kB / 0.7816 GB, free: 7.469 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1783, allocations: 3.938 kB / 0.7816 GB, free: 7.465 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1783, allocations: 0 / 0.7816 GB, free: 7.465 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.198e-05/0.1784, allocations: 8.062 kB / 0.7816 GB, free: 7.457 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.1784, allocations: 0 / 0.7816 GB, free: 7.457 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.364e-05/0.1784, allocations: 11.89 kB / 0.7816 GB, free: 7.445 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.1784, allocations: 0 / 0.7816 GB, free: 7.445 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 8.287e-05/0.1785, allocations: 114.3 kB / 0.7817 GB, free: 7.324 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.1786, allocations: 0 / 0.7817 GB, free: 7.324 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.1787, allocations: 121 kB / 0.7818 GB, free: 7.195 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.445e-05/0.1787, allocations: 188.2 kB / 0.782 GB, free: 7.004 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.22e-05/0.1788, allocations: 176.3 kB / 0.7822 GB, free: 6.824 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-05/0.1789, allocations: 180.2 kB / 0.7823 GB, free: 6.641 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.1791, allocations: 413.1 kB / 0.7827 GB, free: 6.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.102e-05/0.1791, allocations: 101 kB / 0.7828 GB, free: 6.074 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.1792, allocations: 108.9 kB / 0.7829 GB, free: 5.961 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.097e-05/0.1792, allocations: 180.3 kB / 0.7831 GB, free: 5.777 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.105e-05/0.1793, allocations: 184.2 kB / 0.7833 GB, free: 5.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.307e-05/0.1794, allocations: 188.3 kB / 0.7835 GB, free: 5.398 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.753e-05/0.1794, allocations: 188.1 kB / 0.7836 GB, free: 5.207 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.1796, allocations: 307.8 kB / 0.7839 GB, free: 4.883 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.1796, allocations: 186 kB / 0.7841 GB, free: 4.676 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.645e-05/0.1797, allocations: 180.3 kB / 0.7843 GB, free: 4.492 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.1799, allocations: 113.2 kB / 0.7844 GB, free: 4.375 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.1799, allocations: 176.3 kB / 0.7846 GB, free: 4.195 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.18, allocations: 105 kB / 0.7847 GB, free: 4.086 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.654e-05/0.18, allocations: 87.27 kB / 0.7847 GB, free: 4 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.18, allocations: 0 / 0.7847 GB, free: 4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002222/0.1802, allocations: 16 kB / 0.7848 GB, free: 3.984 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.0002505/0.1805, allocations: 218.3 kB / 0.785 GB, free: 3.762 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.218e-05/0.1806, allocations: 12.06 kB / 0.785 GB, free: 3.75 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1806, allocations: 0 / 0.785 GB, free: 3.75 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.1806, allocations: 0 / 0.785 GB, free: 3.75 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.1809, allocations: 0.5185 MB / 0.7855 GB, free: 3.227 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002316/0.1812, allocations: 208.1 kB / 0.7857 GB, free: 2.992 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.1814, allocations: 0.6731 MB / 0.7863 GB, free: 2.293 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.92e-05/0.1815, allocations: 8 kB / 0.7863 GB, free: 2.285 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.468e-05/0.1815, allocations: 7.438 kB / 0.7863 GB, free: 2.277 MB / 458.7 MB Notification: Performance of SimCode: time 2.7e-07/0.1815, allocations: 0 / 0.7863 GB, free: 2.277 MB / 458.7 MB Notification: Performance of Templates: time 0.002398/0.1839, allocations: 0.6192 MB / 0.787 GB, free: 1.668 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)