Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007907/0.007907, allocations: 101.7 kB / 15.73 MB, free: 6.477 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.001534/0.001534, allocations: 192.4 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.1 MB / 222.5 MB, free: 4.559 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 49.92 kB / 326.6 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1423, allocations: 46.62 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01984/0.1622, allocations: 12.86 MB / 386.1 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002984/0.1652, allocations: 1.701 MB / 387.8 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003928/0.1657, allocations: 4 kB / 387.8 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008495/0.1666, allocations: 162.9 kB / 387.9 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.1676, allocations: 322.2 kB / 388.3 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.1691, allocations: 419 kB / 388.7 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001723/0.1708, allocations: 0.8251 MB / 389.5 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002763/0.1711, allocations: 96.67 kB / 389.6 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009867/0.1721, allocations: 402.6 kB / 390 MB, free: 476 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00052/0.1726, allocations: 255 kB / 390.2 MB, free: 220 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.142e-05/0.1727, allocations: 28 kB / 390.3 MB, free: 192 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003605/0.1731, allocations: 107.8 kB / 390.4 MB, free: 84 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001591/0.1732, allocations: 91.8 kB / 390.4 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002785/0.1735, allocations: 191.1 kB / 390.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007476/0.1743, allocations: 478.5 kB / 391.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1743, allocations: 0 / 391.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1743, allocations: 0 / 391.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.762e-05/0.1743, allocations: 0 / 391.1 MB, free: 15.34 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001073/0.1754, allocations: 0.5732 MB / 391.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1755, allocations: 15.89 kB / 391.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003671/0.1758, allocations: 44.55 kB / 391.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005435/0.1764, allocations: 299.7 kB / 392 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.1764, allocations: 16.94 kB / 392 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.147e-05/0.1765, allocations: 24.38 kB / 392.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005686/0.1771, allocations: 329.5 kB / 392.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.1771, allocations: 0 / 392.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.911e-05/0.1771, allocations: 12 kB / 392.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.1772, allocations: 8 kB / 392.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003546/0.1775, allocations: 193.5 kB / 392.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/0.1798, allocations: 1.732 MB / 394.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.1801, allocations: 134.6 kB / 394.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.1802, allocations: 60.84 kB / 394.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001918/0.1804, allocations: 174.2 kB / 394.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.1805, allocations: 38.5 kB / 394.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.894e-06/0.1805, allocations: 0 / 394.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001868/0.1824, allocations: 0.7959 MB / 395.5 MB, free: 10.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.1824, allocations: 55.41 kB / 395.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.1827, allocations: 286.5 kB / 395.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.1828, allocations: 29.7 kB / 395.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.183, allocations: 195.6 kB / 396.1 MB, free: 9.922 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.505e-05/0.183, allocations: 78.78 kB / 396.2 MB, free: 9.844 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.1831, allocations: 65.61 kB / 396.2 MB, free: 9.773 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1833, allocations: 338.8 kB / 396.5 MB, free: 9.434 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.1834, allocations: 67.97 kB / 396.6 MB, free: 9.367 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.1836, allocations: 191.1 kB / 396.8 MB, free: 9.125 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003587/0.184, allocations: 287.2 kB / 397.1 MB, free: 8.789 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.184, allocations: 0 / 397.1 MB, free: 8.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005419/0.1845, allocations: 330.3 kB / 397.4 MB, free: 8.457 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.1846, allocations: 12.06 kB / 397.4 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.1846, allocations: 4 kB / 397.4 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001086/0.1847, allocations: 24.8 kB / 397.4 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.185, allocations: 91.83 kB / 397.5 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.1863, allocations: 1.382 MB / 398.9 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.1865, allocations: 12 kB / 398.9 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/0.1866, allocations: 12 kB / 398.9 MB, free: 6.777 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001622/0.1868, allocations: 161.7 kB / 399.1 MB, free: 6.609 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.497e-05/0.1868, allocations: 31.75 kB / 399.1 MB, free: 6.578 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003771/0.1872, allocations: 204.5 kB / 399.3 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.1872, allocations: 4 kB / 399.3 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.1872, allocations: 4 kB / 399.3 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003684/0.1876, allocations: 483.7 kB / 399.8 MB, free: 5.801 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.1887, allocations: 0.776 MB / 400.6 MB, free: 4.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.1887, allocations: 0 / 400.6 MB, free: 4.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.1889, allocations: 47.91 kB / 400.6 MB, free: 4.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.1889, allocations: 4.281 kB / 400.6 MB, free: 4.871 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.189, allocations: 15.94 kB / 400.6 MB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.189, allocations: 4 kB / 400.7 MB, free: 4.852 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.189, allocations: 3.938 kB / 400.7 MB, free: 4.848 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004649/0.1895, allocations: 395.5 kB / 401 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.173e-05/0.1896, allocations: 116.7 kB / 401.2 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.1896, allocations: 4 kB / 401.2 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.1898, allocations: 8.047 kB / 401.2 MB, free: 4.273 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.1899, allocations: 27.97 kB / 401.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.509e-05/0.1899, allocations: 15.98 kB / 401.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002031/0.1901, allocations: 205.9 kB / 401.4 MB, free: 4.027 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1901, allocations: 0 / 401.4 MB, free: 4.027 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004681/0.1906, allocations: 96 kB / 401.5 MB, free: 3.934 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (volume.medium.T) * 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 (21): * Single equations (assignments): 21 * 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.0002478/0.1908, allocations: 143.1 kB / 401.6 MB, free: 3.785 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005496/0.1914, allocations: 306.4 kB / 401.9 MB, free: 3.473 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.1914, allocations: 0 / 401.9 MB, free: 3.473 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.1915, allocations: 77.34 kB / 402 MB, free: 3.398 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008701/0.1924, allocations: 156.9 kB / 402.2 MB, free: 3.242 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.1935, allocations: 0.6215 MB / 402.8 MB, free: 2.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.1939, allocations: 0.7639 MB / 403.6 MB, free: 1.781 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002375/0.1942, allocations: 64.55 kB / 403.6 MB, free: 1.719 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.528e-05/0.1942, allocations: 31.38 kB / 403.7 MB, free: 1.688 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1943, allocations: 0 / 403.7 MB, free: 1.688 MB / 334.1 MB Notification: Performance of Templates: time 0.01091/0.2052, allocations: 5.63 MB / 409.3 MB, free: 12.05 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1)