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.005528/0.005528, allocations: 98.11 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.001258/0.001258, allocations: 192.5 kB / 16.67 MB, free: 5.949 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.437/1.437, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.001861/0.001861, allocations: 50.25 kB / 326.6 MB, free: 14.29 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1371, allocations: 46.63 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.0182/0.1554, allocations: 15.84 MB / 389.1 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003222/0.1587, allocations: 1.904 MB / 391 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003834/0.1591, allocations: 4 kB / 391 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008538/0.16, allocations: 174.9 kB / 391.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001185/0.1612, allocations: 310.2 kB / 391.4 MB, free: 15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.1623, allocations: 283.5 kB / 391.7 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001399/0.1637, allocations: 0.8446 MB / 392.6 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002453/0.1639, allocations: 112.5 kB / 392.7 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00128/0.1652, allocations: 0.5019 MB / 393.2 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004616/0.1657, allocations: 274.9 kB / 393.4 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.939e-05/0.1658, allocations: 35.94 kB / 393.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.166, allocations: 40 kB / 393.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.1661, allocations: 87.77 kB / 393.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.1663, allocations: 183.2 kB / 393.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005569/0.1669, allocations: 442.4 kB / 394.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1669, allocations: 0 / 394.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1669, allocations: 0 / 394.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.1669, allocations: 0 / 394.2 MB, free: 12.21 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.000998/0.1679, allocations: 0.5884 MB / 394.8 MB, free: 11.58 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.168, allocations: 11.89 kB / 394.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002935/0.1683, allocations: 44.73 kB / 394.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004635/0.1687, allocations: 295.8 kB / 395.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.1688, allocations: 16.94 kB / 395.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/0.1688, allocations: 24.38 kB / 395.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004874/0.1693, allocations: 307.8 kB / 395.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.1693, allocations: 0 / 395.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.833e-05/0.1694, allocations: 16 kB / 395.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.1694, allocations: 4 kB / 395.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003578/0.1698, allocations: 197.6 kB / 395.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.1716, allocations: 1.44 MB / 397.1 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003334/0.1719, allocations: 182.6 kB / 397.3 MB, free: 8.871 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.1721, allocations: 92.77 kB / 397.4 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.1721, allocations: 0 / 397.4 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.1721, allocations: 38.56 kB / 397.4 MB, free: 8.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.262e-06/0.1722, allocations: 0 / 397.4 MB, free: 8.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002492/0.1747, allocations: 0.9964 MB / 398.4 MB, free: 7.656 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.1747, allocations: 51.41 kB / 398.5 MB, free: 7.594 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.175, allocations: 266.5 kB / 398.8 MB, free: 7.324 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/0.175, allocations: 33.7 kB / 398.8 MB, free: 7.285 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.1752, allocations: 188.4 kB / 399 MB, free: 7.094 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.365e-05/0.1752, allocations: 95.17 kB / 399.1 MB, free: 7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.1753, allocations: 61.7 kB / 399.1 MB, free: 6.934 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1755, allocations: 342.8 kB / 399.5 MB, free: 6.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.1756, allocations: 79.97 kB / 399.5 MB, free: 6.512 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.1758, allocations: 178.9 kB / 399.7 MB, free: 6.297 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003774/0.1762, allocations: 291 kB / 400 MB, free: 5.973 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1762, allocations: 0 / 400 MB, free: 5.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006753/0.1769, allocations: 391 kB / 400.4 MB, free: 5.578 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1769, allocations: 4 kB / 400.4 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.177, allocations: 4 kB / 400.4 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002788/0.1772, allocations: 65.61 kB / 400.4 MB, free: 5.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.1776, allocations: 67.91 kB / 400.5 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002736/0.1803, allocations: 2.883 MB / 403.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.1806, allocations: 15.92 kB / 403.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.1806, allocations: 8 kB / 403.4 MB, free: 2.25 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.0001965/0.1808, allocations: 153.7 kB / 403.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.539e-05/0.1809, allocations: 31.81 kB / 403.6 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.738e-05/0.181, allocations: 34.17 kB / 403.6 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.237e-06/0.181, allocations: 4 kB / 403.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.181, allocations: 0 / 403.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006168/0.1816, allocations: 0.563 MB / 404.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.1827, allocations: 0.7037 MB / 404.9 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1827, allocations: 0 / 404.9 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.1829, allocations: 43.92 kB / 404.9 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002216/0.1832, allocations: 56.81 kB / 405 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.1832, allocations: 8 kB / 405 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001221/0.1844, allocations: 1.488 MB / 406.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1844, allocations: 0 / 406.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007228/0.1852, allocations: 485.7 kB / 407 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.266e-05/0.1853, allocations: 97 kB / 407.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/0.1853, allocations: 4 kB / 407.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.1855, allocations: 12 kB / 407.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.1856, allocations: 15.97 kB / 407.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.1856, allocations: 15.92 kB / 407.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001849/0.1858, allocations: 185.9 kB / 407.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1858, allocations: 4.062 kB / 407.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004384/0.1863, allocations: 92 kB / 407.4 MB, free: 13.94 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.0002107/0.1865, allocations: 107.1 kB / 407.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009513/0.1874, allocations: 481.9 kB / 408 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.1875, allocations: 0 / 408 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000407/0.1879, allocations: 234.5 kB / 408.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009905/0.1889, allocations: 169.6 kB / 408.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.1904, allocations: 0.6853 MB / 409 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.1908, allocations: 0.7645 MB / 409.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002436/0.191, allocations: 50.95 kB / 409.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.027e-05/0.1911, allocations: 23.44 kB / 409.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1911, allocations: 0 / 409.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of Templates: time 0.01098/0.2021, allocations: 5.74 MB / 415.6 MB, free: 5.586 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)