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.001544/0.001544, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0016/0.0016, allocations: 197 kB / 16.25 MB, free: 6.629 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.398/1.398, allocations: 222.9 MB / 239.9 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9635/0.9635, allocations: 135.6 MB / 425.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 68.33 kB / 0.5054 GB, free: 5.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1714, allocations: 81.03 MB / 0.5845 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002422/0.1739, allocations: 1.317 MB / 0.5858 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003016/0.1769, allocations: 2.481 MB / 0.5882 GB, free: 488 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.047e-05/0.1769, allocations: 0 / 0.5882 GB, free: 488 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.386e-05/0.177, allocations: 4 kB / 0.5882 GB, free: 484 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.412e-05/0.177, allocations: 7.922 kB / 0.5882 GB, free: 476 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004635/0.1775, allocations: 115.5 kB / 0.5883 GB, free: 360 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.198e-05/0.1776, allocations: 35.92 kB / 0.5884 GB, free: 324 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.186e-05/0.1776, allocations: 7.984 kB / 0.5884 GB, free: 316 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.863e-05/0.1777, allocations: 19.88 kB / 0.5884 GB, free: 296 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.154e-05/0.1777, allocations: 15.97 kB / 0.5884 GB, free: 280 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.1777, allocations: 8 kB / 0.5884 GB, free: 272 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002603/0.178, allocations: 115.8 kB / 0.5885 GB, free: 156 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.178, allocations: 11.94 kB / 0.5885 GB, free: 144 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.717e-05/0.1781, allocations: 15.92 kB / 0.5886 GB, free: 128 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.1782, allocations: 80.12 kB / 0.5886 GB, free: 48 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1782, allocations: 0 / 0.5886 GB, free: 48 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1783, allocations: 0 / 0.5886 GB, free: 48 kB / 494.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.1783, allocations: 4 kB / 0.5886 GB, free: 44 kB / 494.1 MB 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.0004033/0.1787, allocations: 355.3 kB / 0.589 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1787, allocations: 16.02 kB / 0.589 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.1789, allocations: 16.88 kB / 0.589 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.179, allocations: 164.3 kB / 0.5892 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.179, allocations: 384 / 0.5892 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.1791, allocations: 12.36 kB / 0.5892 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.1792, allocations: 72.38 kB / 0.5892 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1792, allocations: 4 kB / 0.5892 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.1792, allocations: 7.938 kB / 0.5893 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1793, allocations: 0 / 0.5893 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.809e-05/0.1793, allocations: 11.98 kB / 0.5893 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005716/0.1799, allocations: 470.8 kB / 0.5897 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.18, allocations: 75.66 kB / 0.5898 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.356e-05/0.1801, allocations: 22.7 kB / 0.5898 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.1801, allocations: 7.984 kB / 0.5898 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.1801, allocations: 30.56 kB / 0.5898 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.1801, allocations: 4 kB / 0.5898 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005996/0.1807, allocations: 306.2 kB / 0.5901 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/0.1808, allocations: 106.8 kB / 0.5902 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.7e-05/0.1809, allocations: 109.7 kB / 0.5903 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.1809, allocations: 25.7 kB / 0.5904 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/0.181, allocations: 84.39 kB / 0.5905 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.181, allocations: 31.55 kB / 0.5905 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/0.181, allocations: 25.72 kB / 0.5905 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1812, allocations: 318.8 kB / 0.5908 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.622e-05/0.1812, allocations: 11.98 kB / 0.5908 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.827e-05/0.1813, allocations: 57.08 kB / 0.5909 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.264e-05/0.1814, allocations: 73.09 kB / 0.5909 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1814, allocations: 0 / 0.5909 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001313/0.1815, allocations: 93.45 kB / 0.591 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1815, allocations: 12.12 kB / 0.591 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1815, allocations: 3.984 kB / 0.591 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.1816, allocations: 0 / 0.591 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.479e-05/0.1816, allocations: 27.94 kB / 0.5911 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1816, allocations: 0 / 0.5911 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.54e-05/0.1817, allocations: 4 kB / 0.5911 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.1817, allocations: 4 kB / 0.5911 GB, free: 13.17 MB / 0.4981 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 8.913e-05/0.1818, allocations: 125.7 kB / 0.5912 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.231e-05/0.1818, allocations: 0 / 0.5912 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.1819, allocations: 15.56 kB / 0.5912 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1819, allocations: 0 / 0.5912 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1819, allocations: 0 / 0.5912 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1819, allocations: 4.609 kB / 0.5912 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/0.1822, allocations: 181.6 kB / 0.5914 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1823, allocations: 3.938 kB / 0.5914 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.206e-05/0.1823, allocations: 15.98 kB / 0.5914 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1824, allocations: 4 kB / 0.5914 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.1824, allocations: 0 / 0.5914 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.1824, allocations: 0 / 0.5914 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.1824, allocations: 4 kB / 0.5914 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.1826, allocations: 337.9 kB / 0.5917 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/0.1827, allocations: 81.11 kB / 0.5918 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.1827, allocations: 0 / 0.5918 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.1829, allocations: 8.031 kB / 0.5918 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.904e-05/0.1829, allocations: 8.062 kB / 0.5918 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.1829, allocations: 15.94 kB / 0.5919 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.581e-05/0.183, allocations: 75.28 kB / 0.5919 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.183, allocations: 0 / 0.5919 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002944/0.1833, allocations: 16 kB / 0.5919 GB, free: 12.2 MB / 0.4981 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.0001362/0.1834, allocations: 107.2 kB / 0.592 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.1835, allocations: 56.03 kB / 0.5921 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1836, allocations: 0 / 0.5921 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.935e-05/0.1836, allocations: 19.94 kB / 0.5921 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.184, allocations: 11.98 kB / 0.5921 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005992/0.1846, allocations: 348.4 kB / 0.5925 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.1849, allocations: 0.6846 MB / 0.5931 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.009e-05/0.185, allocations: 4 kB / 0.5931 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.185, allocations: 11.44 kB / 0.5931 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.185, allocations: 4 kB / 0.5931 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of Templates: time 0.002888/0.1879, allocations: 0.6371 MB / 0.5938 GB, free: 10.29 MB / 0.4981 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)