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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.00184/0.001841, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7485/0.7485, allocations: 132.2 MB / 148.9 MB, free: 12.12 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.467/1.467, allocations: 222.9 MB / 403.4 MB, free: 7.066 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.001227/0.001227, allocations: 107.7 kB / 484.4 MB, free: 8.707 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 59.91 kB / 0.5619 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1761, allocations: 80.2 MB / 0.6402 GB, free: 6.785 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006646/0.1827, allocations: 4.106 MB / 0.6442 GB, free: 2.648 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003009/0.1858, allocations: 2.465 MB / 0.6466 GB, free: 180 kB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.186, allocations: 3.938 kB / 0.6466 GB, free: 176 kB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.1863, allocations: 39.8 kB / 0.6466 GB, free: 136 kB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003432/0.1867, allocations: 83.48 kB / 0.6467 GB, free: 52 kB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.1884, allocations: 480.6 kB / 0.6472 GB, free: 15.58 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.000437/0.1888, allocations: 335.8 kB / 0.6475 GB, free: 15.25 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.068e-05/0.1889, allocations: 9.562 kB / 0.6475 GB, free: 15.25 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.1891, allocations: 119.5 kB / 0.6476 GB, free: 15.13 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.1893, allocations: 99.59 kB / 0.6477 GB, free: 15.03 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.1893, allocations: 8 kB / 0.6477 GB, free: 15.02 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009603/0.1903, allocations: 459.1 kB / 0.6482 GB, free: 14.57 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.954e-05/0.1904, allocations: 39.89 kB / 0.6482 GB, free: 14.53 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 9.522e-05/0.1905, allocations: 83.58 kB / 0.6483 GB, free: 14.45 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006373/0.1911, allocations: 411.3 kB / 0.6487 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1911, allocations: 0 / 0.6487 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.1911, allocations: 0 / 0.6487 GB, free: 14.05 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1911, allocations: 4 kB / 0.6487 GB, free: 14.04 MB / 458.7 MB 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.0007773/0.1919, allocations: 0.507 MB / 0.6492 GB, free: 13.49 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.192, allocations: 8.031 kB / 0.6492 GB, free: 13.48 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00183/0.1938, allocations: 184.5 kB / 0.6493 GB, free: 13.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.1941, allocations: 208.1 kB / 0.6495 GB, free: 13.06 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.1941, allocations: 8.703 kB / 0.6496 GB, free: 13.05 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.1942, allocations: 24.31 kB / 0.6496 GB, free: 13.03 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006834/0.1949, allocations: 309.7 kB / 0.6499 GB, free: 12.69 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.1949, allocations: 3.938 kB / 0.6499 GB, free: 12.69 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.609e-05/0.1949, allocations: 11.98 kB / 0.6499 GB, free: 12.68 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.753e-05/0.195, allocations: 7.984 kB / 0.6499 GB, free: 12.67 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007198/0.1957, allocations: 263.6 kB / 0.6501 GB, free: 12.41 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.1974, allocations: 1.396 MB / 0.6515 GB, free: 10.9 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006706/0.1981, allocations: 188.6 kB / 0.6517 GB, free: 10.71 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.1983, allocations: 81.91 kB / 0.6518 GB, free: 10.62 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.1984, allocations: 8 kB / 0.6518 GB, free: 10.62 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.1984, allocations: 34.56 kB / 0.6518 GB, free: 10.57 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 1.734e-06/0.1984, allocations: 0 / 0.6518 GB, free: 10.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007908/0.1992, allocations: 246.3 kB / 0.652 GB, free: 10.33 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.1993, allocations: 55.41 kB / 0.6521 GB, free: 10.26 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.1994, allocations: 161.5 kB / 0.6522 GB, free: 10.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.1995, allocations: 25.7 kB / 0.6523 GB, free: 10.07 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/0.1995, allocations: 139.9 kB / 0.6524 GB, free: 9.922 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.799e-05/0.1996, allocations: 59.11 kB / 0.6525 GB, free: 9.863 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.564e-05/0.1997, allocations: 49.83 kB / 0.6525 GB, free: 9.805 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1998, allocations: 326.8 kB / 0.6528 GB, free: 9.477 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.2001, allocations: 68.42 kB / 0.6529 GB, free: 9.41 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.2003, allocations: 138.3 kB / 0.653 GB, free: 9.242 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000486/0.2008, allocations: 223 kB / 0.6532 GB, free: 8.992 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2008, allocations: 0 / 0.6532 GB, free: 8.992 MB / 458.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006177/0.2014, allocations: 253.1 kB / 0.6535 GB, free: 8.738 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.2015, allocations: 8.938 kB / 0.6535 GB, free: 8.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2015, allocations: 3.938 kB / 0.6535 GB, free: 8.727 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.2015, allocations: 4 kB / 0.6535 GB, free: 8.723 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.2019, allocations: 63.89 kB / 0.6536 GB, free: 8.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.2019, allocations: 8.297 kB / 0.6536 GB, free: 8.652 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.2021, allocations: 31.75 kB / 0.6536 GB, free: 8.621 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.2022, allocations: 15.98 kB / 0.6536 GB, free: 8.605 MB / 458.7 MB 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.000126/0.2023, allocations: 133.7 kB / 0.6537 GB, free: 8.465 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/0.2023, allocations: 15.81 kB / 0.6537 GB, free: 8.449 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006679/0.203, allocations: 222.7 kB / 0.654 GB, free: 8.223 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.203, allocations: 8 kB / 0.654 GB, free: 8.215 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.203, allocations: 0 / 0.654 GB, free: 8.215 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.2031, allocations: 0 / 0.654 GB, free: 8.215 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.2033, allocations: 249.3 kB / 0.6542 GB, free: 7.922 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2034, allocations: 0 / 0.6542 GB, free: 7.922 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/0.2036, allocations: 43.91 kB / 0.6542 GB, free: 7.879 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.2037, allocations: 7.922 kB / 0.6543 GB, free: 7.871 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.2037, allocations: 8 kB / 0.6543 GB, free: 7.863 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2037, allocations: 0 / 0.6543 GB, free: 7.863 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2037, allocations: 0 / 0.6543 GB, free: 7.863 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.2049, allocations: 0.9287 MB / 0.6552 GB, free: 6.879 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.205, allocations: 96.98 kB / 0.6553 GB, free: 6.766 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.432e-05/0.2051, allocations: 12 kB / 0.6553 GB, free: 6.754 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/0.2053, allocations: 19.97 kB / 0.6553 GB, free: 6.734 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.2054, allocations: 15.92 kB / 0.6553 GB, free: 6.719 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.2054, allocations: 8 kB / 0.6553 GB, free: 6.711 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001021/0.2055, allocations: 119.1 kB / 0.6554 GB, free: 6.594 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2055, allocations: 0 / 0.6554 GB, free: 6.594 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004623/0.206, allocations: 63.97 kB / 0.6555 GB, free: 6.531 MB / 458.7 MB 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.0002831/0.2063, allocations: 151.1 kB / 0.6556 GB, free: 6.375 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005495/0.2068, allocations: 183.8 kB / 0.6558 GB, free: 6.195 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2069, allocations: 0 / 0.6558 GB, free: 6.195 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002443/0.2071, allocations: 85.44 kB / 0.6559 GB, free: 6.113 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005567/0.2077, allocations: 60.58 kB / 0.6559 GB, free: 6.055 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.2089, allocations: 0.6053 MB / 0.6565 GB, free: 5.406 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.2092, allocations: 0.7254 MB / 0.6572 GB, free: 4.652 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000357/0.2096, allocations: 49.94 kB / 0.6573 GB, free: 4.605 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.01e-05/0.2097, allocations: 23.42 kB / 0.6573 GB, free: 4.586 MB / 458.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2097, allocations: 0 / 0.6573 GB, free: 4.586 MB / 458.7 MB Notification: Performance of Templates: time 0.007537/0.2172, allocations: 3.327 MB / 0.6606 GB, free: 1.297 MB / 458.7 MB 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)