Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.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.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01004/0.01004, allocations: 98.52 kB / 15.73 MB, free: 6.055 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.002216/0.002216, allocations: 192.6 kB / 16.67 MB, free: 5.977 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.624/1.624, 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.00115/0.00115, allocations: 50.33 kB / 326.6 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09791/0.09906, allocations: 46.62 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.02568/0.1248, allocations: 24.56 MB / 397.8 MB, free: 8.633 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003518/0.1283, allocations: 2.491 MB / 400.3 MB, free: 6.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003806/0.1288, allocations: 4 kB / 400.3 MB, free: 6.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007177/0.1295, allocations: 162.9 kB / 400.4 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008548/0.1304, allocations: 326.2 kB / 400.7 MB, free: 5.648 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1250:3-1403:19:writable] Warning: Pure function 'Modelica.Math.Matrices.leastSquares' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgelsy_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.002284/0.1327, allocations: 1.005 MB / 401.8 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001112/0.1338, allocations: 0.8992 MB / 402.6 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/0.1341, allocations: 116.4 kB / 402.8 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004295/0.1384, allocations: 3.055 MB / 405.8 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004039/0.1388, allocations: 270.9 kB / 406.1 MB, free: 300 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.021e-05/0.1389, allocations: 28 kB / 406.1 MB, free: 272 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005599/0.1394, allocations: 239.7 kB / 406.3 MB, free: 32 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.1396, allocations: 103.8 kB / 406.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002096/0.1398, allocations: 191.2 kB / 406.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006887/0.1405, allocations: 0.5799 MB / 407.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1405, allocations: 0 / 407.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1405, allocations: 0 / 407.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.1405, allocations: 3.984 kB / 407.2 MB, free: 15.16 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008131/0.1413, allocations: 0.6309 MB / 407.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.462e-05/0.1414, allocations: 8.031 kB / 407.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000353/0.1417, allocations: 56.73 kB / 407.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.1422, allocations: 299.7 kB / 408.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.1422, allocations: 16.94 kB / 408.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.1422, allocations: 28.38 kB / 408.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004677/0.1427, allocations: 342.3 kB / 408.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.1427, allocations: 0 / 408.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.432e-05/0.1428, allocations: 12 kB / 408.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1428, allocations: 8 kB / 408.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002937/0.1431, allocations: 193.5 kB / 408.8 MB, free: 13.46 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.1451, allocations: 2.116 MB / 410.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.1454, allocations: 178.6 kB / 411.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.1456, allocations: 92.77 kB / 411.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001684/0.1457, allocations: 255.5 kB / 411.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.1458, allocations: 38.56 kB / 411.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.383e-06/0.1458, allocations: 0 / 411.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.002408/0.1482, allocations: 1.027 MB / 412.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.1482, allocations: 59.34 kB / 412.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.1485, allocations: 258.6 kB / 412.8 MB, free: 9.055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.1486, allocations: 33.7 kB / 412.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.1487, allocations: 192.5 kB / 413 MB, free: 8.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.007e-05/0.1488, allocations: 111.1 kB / 413.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.98e-05/0.1489, allocations: 70.06 kB / 413.2 MB, free: 8.641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1491, allocations: 338.8 kB / 413.5 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.1492, allocations: 84.7 kB / 413.6 MB, free: 8.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.1495, allocations: 178.6 kB / 413.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003842/0.1499, allocations: 285 kB / 414.1 MB, free: 7.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.1499, allocations: 3.938 kB / 414.1 MB, free: 7.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006154/0.1505, allocations: 381.9 kB / 414.4 MB, free: 7.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1505, allocations: 8 kB / 414.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1505, allocations: 0 / 414.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000413/0.1509, allocations: 96.78 kB / 414.5 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.1512, allocations: 63.91 kB / 414.6 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005903/0.1518, allocations: 0.6541 MB / 415.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.152, allocations: 16 kB / 415.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/0.152, allocations: 23.92 kB / 415.3 MB, free: 6.426 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (36): * Single equations (assignments): 35 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001721/0.1522, allocations: 149.8 kB / 415.4 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-05/0.1523, allocations: 35.75 kB / 415.5 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006245/0.1529, allocations: 380.8 kB / 415.8 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.1529, allocations: 8.062 kB / 415.9 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.153, allocations: 0 / 415.9 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005188/0.1535, allocations: 0.5513 MB / 416.4 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.1545, allocations: 0.7348 MB / 417.1 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1545, allocations: 4 kB / 417.1 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.1547, allocations: 35.98 kB / 417.2 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00048/0.1552, allocations: 100.8 kB / 417.3 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.1552, allocations: 8 kB / 417.3 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005275/0.1558, allocations: 0.6497 MB / 417.9 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/0.1558, allocations: 4.062 kB / 417.9 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007398/0.1565, allocations: 491.2 kB / 418.4 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.7e-05/0.1566, allocations: 101 kB / 418.5 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.808e-05/0.1567, allocations: 8 kB / 418.5 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.1569, allocations: 16.05 kB / 418.5 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.1569, allocations: 11.98 kB / 418.6 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.862e-05/0.157, allocations: 15.98 kB / 418.6 MB, free: 2.891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001874/0.1572, allocations: 198 kB / 418.8 MB, free: 2.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1572, allocations: 0 / 418.8 MB, free: 2.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004431/0.1576, allocations: 115.9 kB / 418.9 MB, free: 2.582 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (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 (18): * Single equations (assignments): 17 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002648/0.1579, allocations: 139.1 kB / 419 MB, free: 2.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005225/0.1584, allocations: 260 kB / 419.3 MB, free: 2.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1584, allocations: 0 / 419.3 MB, free: 2.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002704/0.1587, allocations: 123.8 kB / 419.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009158/0.1596, allocations: 157.4 kB / 419.5 MB, free: 1.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.1609, allocations: 0.643 MB / 420.2 MB, free: 1.227 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.1612, allocations: 0.7606 MB / 420.9 MB, free: 452 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002602/0.1615, allocations: 75.11 kB / 421 MB, free: 380 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.937e-05/0.1616, allocations: 27.44 kB / 421 MB, free: 356 kB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1616, allocations: 0 / 421 MB, free: 356 kB / 350.1 MB Notification: Performance of Templates: time 0.01337/0.175, allocations: 7.077 MB / 428.1 MB, free: 9.254 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1)