Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterProperties.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.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007504/0.007504, allocations: 102 kB / 15.73 MB, free: 6.051 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.001988/0.001988, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.447/1.447, allocations: 222.9 MB / 240.4 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.8037/0.8037, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 65.75 kB / 0.5814 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1671, allocations: 80.2 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.008204/0.1754, allocations: 4.727 MB / 0.6643 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002975/0.1784, allocations: 2.698 MB / 0.667 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.1785, allocations: 0 / 0.667 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002875/0.1788, allocations: 51.69 kB / 0.667 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.1792, allocations: 95.34 kB / 0.6671 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.1807, allocations: 0.5151 MB / 0.6676 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003311/0.181, allocations: 231.9 kB / 0.6678 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.808e-05/0.1811, allocations: 9.562 kB / 0.6678 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002488/0.1813, allocations: 123.6 kB / 0.6679 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.1815, allocations: 87.61 kB / 0.668 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.1815, allocations: 8 kB / 0.668 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008012/0.1824, allocations: 371.3 kB / 0.6684 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.892e-05/0.1825, allocations: 39.89 kB / 0.6684 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.1826, allocations: 79.59 kB / 0.6685 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006787/0.1832, allocations: 359.1 kB / 0.6688 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1833, allocations: 4 kB / 0.6689 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.164e-06/0.1833, allocations: 0 / 0.6689 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.1833, allocations: 0 / 0.6689 GB, free: 0.8125 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.0007771/0.1841, allocations: 0.4953 MB / 0.6693 GB, free: 272 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1841, allocations: 12.03 kB / 0.6693 GB, free: 260 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.1843, allocations: 28.73 kB / 0.6694 GB, free: 232 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.1846, allocations: 216.2 kB / 0.6696 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.1846, allocations: 12.7 kB / 0.6696 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.1847, allocations: 16.38 kB / 0.6696 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003653/0.185, allocations: 248.2 kB / 0.6698 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1851, allocations: 4 kB / 0.6698 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.1851, allocations: 11.91 kB / 0.6699 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.367e-05/0.1851, allocations: 4 kB / 0.6699 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004858/0.1856, allocations: 427.5 kB / 0.6703 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.1868, allocations: 0.9564 MB / 0.6712 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002776/0.1871, allocations: 156 kB / 0.6714 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.95e-05/0.1872, allocations: 68.75 kB / 0.6714 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001393/0.1886, allocations: 1.825 MB / 0.6732 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1887, allocations: 34.56 kB / 0.6732 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.1887, allocations: 0 / 0.6732 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003443/0.189, allocations: 147.5 kB / 0.6734 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.1891, allocations: 63.28 kB / 0.6734 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.1892, allocations: 167.2 kB / 0.6736 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.1893, allocations: 37.62 kB / 0.6736 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.382e-05/0.1894, allocations: 143.8 kB / 0.6738 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.1894, allocations: 51.2 kB / 0.6738 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.75e-05/0.1895, allocations: 49.7 kB / 0.6739 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.1896, allocations: 326.8 kB / 0.6742 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.048e-05/0.1897, allocations: 35.97 kB / 0.6742 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.1899, allocations: 142.2 kB / 0.6743 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.1901, allocations: 205.4 kB / 0.6745 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1901, allocations: 4 kB / 0.6745 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003195/0.1905, allocations: 212.3 kB / 0.6747 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.1905, allocations: 8 kB / 0.6748 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1905, allocations: 4 kB / 0.6748 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.1905, allocations: 4 kB / 0.6748 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.1907, allocations: 55.84 kB / 0.6748 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.1907, allocations: 11.94 kB / 0.6748 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.1908, allocations: 27.69 kB / 0.6749 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.1909, allocations: 16 kB / 0.6749 GB, free: 9.914 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001233/0.191, allocations: 141.9 kB / 0.675 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/0.191, allocations: 15.81 kB / 0.675 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002907/0.1913, allocations: 147.1 kB / 0.6752 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.1914, allocations: 7.938 kB / 0.6752 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1914, allocations: 0 / 0.6752 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1914, allocations: 0 / 0.6752 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.1916, allocations: 221.4 kB / 0.6754 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1916, allocations: 0 / 0.6754 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.371e-05/0.1917, allocations: 35.86 kB / 0.6754 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1917, allocations: 4 kB / 0.6754 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.1918, allocations: 4 kB / 0.6754 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1918, allocations: 3.938 kB / 0.6754 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1918, allocations: 0 / 0.6754 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.192, allocations: 211.4 kB / 0.6756 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.86e-05/0.1921, allocations: 116.8 kB / 0.6757 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.1922, allocations: 0 / 0.6757 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.1923, allocations: 23.92 kB / 0.6758 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.1924, allocations: 7.984 kB / 0.6758 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.1924, allocations: 12 kB / 0.6758 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.59e-05/0.1925, allocations: 123.9 kB / 0.6759 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.81e-07/0.1925, allocations: 0 / 0.6759 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003952/0.1929, allocations: 79.92 kB / 0.676 GB, free: 8.688 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002917/0.1932, allocations: 171.2 kB / 0.6761 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002403/0.1935, allocations: 118.2 kB / 0.6763 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.1935, allocations: 4 kB / 0.6763 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.852e-05/0.1935, allocations: 44.86 kB / 0.6763 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.194, allocations: 59.94 kB / 0.6764 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006673/0.1946, allocations: 338.7 kB / 0.6767 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.1949, allocations: 0.7128 MB / 0.6774 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001491/0.1951, allocations: 49.84 kB / 0.6774 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.1951, allocations: 23.44 kB / 0.6774 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1951, allocations: 0 / 0.6774 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of Templates: time 0.006871/0.202, allocations: 3.43 MB / 0.6808 GB, free: 3.738 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterProperties.makefile (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)