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.00763/0.00763, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.00152/0.00152, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.559/1.559, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.001178/0.001178, allocations: 58.92 kB / 326.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09597/0.09716, allocations: 46.62 MB / 373.2 MB, free: 1.277 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01385/0.1111, allocations: 12.86 MB / 386.1 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002657/0.1138, allocations: 1.701 MB / 387.8 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000224/0.114, allocations: 7.938 kB / 387.8 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005583/0.1146, allocations: 163 kB / 387.9 MB, free: 2.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006096/0.1153, allocations: 314.2 kB / 388.3 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.1163, allocations: 411 kB / 388.7 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008885/0.1172, allocations: 0.829 MB / 389.5 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.1174, allocations: 96.7 kB / 389.6 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007732/0.1182, allocations: 390.6 kB / 390 MB, free: 472 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00033/0.1185, allocations: 266.9 kB / 390.2 MB, free: 204 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.764e-05/0.1186, allocations: 28 kB / 390.2 MB, free: 176 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002769/0.1189, allocations: 103.8 kB / 390.4 MB, free: 72 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.119, allocations: 95.72 kB / 390.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002221/0.1193, allocations: 179.3 kB / 390.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006862/0.12, allocations: 482.5 kB / 391.1 MB, free: 15.33 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.12, allocations: 0 / 391.1 MB, free: 15.33 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.12, allocations: 0 / 391.1 MB, free: 15.33 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.12, allocations: 0 / 391.1 MB, free: 15.33 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.001054/0.1211, allocations: 0.5732 MB / 391.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.1211, allocations: 11.89 kB / 391.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004318/0.1216, allocations: 52.55 kB / 391.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006838/0.1223, allocations: 287.7 kB / 392 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/0.1223, allocations: 16.94 kB / 392 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.66e-05/0.1224, allocations: 28.36 kB / 392.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000728/0.1231, allocations: 325.5 kB / 392.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.1232, allocations: 3.938 kB / 392.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.411e-05/0.1232, allocations: 15.98 kB / 392.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.1232, allocations: 8 kB / 392.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003511/0.1236, allocations: 189.5 kB / 392.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003039/0.1266, allocations: 1.728 MB / 394.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/0.1271, allocations: 142.5 kB / 394.4 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.1273, allocations: 64.84 kB / 394.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002377/0.1275, allocations: 178.2 kB / 394.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.1276, allocations: 34.56 kB / 394.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 4.108e-06/0.1276, allocations: 0 / 394.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.002626/0.1302, allocations: 0.7881 MB / 395.5 MB, free: 10.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.1303, allocations: 59.41 kB / 395.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004414/0.1307, allocations: 282.5 kB / 395.8 MB, free: 10.15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.1308, allocations: 29.7 kB / 395.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.131, allocations: 191.6 kB / 396.1 MB, free: 9.922 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.537e-05/0.1311, allocations: 86.83 kB / 396.1 MB, free: 9.836 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.1313, allocations: 65.61 kB / 396.2 MB, free: 9.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.1315, allocations: 334.8 kB / 396.5 MB, free: 9.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.1317, allocations: 67.97 kB / 396.6 MB, free: 9.363 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.132, allocations: 191.1 kB / 396.8 MB, free: 9.121 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005109/0.1325, allocations: 283.2 kB / 397.1 MB, free: 8.789 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.1325, allocations: 4 kB / 397.1 MB, free: 8.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008332/0.1333, allocations: 337.9 kB / 397.4 MB, free: 8.445 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.664e-05/0.1334, allocations: 8 kB / 397.4 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.1335, allocations: 4 kB / 397.4 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001445/0.1336, allocations: 25.28 kB / 397.4 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005285/0.1342, allocations: 87.84 kB / 397.5 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/0.136, allocations: 1.39 MB / 398.9 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.1364, allocations: 12 kB / 398.9 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.072e-05/0.1365, allocations: 16 kB / 398.9 MB, free: 6.762 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.0002756/0.1367, allocations: 153.7 kB / 399.1 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.1369, allocations: 27.72 kB / 399.1 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006228/0.1375, allocations: 214 kB / 399.3 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1375, allocations: 0 / 399.3 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1375, allocations: 4 kB / 399.3 MB, free: 6.352 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006393/0.1382, allocations: 479.7 kB / 399.8 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/0.14, allocations: 0.776 MB / 400.6 MB, free: 4.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.14, allocations: 4 kB / 400.6 MB, free: 4.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002811/0.1403, allocations: 47.91 kB / 400.6 MB, free: 4.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.1403, allocations: 7.938 kB / 400.6 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.1404, allocations: 7.938 kB / 400.6 MB, free: 4.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.064e-06/0.1404, allocations: 4 kB / 400.6 MB, free: 4.848 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.1404, allocations: 4.281 kB / 400.6 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007081/0.1411, allocations: 399.5 kB / 401 MB, free: 4.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.1413, allocations: 112.7 kB / 401.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.373e-05/0.1413, allocations: 8 kB / 401.2 MB, free: 4.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003789/0.1417, allocations: 4 kB / 401.2 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.1418, allocations: 31.84 kB / 401.2 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/0.1419, allocations: 8.062 kB / 401.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003903/0.1423, allocations: 213.9 kB / 401.4 MB, free: 4.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1423, allocations: 0 / 401.4 MB, free: 4.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000806/0.1431, allocations: 96 kB / 401.5 MB, free: 3.926 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.0003432/0.1434, allocations: 139.1 kB / 401.6 MB, free: 3.781 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007959/0.1443, allocations: 310.4 kB / 401.9 MB, free: 3.465 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.1443, allocations: 0 / 401.9 MB, free: 3.465 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.1444, allocations: 73.28 kB / 402 MB, free: 3.395 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.1459, allocations: 169.1 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.001636/0.1475, allocations: 0.6097 MB / 402.8 MB, free: 2.566 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000656/0.1482, allocations: 0.7677 MB / 403.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003514/0.1486, allocations: 63.2 kB / 403.6 MB, free: 1.711 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.538e-05/0.1487, allocations: 27.44 kB / 403.6 MB, free: 1.684 MB / 334.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1487, allocations: 3.938 kB / 403.6 MB, free: 1.68 MB / 334.1 MB Notification: Performance of Templates: time 0.0197/0.1684, allocations: 5.645 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)