Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.005886/0.005891, allocations: 99.33 kB / 15.73 MB, free: 6.012 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.001151/0.001151, allocations: 190.4 kB / 16.67 MB, free: 5.934 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.554/1.554, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.001191/0.001191, allocations: 45.94 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1181, allocations: 46.64 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.01738/0.1355, allocations: 15.84 MB / 389.1 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002968/0.1385, allocations: 1.908 MB / 391 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003982/0.139, allocations: 4 kB / 391 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007421/0.1397, allocations: 170.9 kB / 391.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008365/0.1406, allocations: 306.3 kB / 391.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007797/0.1414, allocations: 291.4 kB / 391.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.1425, allocations: 0.8368 MB / 392.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002431/0.1428, allocations: 112.5 kB / 392.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00129/0.1441, allocations: 0.5058 MB / 393.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004994/0.1446, allocations: 270.9 kB / 393.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.327e-05/0.1447, allocations: 28 kB / 393.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.1449, allocations: 40 kB / 393.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.145, allocations: 91.7 kB / 393.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002211/0.1452, allocations: 187.2 kB / 393.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005265/0.1458, allocations: 434.4 kB / 394.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.1458, allocations: 3.984 kB / 394.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1458, allocations: 0 / 394.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.1458, allocations: 4 kB / 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.001033/0.1469, allocations: 0.5845 MB / 394.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1469, allocations: 12.03 kB / 394.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003065/0.1472, allocations: 48.73 kB / 394.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000526/0.1478, allocations: 287.8 kB / 395.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.1478, allocations: 20.94 kB / 395.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.61e-05/0.1479, allocations: 24.38 kB / 395.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005262/0.1484, allocations: 307.9 kB / 395.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.1484, allocations: 3.938 kB / 395.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.954e-05/0.1485, allocations: 12 kB / 395.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.1485, allocations: 8 kB / 395.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003772/0.1489, allocations: 193.6 kB / 395.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.1509, allocations: 1.444 MB / 397.1 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.1513, allocations: 178.6 kB / 397.3 MB, free: 8.859 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.1514, allocations: 84.84 kB / 397.4 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.1515, allocations: 7.984 kB / 397.4 MB, free: 8.766 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.1515, allocations: 42.5 kB / 397.4 MB, free: 8.715 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.663e-06/0.1515, allocations: 0 / 397.4 MB, free: 8.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002545/0.1541, allocations: 1 MB / 398.4 MB, free: 7.637 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.1541, allocations: 55.41 kB / 398.5 MB, free: 7.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.1545, allocations: 262.5 kB / 398.8 MB, free: 7.305 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.1545, allocations: 29.7 kB / 398.8 MB, free: 7.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.1547, allocations: 188.4 kB / 399 MB, free: 7.078 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.506e-05/0.1548, allocations: 95.16 kB / 399.1 MB, free: 6.984 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.1549, allocations: 61.7 kB / 399.1 MB, free: 6.918 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.155, allocations: 342.8 kB / 399.5 MB, free: 6.574 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.1552, allocations: 87.95 kB / 399.5 MB, free: 6.488 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.1555, allocations: 174.9 kB / 399.7 MB, free: 6.277 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003957/0.1559, allocations: 283 kB / 400 MB, free: 5.961 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1559, allocations: 0 / 400 MB, free: 5.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006773/0.1566, allocations: 394.7 kB / 400.4 MB, free: 5.562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.1566, allocations: 8 kB / 400.4 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.1566, allocations: 0 / 400.4 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002588/0.1569, allocations: 62.05 kB / 400.4 MB, free: 5.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.1572, allocations: 71.91 kB / 400.5 MB, free: 5.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/0.1595, allocations: 2.89 MB / 403.4 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.1597, allocations: 11.94 kB / 403.4 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.1597, allocations: 16 kB / 403.4 MB, free: 2.223 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.0001662/0.1599, allocations: 153.7 kB / 403.6 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/0.16, allocations: 31.88 kB / 403.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.316e-05/0.1601, allocations: 38.17 kB / 403.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1601, allocations: 0 / 403.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.1601, allocations: 4 kB / 403.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006103/0.1607, allocations: 0.5552 MB / 404.2 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009992/0.1617, allocations: 0.7075 MB / 404.9 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1617, allocations: 0 / 404.9 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.1619, allocations: 39.92 kB / 405 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002155/0.1622, allocations: 48.8 kB / 405 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.1622, allocations: 11.98 kB / 405 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00121/0.1634, allocations: 1.484 MB / 406.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1634, allocations: 4.062 kB / 406.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007145/0.1642, allocations: 481.7 kB / 407 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.178e-05/0.1643, allocations: 101 kB / 407.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.1643, allocations: 4 kB / 407.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.1645, allocations: 8 kB / 407.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.1646, allocations: 20.03 kB / 407.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.1646, allocations: 15.94 kB / 407.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001826/0.1648, allocations: 189.9 kB / 407.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1648, allocations: 0 / 407.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000399/0.1652, allocations: 88 kB / 407.4 MB, free: 13.92 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.0001515/0.1654, allocations: 111.1 kB / 407.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007972/0.1662, allocations: 481.1 kB / 408 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.1662, allocations: 0 / 408 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003867/0.1666, allocations: 239.3 kB / 408.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000935/0.1675, allocations: 165.6 kB / 408.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.1691, allocations: 0.6815 MB / 409 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.1695, allocations: 0.7606 MB / 409.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003509/0.1699, allocations: 54.94 kB / 409.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.372e-05/0.17, allocations: 23.44 kB / 409.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.17, allocations: 0 / 409.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of Templates: time 0.01225/0.1823, allocations: 5.744 MB / 415.6 MB, free: 5.566 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)