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.01046/0.01046, allocations: 100.2 kB / 15.73 MB, free: 6.031 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.001865/0.001865, allocations: 183.9 kB / 16.67 MB, free: 5.965 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.551/1.551, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.001163/0.001163, allocations: 46.78 kB / 326.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1158, allocations: 46.62 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01522/0.1311, allocations: 12.86 MB / 386.1 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002628/0.1338, allocations: 1.701 MB / 387.8 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.134, allocations: 4 kB / 387.8 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005431/0.1346, allocations: 166.9 kB / 387.9 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006286/0.1352, allocations: 318.3 kB / 388.3 MB, free: 2.188 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009794/0.1362, allocations: 415 kB / 388.7 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007359/0.1369, allocations: 0.8251 MB / 389.5 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.1371, allocations: 100.7 kB / 389.6 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005789/0.1377, allocations: 394.6 kB / 390 MB, free: 480 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003211/0.1381, allocations: 262.9 kB / 390.2 MB, free: 216 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.78e-05/0.1381, allocations: 28 kB / 390.3 MB, free: 188 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002246/0.1383, allocations: 99.8 kB / 390.3 MB, free: 88 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.1385, allocations: 95.81 kB / 390.4 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002407/0.1387, allocations: 191.2 kB / 390.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005496/0.1393, allocations: 474.6 kB / 391.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1393, allocations: 0 / 391.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1393, allocations: 0 / 391.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1393, 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.0008058/0.1401, allocations: 0.5771 MB / 391.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.1402, allocations: 11.89 kB / 391.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002802/0.1405, allocations: 44.55 kB / 391.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000491/0.141, allocations: 299.7 kB / 392 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.141, allocations: 16.94 kB / 392 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.1411, allocations: 24.38 kB / 392.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006226/0.1417, allocations: 321.5 kB / 392.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.1417, allocations: 7.875 kB / 392.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.923e-05/0.1418, allocations: 12 kB / 392.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.1418, allocations: 8 kB / 392.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003627/0.1422, allocations: 193.5 kB / 392.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.1441, allocations: 1.732 MB / 394.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.1444, allocations: 134.6 kB / 394.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.1445, allocations: 64.84 kB / 394.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/0.1446, allocations: 170.2 kB / 394.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1447, allocations: 42.5 kB / 394.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/0.1447, allocations: 0 / 394.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001739/0.1464, allocations: 0.7924 MB / 395.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.1465, allocations: 55.41 kB / 395.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/0.1468, allocations: 282.5 kB / 395.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.1468, allocations: 29.7 kB / 395.9 MB, free: 10.13 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.147, allocations: 199.5 kB / 396.1 MB, free: 9.926 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.547e-05/0.1471, allocations: 78.84 kB / 396.1 MB, free: 9.848 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.1472, allocations: 69.61 kB / 396.2 MB, free: 9.773 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1473, allocations: 334.8 kB / 396.5 MB, free: 9.438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.1475, allocations: 67.97 kB / 396.6 MB, free: 9.371 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.1477, allocations: 195.2 kB / 396.8 MB, free: 9.125 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.148, allocations: 279.2 kB / 397.1 MB, free: 8.797 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.148, allocations: 4 kB / 397.1 MB, free: 8.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004921/0.1485, allocations: 333.9 kB / 397.4 MB, free: 8.457 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1486, allocations: 4 kB / 397.4 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.1486, allocations: 4 kB / 397.4 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.672e-05/0.1487, allocations: 32.78 kB / 397.4 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.149, allocations: 88.33 kB / 397.5 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.1503, allocations: 1.386 MB / 398.9 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.1504, allocations: 12 kB / 398.9 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.1505, allocations: 16 kB / 398.9 MB, free: 6.773 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.0002465/0.1507, allocations: 153.7 kB / 399.1 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.264e-05/0.1508, allocations: 31.66 kB / 399.1 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003544/0.1512, allocations: 204.5 kB / 399.3 MB, free: 6.371 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1512, allocations: 64 / 399.3 MB, free: 6.371 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.1512, allocations: 7.938 kB / 399.3 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005859/0.1518, allocations: 487.7 kB / 399.8 MB, free: 5.801 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.1529, allocations: 0.776 MB / 400.6 MB, free: 4.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.1529, allocations: 4 kB / 400.6 MB, free: 4.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.1531, allocations: 43.91 kB / 400.6 MB, free: 4.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.1531, allocations: 4 kB / 400.6 MB, free: 4.871 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.1531, allocations: 11.94 kB / 400.6 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.1531, allocations: 8 kB / 400.6 MB, free: 4.852 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.1531, allocations: 7.938 kB / 400.7 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004708/0.1536, allocations: 399.8 kB / 401 MB, free: 4.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/0.1537, allocations: 108.7 kB / 401.2 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.1537, allocations: 8 kB / 401.2 MB, free: 4.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.154, allocations: 11.98 kB / 401.2 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.154, allocations: 15.92 kB / 401.2 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.154, allocations: 19.98 kB / 401.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002038/0.1543, allocations: 210 kB / 401.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1543, allocations: 0 / 401.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004371/0.1547, allocations: 96 kB / 401.5 MB, free: 3.93 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.0002347/0.1549, allocations: 131.1 kB / 401.6 MB, free: 3.793 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005866/0.1555, allocations: 318.9 kB / 401.9 MB, free: 3.469 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.1556, allocations: 4 kB / 402 MB, free: 3.465 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.1557, allocations: 67.86 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.0009367/0.1566, allocations: 161.9 kB / 402.2 MB, free: 3.238 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.1577, allocations: 0.6176 MB / 402.8 MB, free: 2.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.158, allocations: 0.76 MB / 403.6 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002276/0.1583, allocations: 60.19 kB / 403.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.405e-05/0.1583, allocations: 31.44 kB / 403.6 MB, free: 1.695 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1583, allocations: 3.938 kB / 403.6 MB, free: 1.691 MB / 334.1 MB Notification: Performance of Templates: time 0.01072/0.1691, allocations: 5.649 MB / 409.3 MB, free: 12.03 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)