Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008028/0.0008028, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008507/0.0008507, allocations: 184.2 kB / 16.92 MB, free: 6.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9165/0.9165, allocations: 135.3 MB / 427.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003516, allocations: 15.92 kB / 0.5082 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1708, allocations: 82.31 MB / 0.5886 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004177/0.175, allocations: 2.985 MB / 0.5915 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001134/0.1752, allocations: 51.88 kB / 0.5916 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.83e-05/0.1752, allocations: 0 / 0.5916 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.1753, allocations: 7.922 kB / 0.5916 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.06e-05/0.1754, allocations: 11.92 kB / 0.5916 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000535/0.176, allocations: 166.5 kB / 0.5918 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.1761, allocations: 63.81 kB / 0.5918 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.866e-05/0.1762, allocations: 0 / 0.5918 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.563e-05/0.1762, allocations: 23.92 kB / 0.5918 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.664e-05/0.1763, allocations: 7.984 kB / 0.5918 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.1763, allocations: 7.938 kB / 0.5919 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003482/0.1767, allocations: 167.6 kB / 0.592 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.556e-05/0.1767, allocations: 3.984 kB / 0.592 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.643e-05/0.1768, allocations: 45.62 kB / 0.5921 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.177, allocations: 84.11 kB / 0.5921 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.177, allocations: 8 kB / 0.5922 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.177, allocations: 0 / 0.5922 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.177, allocations: 0 / 0.5922 GB, free: 14.97 MB / 0.4981 GB 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.0004925/0.1775, allocations: 339.5 kB / 0.5925 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.1776, allocations: 8.031 kB / 0.5925 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.1776, allocations: 4.844 kB / 0.5925 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.1778, allocations: 172.3 kB / 0.5927 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.908e-05/0.1779, allocations: 30.2 kB / 0.5927 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.1779, allocations: 8.359 kB / 0.5927 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.1781, allocations: 53.61 kB / 0.5927 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1781, allocations: 4 kB / 0.5927 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.1781, allocations: 0 / 0.5927 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.51e-05/0.1781, allocations: 0 / 0.5927 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.886e-05/0.1782, allocations: 19.98 kB / 0.5928 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009155/0.1791, allocations: 0.5755 MB / 0.5933 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.351e-05/0.1792, allocations: 26.52 kB / 0.5933 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.036e-05/0.1792, allocations: 8.859 kB / 0.5934 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003077/0.1795, allocations: 340.5 kB / 0.5937 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.1796, allocations: 30.56 kB / 0.5937 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.1796, allocations: 4 kB / 0.5937 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001795/0.1798, allocations: 37.64 kB / 0.5938 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.264e-05/0.1799, allocations: 51.41 kB / 0.5938 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.661e-05/0.18, allocations: 106 kB / 0.5939 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.18, allocations: 29.7 kB / 0.5939 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.1801, allocations: 84.05 kB / 0.594 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.606e-06/0.1801, allocations: 3.906 kB / 0.594 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.1802, allocations: 13.72 kB / 0.594 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1803, allocations: 318.8 kB / 0.5943 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.1803, allocations: 4 kB / 0.5943 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.994e-05/0.1804, allocations: 13.72 kB / 0.5943 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.92e-05/0.1804, allocations: 29.7 kB / 0.5944 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1804, allocations: 0 / 0.5944 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.621e-05/0.1805, allocations: 45.64 kB / 0.5944 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.1805, allocations: 10.5 kB / 0.5944 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1805, allocations: 0 / 0.5944 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1806, allocations: 3.984 kB / 0.5944 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.152e-05/0.1806, allocations: 4 kB / 0.5944 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.1806, allocations: 12 kB / 0.5944 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.082e-05/0.1807, allocations: 3.938 kB / 0.5945 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.1807, allocations: 3.938 kB / 0.5945 GB, free: 12.22 MB / 0.4981 GB 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 9.134e-05/0.1808, allocations: 117.8 kB / 0.5946 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.1808, allocations: 0 / 0.5946 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.1809, allocations: 121 kB / 0.5947 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001091/0.181, allocations: 184.2 kB / 0.5949 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.655e-05/0.1811, allocations: 176.3 kB / 0.595 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.674e-05/0.1812, allocations: 184.2 kB / 0.5952 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002785/0.1815, allocations: 409.1 kB / 0.5956 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.145e-05/0.1816, allocations: 109 kB / 0.5957 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.162e-05/0.1816, allocations: 104.9 kB / 0.5958 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.53e-05/0.1817, allocations: 180.3 kB / 0.596 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.212e-05/0.1818, allocations: 176.3 kB / 0.5961 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.784e-05/0.1819, allocations: 188.4 kB / 0.5963 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.541e-05/0.182, allocations: 176.3 kB / 0.5965 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.1823, allocations: 319.9 kB / 0.5968 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.1824, allocations: 182.1 kB / 0.597 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.892e-05/0.1825, allocations: 188.2 kB / 0.5971 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.1827, allocations: 109 kB / 0.5972 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.1828, allocations: 184.2 kB / 0.5974 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-05/0.1829, allocations: 109 kB / 0.5975 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.891e-05/0.1829, allocations: 87.28 kB / 0.5976 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1829, allocations: 4 kB / 0.5976 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003134/0.1833, allocations: 35.98 kB / 0.5976 GB, free: 8.73 MB / 0.4981 GB 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.0002927/0.1836, allocations: 234.4 kB / 0.5979 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.946e-05/0.1836, allocations: 7.938 kB / 0.5979 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.1836, allocations: 4 kB / 0.5979 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/0.1837, allocations: 0 / 0.5979 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000512/0.1842, allocations: 0.5265 MB / 0.5984 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.1845, allocations: 209.5 kB / 0.5986 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.1848, allocations: 0.677 MB / 0.5993 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.303e-05/0.1848, allocations: 11.38 kB / 0.5993 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.1848, allocations: 0 / 0.5993 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of Templates: time 0.002803/0.1876, allocations: 1.179 MB / 0.6004 GB, free: 5.832 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)