Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.007852/0.007852, allocations: 100.5 kB / 15.73 MB, free: 6.035 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.001584/0.001584, allocations: 192.3 kB / 16.67 MB, free: 5.973 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.656/1.656, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.00129/0.00129, allocations: 49.73 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1044, allocations: 46.63 MB / 373.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.0133/0.1178, allocations: 12.86 MB / 386.1 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002396/0.1202, allocations: 1.701 MB / 387.8 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.1204, allocations: 4 kB / 387.8 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005565/0.121, allocations: 174.9 kB / 388 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005971/0.1216, allocations: 318.2 kB / 388.3 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009703/0.1226, allocations: 407.1 kB / 388.7 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007757/0.1234, allocations: 0.829 MB / 389.5 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.1236, allocations: 96.69 kB / 389.6 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005779/0.1242, allocations: 398.6 kB / 390 MB, free: 468 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003054/0.1245, allocations: 255 kB / 390.2 MB, free: 212 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.378e-05/0.1245, allocations: 32 kB / 390.3 MB, free: 180 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000231/0.1248, allocations: 99.8 kB / 390.3 MB, free: 80 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.1249, allocations: 99.8 kB / 390.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002135/0.1251, allocations: 183.2 kB / 390.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005431/0.1257, allocations: 470.6 kB / 391.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1257, allocations: 0 / 391.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1257, allocations: 0 / 391.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.1257, 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.0008727/0.1266, allocations: 0.5849 MB / 391.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.1267, allocations: 11.89 kB / 391.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002824/0.127, allocations: 48.55 kB / 391.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.1274, allocations: 295.7 kB / 392 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.1274, allocations: 16.88 kB / 392 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.878e-05/0.1275, allocations: 28.31 kB / 392.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004721/0.128, allocations: 325.5 kB / 392.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.128, allocations: 3.984 kB / 392.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/0.128, allocations: 12 kB / 392.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.128, allocations: 8 kB / 392.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.1284, allocations: 197.5 kB / 392.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.1303, allocations: 1.728 MB / 394.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.1306, allocations: 130.6 kB / 394.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.873e-05/0.1307, allocations: 68.84 kB / 394.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001531/0.1308, allocations: 170.2 kB / 394.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.1309, allocations: 38.5 kB / 394.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.1309, allocations: 0 / 394.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001768/0.1327, allocations: 0.7932 MB / 395.5 MB, free: 10.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.1327, allocations: 55.41 kB / 395.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.133, allocations: 286.5 kB / 395.9 MB, free: 10.15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.1331, allocations: 29.7 kB / 395.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.1332, allocations: 187.6 kB / 396.1 MB, free: 9.926 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.718e-05/0.1333, allocations: 86.83 kB / 396.1 MB, free: 9.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.693e-05/0.1334, allocations: 65.61 kB / 396.2 MB, free: 9.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1335, allocations: 338.8 kB / 396.5 MB, free: 9.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.1337, allocations: 67.97 kB / 396.6 MB, free: 9.363 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.1339, allocations: 191.2 kB / 396.8 MB, free: 9.121 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/0.1342, allocations: 279.2 kB / 397.1 MB, free: 8.793 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1343, allocations: 8 kB / 397.1 MB, free: 8.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005061/0.1348, allocations: 329.9 kB / 397.4 MB, free: 8.453 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.1348, allocations: 8 kB / 397.4 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1348, allocations: 4.5 kB / 397.4 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.834e-05/0.1349, allocations: 32.78 kB / 397.4 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.1352, allocations: 83.83 kB / 397.5 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.1364, allocations: 1.386 MB / 398.9 MB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.1366, allocations: 12 kB / 398.9 MB, free: 6.785 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.1366, allocations: 19.98 kB / 398.9 MB, free: 6.766 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.000156/0.1368, allocations: 153.7 kB / 399.1 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.378e-05/0.1368, allocations: 27.72 kB / 399.1 MB, free: 6.578 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003787/0.1372, allocations: 216.7 kB / 399.3 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1372, allocations: 0 / 399.3 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1372, allocations: 4 kB / 399.3 MB, free: 6.352 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004166/0.1377, allocations: 483.7 kB / 399.8 MB, free: 5.793 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.1387, allocations: 0.7798 MB / 400.6 MB, free: 4.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.1388, allocations: 4 kB / 400.6 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.1389, allocations: 47.84 kB / 400.6 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.1389, allocations: 4 kB / 400.6 MB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.139, allocations: 11.94 kB / 400.7 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.139, allocations: 4.281 kB / 400.7 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.139, allocations: 11.94 kB / 400.7 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004664/0.1395, allocations: 395.5 kB / 401.1 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.337e-05/0.1396, allocations: 108.7 kB / 401.2 MB, free: 4.273 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.436e-05/0.1396, allocations: 8 kB / 401.2 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.1398, allocations: 11.94 kB / 401.2 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.1399, allocations: 24.03 kB / 401.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.1399, allocations: 15.98 kB / 401.2 MB, free: 4.215 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002004/0.1401, allocations: 201.9 kB / 401.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1401, allocations: 0 / 401.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004785/0.1406, allocations: 100 kB / 401.5 MB, free: 3.918 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.0002576/0.1409, allocations: 131.1 kB / 401.6 MB, free: 3.781 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005467/0.1414, allocations: 318.4 kB / 402 MB, free: 3.457 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.1415, allocations: 0 / 402 MB, free: 3.457 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.1416, allocations: 68.98 kB / 402 MB, free: 3.391 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009387/0.1425, allocations: 165.4 kB / 402.2 MB, free: 3.227 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.1438, allocations: 0.6136 MB / 402.8 MB, free: 2.562 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006614/0.1445, allocations: 0.76 MB / 403.6 MB, free: 1.777 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002744/0.1447, allocations: 67.19 kB / 403.6 MB, free: 1.711 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.856e-05/0.1448, allocations: 27.44 kB / 403.6 MB, free: 1.684 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1448, allocations: 0 / 403.6 MB, free: 1.684 MB / 334.1 MB Notification: Performance of Templates: time 0.01119/0.156, allocations: 5.649 MB / 409.3 MB, free: 12.02 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1)