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.00148/0.001481, allocations: 106.8 kB / 16.92 MB, free: 5.77 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.001556/0.001556, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.482/1.482, allocations: 205.1 MB / 223.7 MB, free: 12.34 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.001326/0.001326, allocations: 51.94 kB / 280 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1092, allocations: 46.63 MB / 326.6 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01709/0.1263, allocations: 15.83 MB / 342.5 MB, free: 4.566 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002711/0.1291, allocations: 1.916 MB / 344.4 MB, free: 2.645 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.1293, allocations: 8 kB / 344.4 MB, free: 2.637 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006088/0.1299, allocations: 170.9 kB / 344.6 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000592/0.1305, allocations: 310.2 kB / 344.9 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006386/0.1312, allocations: 279.5 kB / 345.1 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008203/0.132, allocations: 0.8446 MB / 346 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002171/0.1322, allocations: 100.7 kB / 346.1 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.1333, allocations: 0.5097 MB / 346.6 MB, free: 440 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003896/0.1337, allocations: 267 kB / 346.8 MB, free: 172 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.451e-05/0.1338, allocations: 32 kB / 346.9 MB, free: 140 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.1339, allocations: 36 kB / 346.9 MB, free: 104 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.134, allocations: 91.7 kB / 347 MB, free: 12 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.1343, allocations: 187.4 kB / 347.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004628/0.1347, allocations: 434.8 kB / 347.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1347, allocations: 0 / 347.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1348, allocations: 0 / 347.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1348, allocations: 0 / 347.6 MB, free: 15.4 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.0009666/0.1357, allocations: 0.5848 MB / 348.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1358, allocations: 11.89 kB / 348.2 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000301/0.1361, allocations: 40.64 kB / 348.2 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.1364, allocations: 291.7 kB / 348.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.1365, allocations: 16.94 kB / 348.5 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.91e-05/0.1365, allocations: 24.38 kB / 348.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004864/0.137, allocations: 307.9 kB / 348.9 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.1371, allocations: 3.938 kB / 348.9 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/0.1371, allocations: 12 kB / 348.9 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.1371, allocations: 4 kB / 348.9 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/0.1374, allocations: 189.6 kB / 349.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001764/0.1392, allocations: 1.448 MB / 350.5 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.1395, allocations: 182.6 kB / 350.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.1397, allocations: 88.83 kB / 350.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.1397, allocations: 7.938 kB / 350.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.1398, allocations: 42.5 kB / 350.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.372e-06/0.1398, allocations: 0 / 350.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.002658/0.1424, allocations: 0.9881 MB / 351.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.066e-05/0.1425, allocations: 59.41 kB / 351.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.1428, allocations: 262.5 kB / 352.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.1428, allocations: 33.64 kB / 352.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.143, allocations: 180.2 kB / 352.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.61e-05/0.1431, allocations: 94.64 kB / 352.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.892e-05/0.1432, allocations: 69.39 kB / 352.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1433, allocations: 334.8 kB / 352.8 MB, free: 9.801 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.1435, allocations: 83.97 kB / 352.9 MB, free: 9.719 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.1437, allocations: 178.9 kB / 353.1 MB, free: 9.504 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003902/0.1441, allocations: 287 kB / 353.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1441, allocations: 0 / 353.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006544/0.1448, allocations: 382.7 kB / 353.7 MB, free: 8.797 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.1448, allocations: 8 kB / 353.8 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1448, allocations: 4 kB / 353.8 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002723/0.1451, allocations: 57.67 kB / 353.8 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.1454, allocations: 72.22 kB / 353.9 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/0.1478, allocations: 2.886 MB / 356.8 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.148, allocations: 15.94 kB / 356.8 MB, free: 5.469 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.1481, allocations: 16 kB / 356.8 MB, free: 5.453 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.0001622/0.1482, allocations: 153.8 kB / 357 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-05/0.1483, allocations: 23.72 kB / 357 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.141e-05/0.1484, allocations: 38.17 kB / 357 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1484, allocations: 4 kB / 357 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.1484, allocations: 0 / 357 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005966/0.149, allocations: 0.5631 MB / 357.6 MB, free: 4.578 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009307/0.15, allocations: 0.7067 MB / 358.3 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.15, allocations: 0 / 358.3 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.1502, allocations: 48.05 kB / 358.3 MB, free: 3.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002158/0.1504, allocations: 56.81 kB / 358.4 MB, free: 3.703 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.1504, allocations: 7.938 kB / 358.4 MB, free: 3.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.1516, allocations: 1.492 MB / 359.9 MB, free: 2.062 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1516, allocations: 0 / 359.9 MB, free: 2.062 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007205/0.1523, allocations: 473.1 kB / 360.4 MB, free: 1.578 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.735e-05/0.1524, allocations: 100.8 kB / 360.5 MB, free: 1.461 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/0.1525, allocations: 11.98 kB / 360.5 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.1527, allocations: 8 kB / 360.5 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.1527, allocations: 11.98 kB / 360.5 MB, free: 1.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.1528, allocations: 15.98 kB / 360.5 MB, free: 1.414 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001866/0.153, allocations: 185.9 kB / 360.7 MB, free: 1.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.153, allocations: 0 / 360.7 MB, free: 1.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003992/0.1534, allocations: 92.06 kB / 360.8 MB, free: 1.141 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.0001504/0.1535, allocations: 104.5 kB / 360.9 MB, free: 1.031 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00079/0.1543, allocations: 494 kB / 361.4 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.1543, allocations: 0 / 361.4 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003702/0.1547, allocations: 242.4 kB / 361.6 MB, free: 280 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.1557, allocations: 156.5 kB / 361.7 MB, free: 124 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.157, allocations: 0.686 MB / 362.4 MB, free: 15.4 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.1573, allocations: 0.7721 MB / 363.2 MB, free: 14.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000275/0.1576, allocations: 54.94 kB / 363.3 MB, free: 14.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.92e-05/0.1577, allocations: 23.44 kB / 363.3 MB, free: 14.53 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1577, allocations: 0 / 363.3 MB, free: 14.53 MB / 318.1 MB Notification: Performance of Templates: time 0.01015/0.1679, allocations: 5.676 MB / 369 MB, free: 8.859 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)