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.008927/0.008926, allocations: 101.1 kB / 15.73 MB, free: 6.473 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.001312/0.001312, allocations: 195 kB / 16.67 MB, free: 6.379 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.534/1.534, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.001144/0.001144, allocations: 46.97 kB / 326.6 MB, free: 14.24 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0997/0.1008, allocations: 46.63 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.01342/0.1143, allocations: 12.87 MB / 386.1 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002345/0.1167, allocations: 1.697 MB / 387.8 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.1169, allocations: 4 kB / 387.8 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005703/0.1175, allocations: 162.9 kB / 387.9 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005909/0.1181, allocations: 318.2 kB / 388.3 MB, free: 2.188 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.1191, allocations: 407.1 kB / 388.7 MB, free: 1.789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007922/0.1199, allocations: 0.8251 MB / 389.5 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.1202, allocations: 92.69 kB / 389.6 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005774/0.1207, allocations: 390.6 kB / 390 MB, free: 500 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.1211, allocations: 270.9 kB / 390.2 MB, free: 228 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.16e-05/0.1211, allocations: 28 kB / 390.2 MB, free: 200 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.1214, allocations: 103.8 kB / 390.3 MB, free: 96 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.1215, allocations: 99.75 kB / 390.4 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.1217, allocations: 179.3 kB / 390.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004893/0.1222, allocations: 474.6 kB / 391.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1222, allocations: 0 / 391.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1222, allocations: 0 / 391.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1222, allocations: 0 / 391.1 MB, free: 15.35 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.0007787/0.123, allocations: 0.581 MB / 391.7 MB, free: 14.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1231, allocations: 11.89 kB / 391.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002798/0.1233, allocations: 44.55 kB / 391.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004661/0.1238, allocations: 299.5 kB / 392 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.1238, allocations: 20.94 kB / 392 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.1239, allocations: 24.38 kB / 392.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004561/0.1244, allocations: 329.5 kB / 392.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.1244, allocations: 3.938 kB / 392.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.835e-05/0.1244, allocations: 12 kB / 392.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.1245, allocations: 12 kB / 392.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002995/0.1248, allocations: 189.5 kB / 392.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.1267, allocations: 1.728 MB / 394.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.127, allocations: 138.6 kB / 394.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.1271, allocations: 60.84 kB / 394.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/0.1272, allocations: 170.2 kB / 394.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.1273, allocations: 34.56 kB / 394.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.874e-06/0.1273, allocations: 0 / 394.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0018/0.1291, allocations: 0.7965 MB / 395.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.1291, allocations: 55.41 kB / 395.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.1295, allocations: 286.5 kB / 395.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.1295, allocations: 29.7 kB / 395.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.1296, allocations: 191.6 kB / 396.1 MB, free: 9.941 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.344e-05/0.1297, allocations: 74.84 kB / 396.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.832e-05/0.1298, allocations: 69.61 kB / 396.2 MB, free: 9.793 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1299, allocations: 334.8 kB / 396.5 MB, free: 9.457 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.13, allocations: 67.97 kB / 396.6 MB, free: 9.391 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.1302, allocations: 195.2 kB / 396.8 MB, free: 9.145 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003214/0.1305, allocations: 283.2 kB / 397.1 MB, free: 8.812 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1305, allocations: 0 / 397.1 MB, free: 8.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000478/0.131, allocations: 330.3 kB / 397.4 MB, free: 8.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1311, allocations: 16 kB / 397.4 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.1311, allocations: 4 kB / 397.4 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.573e-05/0.1312, allocations: 28.78 kB / 397.4 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/0.1315, allocations: 87.89 kB / 397.5 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.1326, allocations: 1.379 MB / 398.9 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.1328, allocations: 15.98 kB / 398.9 MB, free: 6.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.1328, allocations: 16 kB / 398.9 MB, free: 6.793 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.0001527/0.133, allocations: 157.7 kB / 399.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.049e-05/0.133, allocations: 31.75 kB / 399.1 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003576/0.1334, allocations: 209.2 kB / 399.3 MB, free: 6.383 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1334, allocations: 4 kB / 399.3 MB, free: 6.379 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.1334, allocations: 0 / 399.3 MB, free: 6.379 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003659/0.1338, allocations: 491.7 kB / 399.8 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.1349, allocations: 0.7837 MB / 400.6 MB, free: 4.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.135, allocations: 0 / 400.6 MB, free: 4.926 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.1351, allocations: 43.97 kB / 400.6 MB, free: 4.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.1351, allocations: 4.281 kB / 400.6 MB, free: 4.879 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.1352, allocations: 19.88 kB / 400.6 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1352, allocations: 4 kB / 400.7 MB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.1352, allocations: 4 kB / 400.7 MB, free: 4.852 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004254/0.1356, allocations: 395.5 kB / 401 MB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.85e-05/0.1357, allocations: 112.7 kB / 401.2 MB, free: 4.293 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.1358, allocations: 4 kB / 401.2 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.136, allocations: 11.98 kB / 401.2 MB, free: 4.277 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.136, allocations: 23.98 kB / 401.2 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.1361, allocations: 19.92 kB / 401.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001912/0.1363, allocations: 205.9 kB / 401.4 MB, free: 4.031 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1363, allocations: 0 / 401.4 MB, free: 4.031 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004383/0.1367, allocations: 92 kB / 401.5 MB, free: 3.941 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.0002358/0.1369, allocations: 135.2 kB / 401.6 MB, free: 3.801 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004984/0.1375, allocations: 318.3 kB / 401.9 MB, free: 3.477 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.1375, allocations: 0 / 401.9 MB, free: 3.477 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.1376, allocations: 73.36 kB / 402 MB, free: 3.406 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009374/0.1385, allocations: 160.9 kB / 402.2 MB, free: 3.246 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.1396, allocations: 0.6176 MB / 402.8 MB, free: 2.578 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.1399, allocations: 0.7639 MB / 403.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002232/0.1402, allocations: 55.27 kB / 403.6 MB, free: 1.734 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.241e-05/0.1402, allocations: 27.44 kB / 403.6 MB, free: 1.707 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1402, allocations: 3.938 kB / 403.6 MB, free: 1.703 MB / 334.1 MB Notification: Performance of Templates: time 0.01049/0.1507, allocations: 5.642 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)