Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 107.3 kB / 16.41 MB, free: 6.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8128/0.8128, allocations: 135.1 MB / 426.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 65.8 kB / 0.5863 GB, free: 21.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1534, allocations: 80.92 MB / 0.6654 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005331/0.1588, allocations: 4.058 MB / 0.6693 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002605/0.1614, allocations: 2.43 MB / 0.6717 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.948e-05/0.1616, allocations: 0 / 0.6717 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.1618, allocations: 51.67 kB / 0.6717 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002692/0.1621, allocations: 91.41 kB / 0.6718 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.1634, allocations: 0.5208 MB / 0.6723 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003184/0.1637, allocations: 271.8 kB / 0.6726 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.397e-05/0.1637, allocations: 13.56 kB / 0.6726 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.164, allocations: 115.6 kB / 0.6727 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.1641, allocations: 91.66 kB / 0.6728 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.1641, allocations: 8 kB / 0.6728 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007352/0.1649, allocations: 459.2 kB / 0.6733 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.875e-05/0.165, allocations: 47.81 kB / 0.6733 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.076e-05/0.165, allocations: 79.66 kB / 0.6734 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005974/0.1657, allocations: 410.9 kB / 0.6738 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1657, allocations: 0 / 0.6738 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1657, allocations: 4 kB / 0.6738 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.1657, allocations: 0 / 0.6738 GB, free: 13.09 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007192/0.1664, allocations: 0.4993 MB / 0.6743 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1665, allocations: 13.11 kB / 0.6743 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/0.1685, allocations: 184.5 kB / 0.6744 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.1688, allocations: 212.1 kB / 0.6746 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.013e-05/0.1689, allocations: 8.703 kB / 0.6747 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.1689, allocations: 16.38 kB / 0.6747 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006939/0.1696, allocations: 300.4 kB / 0.675 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1697, allocations: 7.938 kB / 0.675 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/0.1697, allocations: 7.984 kB / 0.675 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/0.1697, allocations: 12 kB / 0.675 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007109/0.1704, allocations: 255.6 kB / 0.6752 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.1721, allocations: 1.385 MB / 0.6766 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006562/0.1727, allocations: 190.8 kB / 0.6768 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.173, allocations: 78.53 kB / 0.6768 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.173, allocations: 8 kB / 0.6768 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.1731, allocations: 30.56 kB / 0.6769 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 3.717e-06/0.1731, allocations: 0 / 0.6769 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0007977/0.1739, allocations: 257.2 kB / 0.6771 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.1739, allocations: 55.34 kB / 0.6772 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.1741, allocations: 162.2 kB / 0.6773 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.1741, allocations: 29.7 kB / 0.6774 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.437e-05/0.1742, allocations: 128 kB / 0.6775 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.148e-05/0.1743, allocations: 63.09 kB / 0.6775 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.723e-05/0.1744, allocations: 61.83 kB / 0.6776 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1745, allocations: 322.8 kB / 0.6779 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.1748, allocations: 64.42 kB / 0.678 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.175, allocations: 147.2 kB / 0.6781 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005007/0.1755, allocations: 218.9 kB / 0.6783 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1756, allocations: 0 / 0.6783 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006009/0.1762, allocations: 251 kB / 0.6786 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1762, allocations: 8 kB / 0.6786 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.1762, allocations: 320 / 0.6786 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1762, allocations: 11.94 kB / 0.6786 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/0.1766, allocations: 67.94 kB / 0.6786 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.1766, allocations: 7.938 kB / 0.6786 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.1768, allocations: 23.84 kB / 0.6787 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.1769, allocations: 11.98 kB / 0.6787 GB, free: 7.672 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 0.0001267/0.177, allocations: 133.7 kB / 0.6788 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.328e-05/0.1771, allocations: 15.81 kB / 0.6788 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006143/0.1777, allocations: 237.1 kB / 0.6791 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.1777, allocations: 0 / 0.6791 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1777, allocations: 0 / 0.6791 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1777, allocations: 0 / 0.6791 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.178, allocations: 245.4 kB / 0.6793 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.178, allocations: 3.938 kB / 0.6793 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003037/0.1783, allocations: 47.91 kB / 0.6793 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1783, allocations: 3.984 kB / 0.6793 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.1784, allocations: 12 kB / 0.6793 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1784, allocations: 0 / 0.6793 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.1784, allocations: 4 kB / 0.6794 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005617/0.1789, allocations: 295.2 kB / 0.6796 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.179, allocations: 100.9 kB / 0.6797 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.853e-05/0.1791, allocations: 15.92 kB / 0.6797 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.1794, allocations: 15.98 kB / 0.6798 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.1794, allocations: 11.98 kB / 0.6798 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.1795, allocations: 8 kB / 0.6798 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.402e-05/0.1796, allocations: 118.9 kB / 0.6799 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1796, allocations: 0 / 0.6799 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003678/0.1799, allocations: 68.06 kB / 0.68 GB, free: 6.266 MB / 0.5137 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 (20): * Single equations (assignments): 20 * 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.0002196/0.1802, allocations: 132.5 kB / 0.6801 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005438/0.1807, allocations: 188.1 kB / 0.6803 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.1807, allocations: 4 kB / 0.6803 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.181, allocations: 86.23 kB / 0.6804 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004792/0.1814, allocations: 64.06 kB / 0.6804 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009941/0.1824, allocations: 432.8 kB / 0.6808 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.1828, allocations: 0.7173 MB / 0.6815 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.1829, allocations: 27.42 kB / 0.6816 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1829, allocations: 0 / 0.6816 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of Templates: time 0.00531/0.1882, allocations: 2.93 MB / 0.6844 GB, free: 1.652 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)