Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.008454/0.008454, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.002033/0.002033, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.469/1.469, allocations: 205.1 MB / 222.6 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.001472/0.001472, allocations: 49.64 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1171, allocations: 46.63 MB / 373.2 MB, free: 1.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01883/0.1359, allocations: 15.83 MB / 389.1 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002715/0.1387, allocations: 1.908 MB / 391 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.139, allocations: 4 kB / 391 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006775/0.1397, allocations: 182.9 kB / 391.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006498/0.1404, allocations: 306.3 kB / 391.4 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006768/0.141, allocations: 283.5 kB / 391.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008573/0.1419, allocations: 0.8446 MB / 392.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.1421, allocations: 104.5 kB / 392.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000981/0.1431, allocations: 0.5175 MB / 393.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003438/0.1435, allocations: 270.9 kB / 393.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.495e-05/0.1435, allocations: 28 kB / 393.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.1437, allocations: 43.98 kB / 393.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.1438, allocations: 87.72 kB / 393.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.144, allocations: 179.2 kB / 393.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000462/0.1445, allocations: 438.6 kB / 394.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1445, allocations: 4 kB / 394.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1445, allocations: 0 / 394.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.1445, allocations: 0 / 394.2 MB, free: 12.2 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.1456, allocations: 0.5809 MB / 394.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.1456, allocations: 15.89 kB / 394.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003169/0.1459, allocations: 44.55 kB / 394.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005097/0.1465, allocations: 291.7 kB / 395.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.1465, allocations: 16.94 kB / 395.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.84e-05/0.1466, allocations: 24.38 kB / 395.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005328/0.1471, allocations: 311.8 kB / 395.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.1471, allocations: 4 kB / 395.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/0.1472, allocations: 8 kB / 395.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.1472, allocations: 4 kB / 395.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003237/0.1475, allocations: 197.6 kB / 395.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.1493, allocations: 1.436 MB / 397.1 MB, free: 9.051 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.1497, allocations: 174.5 kB / 397.3 MB, free: 8.871 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.1498, allocations: 92.92 kB / 397.4 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.1498, allocations: 4 kB / 397.4 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.1499, allocations: 38.56 kB / 397.4 MB, free: 8.727 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.984e-06/0.1499, allocations: 0 / 397.4 MB, free: 8.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002411/0.1523, allocations: 1.004 MB / 398.4 MB, free: 7.645 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.1524, allocations: 51.41 kB / 398.5 MB, free: 7.582 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.1526, allocations: 258.5 kB / 398.7 MB, free: 7.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.1527, allocations: 33.7 kB / 398.8 MB, free: 7.281 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.1528, allocations: 176.2 kB / 398.9 MB, free: 7.102 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.192e-05/0.1528, allocations: 90.66 kB / 399 MB, free: 7.012 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-05/0.153, allocations: 69.64 kB / 399.1 MB, free: 6.938 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1531, allocations: 334.8 kB / 399.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.1532, allocations: 83.97 kB / 399.5 MB, free: 6.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.1534, allocations: 182.9 kB / 399.7 MB, free: 6.301 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.1538, allocations: 283 kB / 400 MB, free: 5.984 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1538, allocations: 3.938 kB / 400 MB, free: 5.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006562/0.1545, allocations: 394.5 kB / 400.4 MB, free: 5.582 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.1545, allocations: 7.984 kB / 400.4 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.1545, allocations: 4 kB / 400.4 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002875/0.1548, allocations: 66.05 kB / 400.4 MB, free: 5.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/0.1552, allocations: 71.84 kB / 400.5 MB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/0.1575, allocations: 2.871 MB / 403.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.1577, allocations: 15.97 kB / 403.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.1578, allocations: 12 kB / 403.4 MB, free: 2.254 MB / 334.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.0001714/0.158, allocations: 161.8 kB / 403.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/0.158, allocations: 31.62 kB / 403.6 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.335e-05/0.1581, allocations: 30.19 kB / 403.6 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.1581, allocations: 4 kB / 403.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.1581, allocations: 3.984 kB / 403.6 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005702/0.1587, allocations: 0.559 MB / 404.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.1597, allocations: 0.6998 MB / 404.9 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1597, allocations: 0 / 404.9 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.1599, allocations: 51.91 kB / 404.9 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000217/0.1602, allocations: 48.8 kB / 405 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.1602, allocations: 7.984 kB / 405 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/0.1614, allocations: 1.492 MB / 406.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1614, allocations: 0 / 406.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006744/0.1621, allocations: 477.6 kB / 406.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.931e-05/0.1622, allocations: 100.8 kB / 407 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/0.1622, allocations: 8.125 kB / 407.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.1625, allocations: 12 kB / 407.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.1625, allocations: 15.97 kB / 407.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.1625, allocations: 8 kB / 407.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001994/0.1627, allocations: 189.9 kB / 407.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1628, allocations: 3.938 kB / 407.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000403/0.1632, allocations: 88 kB / 407.4 MB, free: 13.95 MB / 350.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.0001506/0.1633, allocations: 107.2 kB / 407.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007733/0.1641, allocations: 477.2 kB / 407.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1641, allocations: 0.75 kB / 407.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003655/0.1645, allocations: 238.5 kB / 408.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009566/0.1655, allocations: 173.5 kB / 408.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.1668, allocations: 0.686 MB / 409 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.1672, allocations: 0.7606 MB / 409.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002436/0.1675, allocations: 54.94 kB / 409.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.554e-05/0.1676, allocations: 23.44 kB / 409.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1676, allocations: 7.938 kB / 409.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of Templates: time 0.01123/0.1788, allocations: 5.728 MB / 415.6 MB, free: 5.594 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)