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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001174, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7636/0.7636, allocations: 133.3 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 404.7 MB, free: 6.043 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 107.3 kB / 485.9 MB, free: 7.172 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001024, allocations: 51.92 kB / 0.5636 GB, free: 69.92 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1688, allocations: 80.41 MB / 0.6421 GB, free: 5.434 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005411/0.1743, allocations: 3.351 MB / 0.6454 GB, free: 2.055 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001052/0.1745, allocations: 51.86 kB / 0.6455 GB, free: 2.004 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.694e-05/0.1745, allocations: 0 / 0.6455 GB, free: 2.004 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.1746, allocations: 7.984 kB / 0.6455 GB, free: 1.996 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.26e-05/0.1747, allocations: 11.92 kB / 0.6455 GB, free: 1.984 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000486/0.1752, allocations: 172.7 kB / 0.6456 GB, free: 1.816 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.1753, allocations: 59.88 kB / 0.6457 GB, free: 1.758 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.306e-05/0.1754, allocations: 4 kB / 0.6457 GB, free: 1.754 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.232e-05/0.1754, allocations: 23.86 kB / 0.6457 GB, free: 1.73 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.702e-05/0.1755, allocations: 8 kB / 0.6457 GB, free: 1.723 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.1755, allocations: 0 / 0.6457 GB, free: 1.723 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003406/0.1759, allocations: 175.5 kB / 0.6459 GB, free: 1.551 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.1759, allocations: 7.984 kB / 0.6459 GB, free: 1.543 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.176, allocations: 7.938 kB / 0.6459 GB, free: 1.535 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.1762, allocations: 144 kB / 0.646 GB, free: 1.395 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1762, allocations: 0 / 0.646 GB, free: 1.395 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1763, allocations: 0 / 0.646 GB, free: 1.395 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.1763, allocations: 4 kB / 0.6461 GB, free: 1.391 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.0004548/0.1767, allocations: 347.4 kB / 0.6464 GB, free: 1.004 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1768, allocations: 11.97 kB / 0.6464 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.1768, allocations: 4.938 kB / 0.6464 GB, free: 0.9883 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.1769, allocations: 164.4 kB / 0.6466 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.1771, allocations: 30.27 kB / 0.6466 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.1771, allocations: 4.312 kB / 0.6466 GB, free: 0.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.1772, allocations: 45.62 kB / 0.6466 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1773, allocations: 4 kB / 0.6466 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1773, allocations: 0 / 0.6466 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.1773, allocations: 4 kB / 0.6466 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.941e-05/0.1774, allocations: 11.98 kB / 0.6467 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007202/0.1781, allocations: 0.5912 MB / 0.6472 GB, free: 15.96 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.507e-05/0.1781, allocations: 18.58 kB / 0.6472 GB, free: 15.93 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.065e-05/0.1782, allocations: 8.859 kB / 0.6473 GB, free: 15.92 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002594/0.1784, allocations: 348.5 kB / 0.6476 GB, free: 15.51 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.1785, allocations: 34.56 kB / 0.6476 GB, free: 15.46 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.1785, allocations: 0 / 0.6476 GB, free: 15.46 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001557/0.1786, allocations: 37.64 kB / 0.6477 GB, free: 15.42 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.1787, allocations: 51.41 kB / 0.6477 GB, free: 15.36 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.755e-05/0.1788, allocations: 105.8 kB / 0.6478 GB, free: 15.25 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.1788, allocations: 29.83 kB / 0.6478 GB, free: 15.21 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.1789, allocations: 96.03 kB / 0.6479 GB, free: 15.11 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.439e-06/0.1789, allocations: 0 / 0.6479 GB, free: 15.11 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.1789, allocations: 17.7 kB / 0.6479 GB, free: 15.09 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.179, allocations: 314.8 kB / 0.6482 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.1791, allocations: 8 kB / 0.6483 GB, free: 14.77 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.274e-05/0.1791, allocations: 13.91 kB / 0.6483 GB, free: 14.75 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.853e-05/0.1791, allocations: 29.64 kB / 0.6483 GB, free: 14.71 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1791, allocations: 0 / 0.6483 GB, free: 14.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.221e-05/0.1792, allocations: 45.8 kB / 0.6483 GB, free: 14.66 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1792, allocations: 9.703 kB / 0.6483 GB, free: 14.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.1793, allocations: 7.984 kB / 0.6484 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1793, allocations: 0 / 0.6484 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.813e-05/0.1793, allocations: 7.938 kB / 0.6484 GB, free: 14.63 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1793, allocations: 4 kB / 0.6484 GB, free: 14.63 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.033e-05/0.1794, allocations: 11.91 kB / 0.6484 GB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.1794, allocations: 0 / 0.6484 GB, free: 14.62 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.479e-05/0.1795, allocations: 113.8 kB / 0.6485 GB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.1795, allocations: 0 / 0.6485 GB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.1796, allocations: 121 kB / 0.6486 GB, free: 14.37 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.99e-05/0.1797, allocations: 180.2 kB / 0.6488 GB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.989e-05/0.1798, allocations: 184.3 kB / 0.6489 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.478e-05/0.1798, allocations: 184.2 kB / 0.6491 GB, free: 13.81 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.1801, allocations: 405.2 kB / 0.6495 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.444e-05/0.1801, allocations: 105 kB / 0.6496 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.39e-05/0.1802, allocations: 104.9 kB / 0.6497 GB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.749e-05/0.1803, allocations: 176.3 kB / 0.6499 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.875e-05/0.1804, allocations: 192.1 kB / 0.6501 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.334e-05/0.1804, allocations: 180.3 kB / 0.6502 GB, free: 12.58 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.469e-05/0.1805, allocations: 180.2 kB / 0.6504 GB, free: 12.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004189/0.1809, allocations: 0.8533 MB / 0.6512 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.793e-05/0.181, allocations: 182.1 kB / 0.6514 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.954e-05/0.1811, allocations: 184.1 kB / 0.6516 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.1813, allocations: 116.9 kB / 0.6517 GB, free: 10.97 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/0.1813, allocations: 176.3 kB / 0.6519 GB, free: 10.79 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-05/0.1814, allocations: 112.9 kB / 0.652 GB, free: 10.67 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.818e-05/0.1815, allocations: 87.27 kB / 0.6521 GB, free: 10.59 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1815, allocations: 4 kB / 0.6521 GB, free: 10.58 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004388/0.1819, allocations: 24 kB / 0.6521 GB, free: 10.56 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.0002922/0.1822, allocations: 236.4 kB / 0.6523 GB, free: 10.32 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.838e-05/0.1823, allocations: 11.98 kB / 0.6523 GB, free: 10.31 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1823, allocations: 0 / 0.6523 GB, free: 10.31 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.798e-06/0.1823, allocations: 3.938 kB / 0.6523 GB, free: 10.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005195/0.1828, allocations: 0.5265 MB / 0.6528 GB, free: 9.773 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.1831, allocations: 168 kB / 0.653 GB, free: 9.578 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.1834, allocations: 0.6731 MB / 0.6537 GB, free: 8.879 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.658e-05/0.1835, allocations: 10.09 kB / 0.6537 GB, free: 8.871 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.1835, allocations: 15.44 kB / 0.6537 GB, free: 8.855 MB / 458.7 MB Notification: Performance of SimCode: time 2.61e-07/0.1835, allocations: 3.938 kB / 0.6537 GB, free: 8.852 MB / 458.7 MB Notification: Performance of Templates: time 0.003384/0.1869, allocations: 1.193 MB / 0.6548 GB, free: 7.699 MB / 458.7 MB 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)