Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001154/0.001154, allocations: 104.7 kB / 16.41 MB, free: 6.496 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.001029/0.001029, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8242/0.8242, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 62.19 kB / 0.5821 GB, free: 23.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1615, allocations: 80.22 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005881/0.1674, allocations: 4.044 MB / 0.6644 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002876/0.1703, allocations: 2.43 MB / 0.6667 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.1705, allocations: 3.938 kB / 0.6667 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003803/0.1709, allocations: 47.67 kB / 0.6668 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004239/0.1714, allocations: 99.34 kB / 0.6669 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.1732, allocations: 0.5209 MB / 0.6674 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004723/0.1737, allocations: 263.8 kB / 0.6676 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.403e-05/0.1737, allocations: 9.562 kB / 0.6676 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003108/0.174, allocations: 119.6 kB / 0.6678 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.1742, allocations: 95.59 kB / 0.6678 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.1743, allocations: 8 kB / 0.6679 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.1753, allocations: 463.2 kB / 0.6683 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.103e-05/0.1754, allocations: 35.84 kB / 0.6683 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.1755, allocations: 83.64 kB / 0.6684 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008892/0.1764, allocations: 415 kB / 0.6688 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1764, allocations: 0 / 0.6688 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.1764, allocations: 0 / 0.6688 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.1764, allocations: 0 / 0.6688 GB, free: 1.59 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009134/0.1774, allocations: 0.507 MB / 0.6693 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1774, allocations: 8.031 kB / 0.6693 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001965/0.1794, allocations: 176.5 kB / 0.6695 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.1797, allocations: 208.2 kB / 0.6697 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.1798, allocations: 20.62 kB / 0.6697 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.1798, allocations: 12.38 kB / 0.6697 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006435/0.1805, allocations: 308.3 kB / 0.67 GB, free: 248 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1805, allocations: 0 / 0.67 GB, free: 248 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.365e-05/0.1805, allocations: 8 kB / 0.67 GB, free: 240 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/0.1805, allocations: 4 kB / 0.67 GB, free: 236 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007438/0.1813, allocations: 264.2 kB / 0.6703 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.1829, allocations: 1.392 MB / 0.6716 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006945/0.1836, allocations: 190.7 kB / 0.6718 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/0.1838, allocations: 84.75 kB / 0.6719 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.1839, allocations: 7.984 kB / 0.6719 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.1839, allocations: 34.56 kB / 0.6719 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.413e-06/0.1839, allocations: 3.938 kB / 0.6719 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0007878/0.1847, allocations: 242.9 kB / 0.6722 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.1848, allocations: 55.41 kB / 0.6722 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.1849, allocations: 158.2 kB / 0.6724 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.185, allocations: 33.7 kB / 0.6724 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.826e-05/0.185, allocations: 128 kB / 0.6725 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.689e-05/0.1851, allocations: 59.11 kB / 0.6726 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.963e-05/0.1852, allocations: 57.92 kB / 0.6726 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.1853, allocations: 326.8 kB / 0.6729 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.1855, allocations: 68.36 kB / 0.673 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/0.1858, allocations: 138.3 kB / 0.6731 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004783/0.1863, allocations: 219.4 kB / 0.6733 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1863, allocations: 4 kB / 0.6734 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005997/0.1869, allocations: 257 kB / 0.6736 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1869, allocations: 4 kB / 0.6736 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.1869, allocations: 4 kB / 0.6736 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.187, allocations: 4 kB / 0.6736 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/0.1873, allocations: 68.2 kB / 0.6737 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.1873, allocations: 4 kB / 0.6737 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.1876, allocations: 31.73 kB / 0.6737 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.1876, allocations: 11.98 kB / 0.6737 GB, free: 12.17 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.0001248/0.1877, allocations: 133.7 kB / 0.6738 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.313e-05/0.1878, allocations: 11.91 kB / 0.6739 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000631/0.1884, allocations: 232.8 kB / 0.6741 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.1884, allocations: 8 kB / 0.6741 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1885, allocations: 0 / 0.6741 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.1885, allocations: 0 / 0.6741 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.1888, allocations: 253.3 kB / 0.6743 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1888, allocations: 0 / 0.6743 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/0.1891, allocations: 39.97 kB / 0.6744 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.1891, allocations: 4 kB / 0.6744 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.1891, allocations: 7.984 kB / 0.6744 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.1891, allocations: 7.922 kB / 0.6744 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1891, allocations: 8 kB / 0.6744 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005501/0.1897, allocations: 291.2 kB / 0.6747 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.863e-05/0.1898, allocations: 104.9 kB / 0.6748 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.1898, allocations: 8 kB / 0.6748 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.1901, allocations: 19.98 kB / 0.6748 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.672e-05/0.1901, allocations: 7.984 kB / 0.6748 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.1901, allocations: 19.98 kB / 0.6748 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.163e-05/0.1902, allocations: 114.5 kB / 0.6749 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1902, allocations: 0 / 0.6749 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003653/0.1906, allocations: 68.06 kB / 0.675 GB, free: 10.76 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.0002158/0.1908, allocations: 131.2 kB / 0.6751 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005355/0.1914, allocations: 182.1 kB / 0.6753 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.1914, allocations: 4 kB / 0.6753 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.1916, allocations: 89.42 kB / 0.6754 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004693/0.1921, allocations: 59.83 kB / 0.6754 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009607/0.1931, allocations: 428.9 kB / 0.6759 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.1934, allocations: 0.7173 MB / 0.6766 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.1935, allocations: 31.36 kB / 0.6766 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.1935, allocations: 4 kB / 0.6766 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of Templates: time 0.005222/0.1987, allocations: 2.958 MB / 0.6795 GB, free: 6.148 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)