Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2.2_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.00125/0.00125, allocations: 103.8 kB / 16.92 MB, free: 5.855 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.001739/0.001739, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.531/1.531, allocations: 205.1 MB / 223.7 MB, free: 12.32 MB / 190.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.001165/0.001165, allocations: 52.41 kB / 280 MB, free: 3.168 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09167/0.09285, allocations: 46.63 MB / 326.6 MB, free: 4.465 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.0272/0.1201, allocations: 24.56 MB / 351.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003156/0.1233, allocations: 2.491 MB / 353.7 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.1235, allocations: 7.938 kB / 353.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005261/0.1241, allocations: 163 kB / 353.9 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006202/0.1247, allocations: 318.2 kB / 354.2 MB, free: 8.812 MB / 302.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.002261/0.127, allocations: 1.009 MB / 355.2 MB, free: 7.801 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000957/0.1279, allocations: 0.9029 MB / 356.1 MB, free: 6.895 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.1282, allocations: 104.7 kB / 356.2 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004483/0.1326, allocations: 3.056 MB / 359.2 MB, free: 3.734 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004899/0.1331, allocations: 278.9 kB / 359.5 MB, free: 3.461 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.758e-05/0.1332, allocations: 28 kB / 359.5 MB, free: 3.434 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006462/0.1339, allocations: 243.6 kB / 359.8 MB, free: 3.195 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.134, allocations: 95.72 kB / 359.9 MB, free: 3.102 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002138/0.1342, allocations: 195.2 kB / 360.1 MB, free: 2.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006358/0.1349, allocations: 0.5686 MB / 360.6 MB, free: 2.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1349, allocations: 0 / 360.6 MB, free: 2.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1349, allocations: 0 / 360.6 MB, free: 2.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1349, allocations: 4 kB / 360.6 MB, free: 2.336 MB / 302.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.0008301/0.1357, allocations: 0.6199 MB / 361.3 MB, free: 1.668 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1358, allocations: 15.89 kB / 361.3 MB, free: 1.652 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003663/0.1362, allocations: 52.53 kB / 361.3 MB, free: 1.602 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.1365, allocations: 283.7 kB / 361.6 MB, free: 1.285 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.1366, allocations: 20.94 kB / 361.6 MB, free: 1.266 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.345e-05/0.1366, allocations: 24.38 kB / 361.6 MB, free: 1.242 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005448/0.1372, allocations: 346.3 kB / 362 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.1372, allocations: 0 / 362 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.931e-05/0.1372, allocations: 12 kB / 362 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.1373, allocations: 12 kB / 362 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003197/0.1376, allocations: 193.5 kB / 362.2 MB, free: 0.6562 MB / 302.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.002066/0.1397, allocations: 2.119 MB / 364.3 MB, free: 14.31 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.14, allocations: 182.6 kB / 364.5 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.1401, allocations: 84.77 kB / 364.6 MB, free: 14.04 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/0.1403, allocations: 255.5 kB / 364.8 MB, free: 13.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.479e-05/0.1404, allocations: 38.56 kB / 364.9 MB, free: 13.69 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.523e-06/0.1404, allocations: 0 / 364.9 MB, free: 13.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.002603/0.143, allocations: 1.026 MB / 365.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.1431, allocations: 55.41 kB / 365.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002779/0.1433, allocations: 258.6 kB / 366.2 MB, free: 12.26 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.1434, allocations: 41.7 kB / 366.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.1435, allocations: 180.2 kB / 366.4 MB, free: 12.03 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.481e-05/0.1436, allocations: 110.4 kB / 366.5 MB, free: 11.92 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.1437, allocations: 70.06 kB / 366.6 MB, free: 11.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1439, allocations: 338.8 kB / 366.9 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.144, allocations: 84.7 kB / 367 MB, free: 11.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.1443, allocations: 178.6 kB / 367.2 MB, free: 11.22 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003731/0.1446, allocations: 277.1 kB / 367.4 MB, free: 10.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1447, allocations: 0 / 367.4 MB, free: 10.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005992/0.1453, allocations: 385.5 kB / 367.8 MB, free: 10.53 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.1453, allocations: 8 kB / 367.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1453, allocations: 0 / 367.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004093/0.1457, allocations: 101.1 kB / 367.9 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.146, allocations: 63.91 kB / 368 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00061/0.1466, allocations: 0.6537 MB / 368.6 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.1468, allocations: 15.98 kB / 368.7 MB, free: 9.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/0.1468, allocations: 23.98 kB / 368.7 MB, free: 9.637 MB / 318.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.000181/0.147, allocations: 153.7 kB / 368.8 MB, free: 9.477 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.652e-05/0.1471, allocations: 35.66 kB / 368.9 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006902/0.1478, allocations: 369 kB / 369.2 MB, free: 9.055 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.1478, allocations: 7.938 kB / 369.2 MB, free: 9.047 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1478, allocations: 0 / 369.2 MB, free: 9.047 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005684/0.1484, allocations: 0.5515 MB / 369.8 MB, free: 8.406 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.1495, allocations: 0.74 MB / 370.5 MB, free: 7.602 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.1495, allocations: 4 kB / 370.5 MB, free: 7.598 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.1497, allocations: 31.92 kB / 370.6 MB, free: 7.566 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004885/0.1502, allocations: 108.8 kB / 370.7 MB, free: 7.457 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.1502, allocations: 8 kB / 370.7 MB, free: 7.449 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005073/0.1507, allocations: 0.6381 MB / 371.3 MB, free: 6.785 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1508, allocations: 0 / 371.3 MB, free: 6.785 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006886/0.1515, allocations: 489.5 kB / 371.8 MB, free: 6.281 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.377e-05/0.1515, allocations: 100.9 kB / 371.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.084e-05/0.1516, allocations: 8 kB / 371.9 MB, free: 6.156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.1518, allocations: 11.98 kB / 371.9 MB, free: 6.145 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.1519, allocations: 16.05 kB / 371.9 MB, free: 6.129 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/0.1519, allocations: 15.98 kB / 371.9 MB, free: 6.113 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001905/0.1521, allocations: 198 kB / 372.1 MB, free: 5.922 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1521, allocations: 0 / 372.1 MB, free: 5.922 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004366/0.1525, allocations: 112 kB / 372.2 MB, free: 5.812 MB / 318.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.0002606/0.1528, allocations: 147.1 kB / 372.4 MB, free: 5.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005449/0.1534, allocations: 260.2 kB / 372.6 MB, free: 5.406 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.1534, allocations: 4 kB / 372.6 MB, free: 5.402 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002745/0.1537, allocations: 127.5 kB / 372.8 MB, free: 5.277 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.1548, allocations: 168.9 kB / 372.9 MB, free: 5.113 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.156, allocations: 0.6366 MB / 373.6 MB, free: 4.445 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.1563, allocations: 0.7723 MB / 374.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002802/0.1566, allocations: 63.19 kB / 374.4 MB, free: 3.586 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.777e-05/0.1567, allocations: 27.44 kB / 374.4 MB, free: 3.559 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1567, allocations: 0 / 374.4 MB, free: 3.559 MB / 318.1 MB Notification: Performance of Templates: time 0.1549/0.3116, allocations: 7 MB / 381.4 MB, free: 56.57 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1)