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.006817/0.006817, allocations: 103.9 kB / 15.73 MB, free: 6.039 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.001102/0.001102, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.462/1.462, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.001232/0.001232, allocations: 50 kB / 326.6 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1123, allocations: 46.62 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.017/0.1293, allocations: 15.84 MB / 389.1 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.1318, allocations: 1.901 MB / 391 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.132, allocations: 7.938 kB / 391 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005838/0.1326, allocations: 175 kB / 391.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005636/0.1332, allocations: 314.2 kB / 391.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005911/0.1338, allocations: 287.4 kB / 391.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000925/0.1347, allocations: 0.8407 MB / 392.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002541/0.135, allocations: 108.5 kB / 392.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.1362, allocations: 0.5175 MB / 393.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003536/0.1366, allocations: 270.9 kB / 393.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.834e-05/0.1366, allocations: 28 kB / 393.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.1368, allocations: 43.98 kB / 393.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.1369, allocations: 79.8 kB / 393.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.1371, allocations: 187.2 kB / 393.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004831/0.1376, allocations: 442.6 kB / 394.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1376, allocations: 0 / 394.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1376, allocations: 0 / 394.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.1376, 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.0009745/0.1386, allocations: 0.581 MB / 394.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.1387, allocations: 8.031 kB / 394.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002769/0.1389, allocations: 44.5 kB / 394.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004433/0.1394, allocations: 291.7 kB / 395.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.1394, allocations: 16.94 kB / 395.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.046e-05/0.1395, allocations: 24.38 kB / 395.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004797/0.14, allocations: 311.8 kB / 395.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.14, allocations: 0 / 395.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/0.14, allocations: 12 kB / 395.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.1401, allocations: 4 kB / 395.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003219/0.1404, allocations: 193.5 kB / 395.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.1422, allocations: 1.44 MB / 397.1 MB, free: 9.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.1425, allocations: 178.6 kB / 397.3 MB, free: 8.883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.1427, allocations: 88.83 kB / 397.4 MB, free: 8.793 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.1427, allocations: 4 kB / 397.4 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.1428, allocations: 38.56 kB / 397.4 MB, free: 8.742 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.1428, allocations: 0 / 397.4 MB, free: 8.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002544/0.1453, allocations: 1.004 MB / 398.4 MB, free: 7.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.1454, allocations: 55.39 kB / 398.5 MB, free: 7.594 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/0.1457, allocations: 258.5 kB / 398.7 MB, free: 7.332 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.1457, allocations: 33.7 kB / 398.8 MB, free: 7.293 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.1458, allocations: 172.2 kB / 398.9 MB, free: 7.117 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.138e-05/0.1459, allocations: 110.5 kB / 399 MB, free: 7.008 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.694e-05/0.146, allocations: 61.7 kB / 399.1 MB, free: 6.941 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1462, allocations: 334.8 kB / 399.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.1463, allocations: 83.97 kB / 399.5 MB, free: 6.523 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.1465, allocations: 182.9 kB / 399.7 MB, free: 6.305 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/0.1469, allocations: 287 kB / 400 MB, free: 5.984 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1469, allocations: 0 / 400 MB, free: 5.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006733/0.1476, allocations: 390.6 kB / 400.4 MB, free: 5.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.1476, allocations: 4 kB / 400.4 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.1477, allocations: 4 kB / 400.4 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002694/0.1479, allocations: 66.05 kB / 400.4 MB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/0.1482, allocations: 67.91 kB / 400.5 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.1506, allocations: 2.879 MB / 403.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.1508, allocations: 11.94 kB / 403.4 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.1509, allocations: 12 kB / 403.4 MB, free: 2.266 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.0002023/0.1511, allocations: 153.8 kB / 403.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.425e-05/0.1511, allocations: 31.62 kB / 403.6 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.374e-05/0.1512, allocations: 34.17 kB / 403.6 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1512, allocations: 4 kB / 403.6 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.1513, allocations: 0 / 403.6 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006909/0.152, allocations: 0.5629 MB / 404.2 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.1531, allocations: 0.7152 MB / 404.9 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.1531, allocations: 0 / 404.9 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.1533, allocations: 47.97 kB / 404.9 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002243/0.1535, allocations: 48.8 kB / 405 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.1536, allocations: 8 kB / 405 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/0.1549, allocations: 1.492 MB / 406.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1549, allocations: 0 / 406.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006949/0.1556, allocations: 477.6 kB / 407 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.742e-05/0.1557, allocations: 104.8 kB / 407.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.1557, allocations: 8.125 kB / 407.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.1559, allocations: 8 kB / 407.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.156, allocations: 15.92 kB / 407.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.156, allocations: 11.98 kB / 407.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002101/0.1563, allocations: 197.8 kB / 407.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1563, allocations: 0 / 407.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004457/0.1567, allocations: 88 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.0001922/0.1569, allocations: 99.25 kB / 407.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008888/0.1578, allocations: 477.9 kB / 407.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.1578, allocations: 0 / 407.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004282/0.1583, allocations: 234.5 kB / 408.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009696/0.1592, allocations: 165.5 kB / 408.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.1608, allocations: 0.6898 MB / 409 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.1613, allocations: 0.7567 MB / 409.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002704/0.1615, allocations: 54.94 kB / 409.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.313e-05/0.1616, allocations: 23.44 kB / 409.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1616, allocations: 4 kB / 409.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of Templates: time 0.01172/0.1733, allocations: 5.74 MB / 415.6 MB, free: 5.602 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)