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.00124/0.00124, allocations: 106.6 kB / 16.41 MB, free: 6.508 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.001256/0.001256, allocations: 187 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.345/1.345, 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.8819/0.8819, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 61.56 kB / 0.5821 GB, free: 23.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1621, allocations: 80.21 MB / 0.6604 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006113/0.1683, allocations: 4.052 MB / 0.6644 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002916/0.1712, allocations: 2.434 MB / 0.6667 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.1714, allocations: 0 / 0.6667 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003238/0.1717, allocations: 47.67 kB / 0.6668 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003535/0.1721, allocations: 91.41 kB / 0.6669 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.1736, allocations: 0.5236 MB / 0.6674 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000414/0.174, allocations: 267.8 kB / 0.6676 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.025e-05/0.1741, allocations: 9.562 kB / 0.6676 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002859/0.1744, allocations: 115.6 kB / 0.6678 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.1746, allocations: 91.66 kB / 0.6678 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.1746, allocations: 12 kB / 0.6679 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009233/0.1755, allocations: 463.2 kB / 0.6683 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.97e-05/0.1756, allocations: 39.84 kB / 0.6683 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.1758, allocations: 83.64 kB / 0.6684 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008326/0.1766, allocations: 414.9 kB / 0.6688 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1766, allocations: 0 / 0.6688 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1766, allocations: 0 / 0.6688 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.1766, allocations: 0 / 0.6688 GB, free: 1.555 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.0008665/0.1775, allocations: 0.507 MB / 0.6693 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.1776, allocations: 12.03 kB / 0.6693 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002018/0.1796, allocations: 176.5 kB / 0.6695 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.18, allocations: 208.2 kB / 0.6697 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/0.1801, allocations: 12.7 kB / 0.6697 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.161e-05/0.1801, allocations: 16.38 kB / 0.6697 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007208/0.1808, allocations: 308.3 kB / 0.67 GB, free: 212 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.1809, allocations: 3.938 kB / 0.67 GB, free: 208 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.639e-05/0.1809, allocations: 12 kB / 0.67 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.181, allocations: 11.92 kB / 0.67 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000742/0.1817, allocations: 256.2 kB / 0.6703 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.1835, allocations: 1.381 MB / 0.6716 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006726/0.1842, allocations: 198.7 kB / 0.6718 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.1844, allocations: 76.81 kB / 0.6719 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.151e-05/0.1845, allocations: 7.984 kB / 0.6719 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.1845, allocations: 34.56 kB / 0.6719 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 2.094e-06/0.1845, allocations: 0 / 0.6719 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0008154/0.1853, allocations: 247 kB / 0.6722 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.1854, allocations: 59.34 kB / 0.6722 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.1856, allocations: 162.2 kB / 0.6724 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.1856, allocations: 29.7 kB / 0.6724 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.662e-05/0.1857, allocations: 132 kB / 0.6725 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.435e-05/0.1858, allocations: 59.11 kB / 0.6726 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.1859, allocations: 53.92 kB / 0.6726 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.186, allocations: 326.8 kB / 0.6729 GB, free: 13 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.1863, allocations: 60.42 kB / 0.673 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.1865, allocations: 146.3 kB / 0.6731 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004916/0.187, allocations: 227.3 kB / 0.6734 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.187, allocations: 4 kB / 0.6734 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006119/0.1877, allocations: 245.1 kB / 0.6736 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.1877, allocations: 13.81 kB / 0.6736 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.1877, allocations: 0 / 0.6736 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.1877, allocations: 4 kB / 0.6736 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.1881, allocations: 67.89 kB / 0.6737 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.1881, allocations: 7.984 kB / 0.6737 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/0.1884, allocations: 32.06 kB / 0.6737 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/0.1884, allocations: 11.98 kB / 0.6737 GB, free: 12.13 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.0001615/0.1886, allocations: 133.7 kB / 0.6739 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.453e-05/0.1887, allocations: 11.91 kB / 0.6739 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006816/0.1894, allocations: 228.7 kB / 0.6741 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1894, allocations: 0 / 0.6741 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.1894, allocations: 4 kB / 0.6741 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.1894, allocations: 0 / 0.6741 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003675/0.1898, allocations: 249.3 kB / 0.6743 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.48e-05/0.1898, allocations: 4 kB / 0.6743 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003028/0.1901, allocations: 51.84 kB / 0.6744 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.1901, allocations: 0 / 0.6744 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.1902, allocations: 7.984 kB / 0.6744 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.1902, allocations: 0 / 0.6744 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.1902, allocations: 0 / 0.6744 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000598/0.1908, allocations: 307.1 kB / 0.6747 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.1909, allocations: 104.8 kB / 0.6748 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.191, allocations: 4 kB / 0.6748 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002764/0.1913, allocations: 23.97 kB / 0.6748 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.1913, allocations: 7.984 kB / 0.6748 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/0.1913, allocations: 8 kB / 0.6748 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.415e-05/0.1914, allocations: 122.7 kB / 0.6749 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1914, allocations: 0 / 0.6749 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004591/0.1919, allocations: 68.06 kB / 0.675 GB, free: 10.73 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.0002842/0.1922, allocations: 123.2 kB / 0.6751 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005886/0.1928, allocations: 183.7 kB / 0.6753 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.1928, allocations: 4 kB / 0.6753 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.1931, allocations: 90.17 kB / 0.6754 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005432/0.1936, allocations: 63.88 kB / 0.6754 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.1946, allocations: 432.9 kB / 0.6759 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.1949, allocations: 0.7134 MB / 0.6766 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.1951, allocations: 27.42 kB / 0.6766 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of SimCode: time 6.72e-07/0.1951, allocations: 0 / 0.6766 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of Templates: time 0.005383/0.2005, allocations: 2.948 MB / 0.6795 GB, free: 6.133 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)