Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001582/0.001581, allocations: 182 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7302/0.7302, allocations: 132.2 MB / 148.9 MB, free: 12.17 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 222.9 MB / 403.4 MB, free: 7.059 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 117.3 kB / 484.4 MB, free: 8.699 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001065, allocations: 59.91 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.173, allocations: 80.21 MB / 0.6402 GB, free: 6.781 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002497/0.1755, allocations: 1.315 MB / 0.6415 GB, free: 5.453 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003016/0.1786, allocations: 2.504 MB / 0.6439 GB, free: 2.934 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.221e-05/0.1786, allocations: 4 kB / 0.6439 GB, free: 2.93 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.915e-05/0.1786, allocations: 0 / 0.6439 GB, free: 2.93 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.393e-05/0.1787, allocations: 3.938 kB / 0.6439 GB, free: 2.926 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005204/0.1792, allocations: 127.4 kB / 0.644 GB, free: 2.801 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.122e-05/0.1793, allocations: 35.89 kB / 0.6441 GB, free: 2.766 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.553e-05/0.1794, allocations: 4 kB / 0.6441 GB, free: 2.762 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.636e-05/0.1794, allocations: 23.86 kB / 0.6441 GB, free: 2.738 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.15e-05/0.1795, allocations: 19.98 kB / 0.6441 GB, free: 2.719 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.1795, allocations: 0 / 0.6441 GB, free: 2.719 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003072/0.1798, allocations: 107.8 kB / 0.6442 GB, free: 2.613 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.057e-05/0.1798, allocations: 11.92 kB / 0.6442 GB, free: 2.602 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.221e-05/0.1799, allocations: 19.92 kB / 0.6442 GB, free: 2.582 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.1801, allocations: 80.06 kB / 0.6443 GB, free: 2.504 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1801, allocations: 0 / 0.6443 GB, free: 2.504 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1801, allocations: 0 / 0.6443 GB, free: 2.504 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1801, allocations: 3.938 kB / 0.6443 GB, free: 2.5 MB / 442.7 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.0004272/0.1806, allocations: 355.5 kB / 0.6447 GB, free: 2.105 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1806, allocations: 8.031 kB / 0.6447 GB, free: 2.098 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000242/0.1809, allocations: 12.94 kB / 0.6447 GB, free: 2.086 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.181, allocations: 172.3 kB / 0.6448 GB, free: 1.879 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.181, allocations: 384 / 0.6448 GB, free: 1.879 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.181, allocations: 8.281 kB / 0.6449 GB, free: 1.871 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.1812, allocations: 72.38 kB / 0.6449 GB, free: 1.785 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.1812, allocations: 7.938 kB / 0.6449 GB, free: 1.777 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.1812, allocations: 8 kB / 0.6449 GB, free: 1.77 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1812, allocations: 0 / 0.6449 GB, free: 1.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.017e-05/0.1813, allocations: 4 kB / 0.6449 GB, free: 1.766 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005769/0.1819, allocations: 470.9 kB / 0.6454 GB, free: 1.242 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.182, allocations: 75.66 kB / 0.6455 GB, free: 1.141 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.418e-05/0.182, allocations: 18.7 kB / 0.6455 GB, free: 1.113 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.1821, allocations: 4.094 kB / 0.6455 GB, free: 1.109 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.1821, allocations: 42.55 kB / 0.6455 GB, free: 1.059 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.1821, allocations: 0 / 0.6455 GB, free: 1.059 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005991/0.1827, allocations: 302.1 kB / 0.6458 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.1828, allocations: 110.7 kB / 0.6459 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.517e-05/0.1828, allocations: 97.8 kB / 0.646 GB, free: 484 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.1829, allocations: 33.95 kB / 0.646 GB, free: 444 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.392e-05/0.1829, allocations: 88.05 kB / 0.6461 GB, free: 352 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.1829, allocations: 27.64 kB / 0.6462 GB, free: 324 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.183, allocations: 25.72 kB / 0.6462 GB, free: 292 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1831, allocations: 322.7 kB / 0.6465 GB, free: 15.96 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.444e-05/0.1832, allocations: 12 kB / 0.6465 GB, free: 15.95 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.284e-05/0.1832, allocations: 61.08 kB / 0.6466 GB, free: 15.87 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.839e-05/0.1833, allocations: 73.59 kB / 0.6466 GB, free: 15.78 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.1833, allocations: 0 / 0.6466 GB, free: 15.78 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001385/0.1835, allocations: 101.5 kB / 0.6467 GB, free: 15.68 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1835, allocations: 4.625 kB / 0.6467 GB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1835, allocations: 4 kB / 0.6467 GB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1835, allocations: 0 / 0.6467 GB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.314e-05/0.1836, allocations: 19.94 kB / 0.6468 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.1836, allocations: 11.97 kB / 0.6468 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.566e-05/0.1836, allocations: 4 kB / 0.6468 GB, free: 15.63 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1837, allocations: 4 kB / 0.6468 GB, free: 15.63 MB / 458.7 MB 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.691e-05/0.1838, allocations: 123 kB / 0.6469 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.67e-05/0.1838, allocations: 8.062 kB / 0.6469 GB, free: 15.49 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.234e-05/0.1839, allocations: 7.562 kB / 0.6469 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1839, allocations: 4 kB / 0.6469 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1839, allocations: 0 / 0.6469 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1839, allocations: 0 / 0.6469 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/0.1842, allocations: 181.6 kB / 0.6471 GB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1842, allocations: 4 kB / 0.6471 GB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.163e-05/0.1843, allocations: 15.98 kB / 0.6471 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1843, allocations: 0 / 0.6471 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.1843, allocations: 4 kB / 0.6471 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1843, allocations: 0 / 0.6471 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1843, allocations: 4 kB / 0.6471 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009523/0.1853, allocations: 1.229 MB / 0.6483 GB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.1853, allocations: 85.14 kB / 0.6484 GB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.406e-06/0.1854, allocations: 0 / 0.6484 GB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.1855, allocations: 8.172 kB / 0.6484 GB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.1856, allocations: 11.92 kB / 0.6484 GB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.1856, allocations: 4 kB / 0.6484 GB, free: 13.73 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.424e-05/0.1856, allocations: 83.27 kB / 0.6485 GB, free: 13.65 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.162e-06/0.1856, allocations: 0 / 0.6485 GB, free: 13.65 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003656/0.186, allocations: 23.94 kB / 0.6485 GB, free: 13.63 MB / 458.7 MB 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.0001366/0.1861, allocations: 99.25 kB / 0.6486 GB, free: 13.52 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.1862, allocations: 47.91 kB / 0.6487 GB, free: 13.47 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1863, allocations: 0 / 0.6487 GB, free: 13.47 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.774e-05/0.1863, allocations: 19.94 kB / 0.6487 GB, free: 13.45 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.1867, allocations: 16.31 kB / 0.6487 GB, free: 13.44 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006797/0.1874, allocations: 462.3 kB / 0.6491 GB, free: 12.94 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.1877, allocations: 0.6926 MB / 0.6498 GB, free: 12.22 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.772e-05/0.1877, allocations: 8 kB / 0.6498 GB, free: 12.21 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/0.1878, allocations: 11.44 kB / 0.6498 GB, free: 12.2 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1878, allocations: 3.938 kB / 0.6498 GB, free: 12.2 MB / 458.7 MB Notification: Performance of Templates: time 0.002697/0.1905, allocations: 0.6632 MB / 0.6505 GB, free: 11.54 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)