Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001459/0.001459, allocations: 108.4 kB / 16.62 MB, free: 6.961 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.001489/0.001489, allocations: 189.8 kB / 17.55 MB, free: 6.066 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.566/1.566, allocations: 205.1 MB / 223.4 MB, free: 12.46 MB / 190.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.001243/0.001243, allocations: 55.92 kB / 279.5 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1158, allocations: 46.63 MB / 326.1 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01562/0.1315, allocations: 12.81 MB / 339 MB, free: 7.918 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002332/0.1339, allocations: 1.697 MB / 340.7 MB, free: 6.215 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.1341, allocations: 11.88 kB / 340.7 MB, free: 6.203 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005554/0.1347, allocations: 143.2 kB / 340.8 MB, free: 6.062 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005524/0.1353, allocations: 294.5 kB / 341.1 MB, free: 5.773 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009376/0.1362, allocations: 391.2 kB / 341.5 MB, free: 5.391 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008249/0.137, allocations: 0.8251 MB / 342.3 MB, free: 4.562 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.1373, allocations: 100.7 kB / 342.4 MB, free: 4.465 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005569/0.1378, allocations: 390.7 kB / 342.8 MB, free: 4.082 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003295/0.1382, allocations: 278.9 kB / 343.1 MB, free: 3.809 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.49e-05/0.1382, allocations: 28 kB / 343.1 MB, free: 3.781 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.1384, allocations: 103.8 kB / 343.2 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.1385, allocations: 83.78 kB / 343.3 MB, free: 3.598 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.1387, allocations: 195.2 kB / 343.5 MB, free: 3.406 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005088/0.1393, allocations: 470.9 kB / 343.9 MB, free: 2.945 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1393, allocations: 0 / 343.9 MB, free: 2.945 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1393, allocations: 0 / 343.9 MB, free: 2.945 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1393, allocations: 0 / 343.9 MB, free: 2.945 MB / 286.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.0008265/0.1401, allocations: 0.5808 MB / 344.5 MB, free: 2.316 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.1402, allocations: 15.89 kB / 344.5 MB, free: 2.301 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003005/0.1405, allocations: 36.66 kB / 344.5 MB, free: 2.266 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.1409, allocations: 287.7 kB / 344.8 MB, free: 1.945 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.1409, allocations: 16.94 kB / 344.8 MB, free: 1.93 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/0.1409, allocations: 24.38 kB / 344.9 MB, free: 1.906 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004896/0.1414, allocations: 325.5 kB / 345.2 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.1415, allocations: 0 / 345.2 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.093e-05/0.1415, allocations: 12 kB / 345.2 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.1415, allocations: 11.94 kB / 345.2 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003145/0.1418, allocations: 185.6 kB / 345.4 MB, free: 1.348 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.1437, allocations: 1.74 MB / 347.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.144, allocations: 134.4 kB / 347.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.998e-05/0.1441, allocations: 72.88 kB / 347.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001509/0.1442, allocations: 166.2 kB / 347.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.1443, allocations: 38.56 kB / 347.5 MB, free: 15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.592e-06/0.1443, allocations: 0 / 347.5 MB, free: 15 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001832/0.1461, allocations: 0.7843 MB / 348.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.1462, allocations: 55.41 kB / 348.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.1465, allocations: 286.5 kB / 348.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.409e-05/0.1465, allocations: 29.7 kB / 348.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.1467, allocations: 199.5 kB / 348.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.95e-05/0.1468, allocations: 75 kB / 348.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.563e-05/0.1469, allocations: 73.38 kB / 349 MB, free: 13.4 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.147, allocations: 334.8 kB / 349.3 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.1472, allocations: 67.97 kB / 349.4 MB, free: 13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.1474, allocations: 191.1 kB / 349.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/0.1477, allocations: 291.4 kB / 349.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1478, allocations: 3.938 kB / 349.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004811/0.1482, allocations: 333.6 kB / 350.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.1483, allocations: 8 kB / 350.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1483, allocations: 4 kB / 350.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.74e-05/0.1484, allocations: 25.3 kB / 350.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.1487, allocations: 87.89 kB / 350.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.1499, allocations: 1.394 MB / 351.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.15, allocations: 15.98 kB / 351.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.1501, allocations: 16 kB / 351.8 MB, free: 10.38 MB / 302.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.0001505/0.1502, allocations: 161.7 kB / 351.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.825e-05/0.1503, allocations: 31.62 kB / 352 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003277/0.1506, allocations: 201.9 kB / 352.1 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.1506, allocations: 7.938 kB / 352.2 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.1507, allocations: 0 / 352.2 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003565/0.151, allocations: 483.7 kB / 352.6 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.152, allocations: 0.7644 MB / 353.4 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1521, allocations: 4 kB / 353.4 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.1522, allocations: 56.12 kB / 353.5 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.1522, allocations: 8 kB / 353.5 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.1523, allocations: 7.938 kB / 353.5 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1523, allocations: 3.938 kB / 353.5 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1523, allocations: 4 kB / 353.5 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000476/0.1528, allocations: 399.2 kB / 353.9 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.513e-05/0.1529, allocations: 104.8 kB / 354 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.955e-05/0.1529, allocations: 11.94 kB / 354 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003198/0.1533, allocations: 27.95 kB / 354 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.1533, allocations: 19.92 kB / 354 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.1533, allocations: 11.98 kB / 354 MB, free: 7.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002081/0.1535, allocations: 202 kB / 354.2 MB, free: 7.645 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1536, allocations: 0 / 354.2 MB, free: 7.645 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004227/0.154, allocations: 99.94 kB / 354.3 MB, free: 7.547 MB / 302.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.0003062/0.1543, allocations: 143.1 kB / 354.5 MB, free: 7.398 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004795/0.1548, allocations: 311.2 kB / 354.8 MB, free: 7.082 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.1548, allocations: 8.062 kB / 354.8 MB, free: 7.074 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.1549, allocations: 75.84 kB / 354.9 MB, free: 7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008672/0.1558, allocations: 161.5 kB / 355 MB, free: 6.844 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.1569, allocations: 0.7118 MB / 355.7 MB, free: 6.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.1572, allocations: 0.7639 MB / 356.5 MB, free: 5.277 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002523/0.1574, allocations: 62.62 kB / 356.6 MB, free: 5.219 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.6e-05/0.1575, allocations: 31.38 kB / 356.6 MB, free: 5.188 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1575, allocations: 0 / 356.6 MB, free: 5.188 MB / 302.1 MB Notification: Performance of Templates: time 0.00947/0.167, allocations: 5.554 MB / 362.1 MB, free: 15.63 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1)