Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 105.9 kB / 16.5 MB, free: 6.688 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.001069/0.001069, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.353/1.353, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001194/0.001194, allocations: 47.92 kB / 279.3 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1094, allocations: 46.64 MB / 326 MB, free: 4.875 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.0165/0.126, allocations: 15.99 MB / 342 MB, free: 4.816 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002701/0.1287, allocations: 1.908 MB / 343.9 MB, free: 2.902 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/0.129, allocations: 7.938 kB / 343.9 MB, free: 2.895 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005994/0.1296, allocations: 147.3 kB / 344 MB, free: 2.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005898/0.1302, allocations: 302.4 kB / 344.3 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000684/0.1309, allocations: 263.6 kB / 344.6 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001177/0.1321, allocations: 1.289 MB / 345.9 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.1323, allocations: 76.67 kB / 345.9 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009306/0.1332, allocations: 462.1 kB / 346.4 MB, free: 380 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003311/0.1336, allocations: 290.9 kB / 346.7 MB, free: 88 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.296e-05/0.1336, allocations: 16 kB / 346.7 MB, free: 72 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.1337, allocations: 24 kB / 346.7 MB, free: 48 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.1338, allocations: 83.64 kB / 346.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.134, allocations: 163.3 kB / 347 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004002/0.1344, allocations: 422.9 kB / 347.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1345, allocations: 0 / 347.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1345, allocations: 4 kB / 347.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.1345, allocations: 0 / 347.4 MB, free: 15.39 MB / 302.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.001027/0.1355, allocations: 0.5887 MB / 348 MB, free: 14.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.1356, allocations: 8.031 kB / 348 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002873/0.1359, allocations: 40.64 kB / 348 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.1362, allocations: 275.7 kB / 348.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.1362, allocations: 20.94 kB / 348.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.1363, allocations: 28.36 kB / 348.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004991/0.1368, allocations: 307.8 kB / 348.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.1368, allocations: 0 / 348.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.559e-05/0.1369, allocations: 15.98 kB / 348.6 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.1369, allocations: 4 kB / 348.6 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003271/0.1372, allocations: 197.5 kB / 348.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.139, allocations: 1.432 MB / 350.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.1394, allocations: 182.6 kB / 350.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.1395, allocations: 88.84 kB / 350.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.674e-05/0.1396, allocations: 11.88 kB / 350.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.1396, allocations: 34.55 kB / 350.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.1396, allocations: 0 / 350.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.002585/0.1422, allocations: 0.9998 MB / 351.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.1423, allocations: 55.41 kB / 351.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.1426, allocations: 258.6 kB / 351.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.1426, allocations: 29.7 kB / 351.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.1427, allocations: 180.2 kB / 352.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.313e-05/0.1428, allocations: 90.66 kB / 352.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.421e-05/0.1429, allocations: 69.39 kB / 352.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.143, allocations: 338.8 kB / 352.6 MB, free: 9.801 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.1432, allocations: 87.95 kB / 352.7 MB, free: 9.715 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.1434, allocations: 178.8 kB / 352.8 MB, free: 9.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.1437, allocations: 279 kB / 353.1 MB, free: 9.188 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1437, allocations: 0 / 353.1 MB, free: 9.188 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006605/0.1444, allocations: 386.6 kB / 353.5 MB, free: 8.797 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.1444, allocations: 8 kB / 353.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.1445, allocations: 8.375 kB / 353.5 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002646/0.1447, allocations: 65.61 kB / 353.6 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/0.145, allocations: 67.91 kB / 353.6 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/0.1472, allocations: 2.685 MB / 356.3 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.1474, allocations: 12 kB / 356.3 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.1475, allocations: 16 kB / 356.4 MB, free: 5.664 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001658/0.1476, allocations: 153.8 kB / 356.5 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-05/0.1477, allocations: 27.66 kB / 356.5 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.924e-05/0.1478, allocations: 42.17 kB / 356.6 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1478, allocations: 4 kB / 356.6 MB, free: 5.434 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1478, allocations: 0 / 356.6 MB, free: 5.434 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006138/0.1484, allocations: 0.563 MB / 357.1 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009733/0.1494, allocations: 0.699 MB / 357.8 MB, free: 4.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1494, allocations: 0 / 357.8 MB, free: 4.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.1496, allocations: 43.92 kB / 357.9 MB, free: 3.977 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002355/0.1498, allocations: 52.7 kB / 357.9 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.1499, allocations: 15.95 kB / 357.9 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/0.151, allocations: 1.386 MB / 359.3 MB, free: 2.387 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.151, allocations: 0 / 359.3 MB, free: 2.387 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006983/0.1517, allocations: 477 kB / 359.8 MB, free: 1.898 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.476e-05/0.1518, allocations: 96.81 kB / 359.9 MB, free: 1.785 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.1519, allocations: 8 kB / 359.9 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.1521, allocations: 20 kB / 359.9 MB, free: 1.758 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.1522, allocations: 15.97 kB / 359.9 MB, free: 1.742 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.1522, allocations: 12 kB / 359.9 MB, free: 1.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001814/0.1524, allocations: 189.9 kB / 360.1 MB, free: 1.543 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1524, allocations: 0 / 360.1 MB, free: 1.543 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003919/0.1528, allocations: 92 kB / 360.2 MB, free: 1.453 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (24): * Single equations (assignments): 23 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001445/0.1529, allocations: 107.2 kB / 360.3 MB, free: 1.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007667/0.1537, allocations: 478 kB / 360.8 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1537, allocations: 4 kB / 360.8 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003616/0.1541, allocations: 234.5 kB / 361 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.1551, allocations: 160.4 kB / 361.2 MB, free: 456 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.1563, allocations: 0.7881 MB / 362 MB, free: 15.63 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.1567, allocations: 0.7645 MB / 362.7 MB, free: 14.84 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000281/0.1569, allocations: 54.94 kB / 362.8 MB, free: 14.79 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.968e-05/0.157, allocations: 23.44 kB / 362.8 MB, free: 14.77 MB / 318.1 MB Notification: Performance of SimCode: time 4.3e-07/0.157, allocations: 0 / 362.8 MB, free: 14.77 MB / 318.1 MB Notification: Performance of Templates: time 0.009691/0.1667, allocations: 5.422 MB / 368.2 MB, free: 9.348 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)