Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 104 kB / 16.41 MB, free: 6.449 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.001096/0.001096, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7939/0.7939, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.001271, allocations: 61.56 kB / 0.5863 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1743, allocations: 80.92 MB / 0.6653 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002551/0.1769, allocations: 1.271 MB / 0.6665 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003133/0.1801, allocations: 2.503 MB / 0.669 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.1801, allocations: 0 / 0.669 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.632e-05/0.1802, allocations: 0 / 0.669 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.257e-05/0.1803, allocations: 3.938 kB / 0.669 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006509/0.1809, allocations: 127.4 kB / 0.6691 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.945e-05/0.181, allocations: 35.86 kB / 0.6691 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.156e-05/0.1811, allocations: 11.97 kB / 0.6691 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.215e-05/0.1811, allocations: 19.94 kB / 0.6691 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.942e-05/0.1812, allocations: 15.92 kB / 0.6692 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.1812, allocations: 4 kB / 0.6692 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003184/0.1815, allocations: 119.7 kB / 0.6693 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.1816, allocations: 4 kB / 0.6693 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.1816, allocations: 23.91 kB / 0.6693 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.1818, allocations: 79.78 kB / 0.6694 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1818, allocations: 0 / 0.6694 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.844e-06/0.1818, allocations: 0 / 0.6694 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.1819, allocations: 4 kB / 0.6694 GB, free: 1.582 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004298/0.1823, allocations: 351.5 kB / 0.6697 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1823, allocations: 9.109 kB / 0.6697 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002539/0.1826, allocations: 16.92 kB / 0.6697 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.1827, allocations: 164.4 kB / 0.6699 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.1827, allocations: 384 / 0.6699 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.1828, allocations: 8.281 kB / 0.6699 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.1829, allocations: 80.31 kB / 0.67 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.1829, allocations: 0 / 0.67 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.183, allocations: 4 kB / 0.67 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.183, allocations: 0 / 0.67 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.204e-05/0.183, allocations: 15.92 kB / 0.67 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006121/0.1836, allocations: 474.9 kB / 0.6705 GB, free: 328 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.1838, allocations: 71.75 kB / 0.6705 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.023e-05/0.1838, allocations: 22.69 kB / 0.6706 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.1838, allocations: 4 kB / 0.6706 GB, free: 192 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.1839, allocations: 42.5 kB / 0.6706 GB, free: 140 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.1839, allocations: 0 / 0.6706 GB, free: 140 kB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006761/0.1846, allocations: 306.1 kB / 0.6709 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.1846, allocations: 103.1 kB / 0.671 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.67e-05/0.1847, allocations: 105.8 kB / 0.6711 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.1848, allocations: 33.7 kB / 0.6711 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/0.1848, allocations: 84.05 kB / 0.6712 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.1848, allocations: 23.66 kB / 0.6712 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.1849, allocations: 33.61 kB / 0.6713 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.217e-05/0.185, allocations: 314.8 kB / 0.6716 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.998e-05/0.185, allocations: 15.98 kB / 0.6716 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.978e-05/0.1851, allocations: 57.14 kB / 0.6716 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.052e-05/0.1852, allocations: 73.03 kB / 0.6717 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1852, allocations: 4 kB / 0.6717 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001336/0.1853, allocations: 89.55 kB / 0.6718 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1853, allocations: 4 kB / 0.6718 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.1853, allocations: 4 kB / 0.6718 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1854, allocations: 64 / 0.6718 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.621e-05/0.1854, allocations: 23.98 kB / 0.6718 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.1855, allocations: 4 kB / 0.6718 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.869e-05/0.1855, allocations: 4 kB / 0.6718 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.1855, allocations: 4 kB / 0.6718 GB, free: 14.72 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.82e-05/0.1856, allocations: 127.2 kB / 0.6719 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.286e-05/0.1857, allocations: 7.906 kB / 0.672 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.1857, allocations: 11.55 kB / 0.672 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.1857, allocations: 4.609 kB / 0.672 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1857, allocations: 0 / 0.672 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1857, allocations: 0 / 0.672 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.1861, allocations: 177.6 kB / 0.6721 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1861, allocations: 4 kB / 0.6721 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.148e-05/0.1862, allocations: 12 kB / 0.6722 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.1862, allocations: 7.984 kB / 0.6722 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.1862, allocations: 4 kB / 0.6722 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1862, allocations: 3.938 kB / 0.6722 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1862, allocations: 0 / 0.6722 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.1864, allocations: 330 kB / 0.6725 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.24e-05/0.1865, allocations: 96.98 kB / 0.6726 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.1866, allocations: 4 kB / 0.6726 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.1867, allocations: 4 kB / 0.6726 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.182e-05/0.1868, allocations: 7.984 kB / 0.6726 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.1868, allocations: 7.938 kB / 0.6726 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.1868, allocations: 79.28 kB / 0.6727 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1868, allocations: 0 / 0.6727 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003142/0.1871, allocations: 16 kB / 0.6727 GB, free: 13.74 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001342/0.1873, allocations: 114.2 kB / 0.6728 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001726/0.1875, allocations: 43.92 kB / 0.6728 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1875, allocations: 0 / 0.6728 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.748e-05/0.1875, allocations: 19.94 kB / 0.6729 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.188, allocations: 10.05 kB / 0.6729 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007672/0.1887, allocations: 362.4 kB / 0.6732 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.1891, allocations: 0.6807 MB / 0.6739 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.1891, allocations: 11.44 kB / 0.6739 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.1891, allocations: 0 / 0.6739 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of Templates: time 0.002448/0.1916, allocations: 0.7924 MB / 0.6747 GB, free: 11.65 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)