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.001139/0.001142, allocations: 113.2 kB / 17.06 MB, free: 5.977 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.0009895/0.0009895, allocations: 198.9 kB / 18.01 MB, free: 5.059 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.486/1.486, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.001246/0.001246, allocations: 51.94 kB / 327.9 MB, free: 3.238 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1023, allocations: 46.62 MB / 374.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.214/0.3163, allocations: 24.56 MB / 399.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003473/0.3198, allocations: 2.484 MB / 401.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.3201, allocations: 8.531 kB / 401.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005514/0.3207, allocations: 158.4 kB / 401.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006758/0.3214, allocations: 327.8 kB / 402.1 MB, free: 12.01 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.002503/0.3239, allocations: 1.007 MB / 403.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001183/0.3251, allocations: 0.8998 MB / 404 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.3253, allocations: 115.9 kB / 404.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00572/0.331, allocations: 3.065 MB / 407.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007451/0.3318, allocations: 273.8 kB / 407.4 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.3319, allocations: 30.12 kB / 407.4 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009028/0.3328, allocations: 234.8 kB / 407.7 MB, free: 9.926 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.333, allocations: 97.8 kB / 407.8 MB, free: 9.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003316/0.3334, allocations: 195.2 kB / 408 MB, free: 9.738 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.3344, allocations: 0.5772 MB / 408.5 MB, free: 9.355 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3344, allocations: 1.312 kB / 408.5 MB, free: 9.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.3344, allocations: 0 / 408.5 MB, free: 9.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.3344, allocations: 3.938 kB / 408.5 MB, free: 9.352 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001052/0.3355, allocations: 0.6201 MB / 409.2 MB, free: 8.797 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.3355, allocations: 13.02 kB / 409.2 MB, free: 8.793 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004484/0.336, allocations: 53.73 kB / 409.2 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004688/0.3365, allocations: 296.1 kB / 409.5 MB, free: 8.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.3365, allocations: 19.25 kB / 409.5 MB, free: 8.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/0.3366, allocations: 29.12 kB / 409.6 MB, free: 8.461 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005191/0.3371, allocations: 332.8 kB / 409.9 MB, free: 8.211 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.3371, allocations: 1.125 kB / 409.9 MB, free: 8.211 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.3372, allocations: 12.59 kB / 409.9 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.3372, allocations: 10.86 kB / 409.9 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003316/0.3375, allocations: 191.4 kB / 410.1 MB, free: 8.109 MB / 334.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.002287/0.3398, allocations: 2.112 MB / 412.2 MB, free: 5.969 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.3401, allocations: 183 kB / 412.4 MB, free: 5.871 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.3403, allocations: 87.73 kB / 412.5 MB, free: 5.824 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002006/0.3405, allocations: 258.2 kB / 412.7 MB, free: 5.527 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.3405, allocations: 35.91 kB / 412.8 MB, free: 5.484 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 3.627e-06/0.3406, allocations: 1.25 kB / 412.8 MB, free: 5.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.002714/0.3433, allocations: 1.021 MB / 413.8 MB, free: 4.773 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.3433, allocations: 54.41 kB / 413.8 MB, free: 4.711 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.3436, allocations: 264.4 kB / 414.1 MB, free: 4.531 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/0.3437, allocations: 36.08 kB / 414.1 MB, free: 4.492 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.3438, allocations: 182.9 kB / 414.3 MB, free: 4.324 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.069e-05/0.3439, allocations: 106.5 kB / 414.4 MB, free: 4.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.344, allocations: 70.27 kB / 414.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3441, allocations: 344.5 kB / 414.8 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.3443, allocations: 82.12 kB / 414.9 MB, free: 3.809 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.3445, allocations: 180.8 kB / 415.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004038/0.3449, allocations: 277.9 kB / 415.3 MB, free: 3.457 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3449, allocations: 0 / 415.3 MB, free: 3.457 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006535/0.3456, allocations: 373.3 kB / 415.7 MB, free: 3.262 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.3456, allocations: 6.188 kB / 415.7 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3456, allocations: 2.812 kB / 415.7 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004213/0.3461, allocations: 96.56 kB / 415.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.3463, allocations: 66.47 kB / 415.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005523/0.3469, allocations: 0.6678 MB / 416.5 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.3471, allocations: 15.38 kB / 416.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.3471, allocations: 22.95 kB / 416.6 MB, free: 2.574 MB / 334.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.0001489/0.3473, allocations: 145.8 kB / 416.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.667e-05/0.3474, allocations: 36.06 kB / 416.8 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000653/0.348, allocations: 387.4 kB / 417.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.348, allocations: 2.438 kB / 417.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.3481, allocations: 0 / 417.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005132/0.3486, allocations: 0.548 MB / 417.7 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.3497, allocations: 0.7404 MB / 418.4 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.3497, allocations: 4.062 kB / 418.4 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.3498, allocations: 35.03 kB / 418.5 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00048/0.3503, allocations: 107.7 kB / 418.6 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.3504, allocations: 7.531 kB / 418.6 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004543/0.3508, allocations: 0.6381 MB / 419.2 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3508, allocations: 1.625 kB / 419.2 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006713/0.3515, allocations: 482.7 kB / 419.7 MB, free: 12 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.903e-05/0.3516, allocations: 99.17 kB / 419.8 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.81e-05/0.3517, allocations: 15.3 kB / 419.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.3519, allocations: 6.781 kB / 419.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.3519, allocations: 13.17 kB / 419.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.352, allocations: 17.48 kB / 419.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001737/0.3521, allocations: 195 kB / 420 MB, free: 15.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3522, allocations: 0 / 420 MB, free: 15.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004249/0.3526, allocations: 113.9 kB / 420.1 MB, free: 15.72 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.0002373/0.3528, allocations: 153.3 kB / 420.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004971/0.3533, allocations: 246.6 kB / 420.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3534, allocations: 1.188 kB / 420.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002634/0.3536, allocations: 115.6 kB / 420.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009374/0.3546, allocations: 179.4 kB / 420.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.3557, allocations: 0.6421 MB / 421.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.3559, allocations: 0.7701 MB / 422.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002235/0.3562, allocations: 64.19 kB / 422.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.222e-05/0.3563, allocations: 26.69 kB / 422.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3563, allocations: 0 / 422.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of Templates: time 0.01156/0.3678, allocations: 7.199 MB / 429.5 MB, free: 7.547 MB / 350.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)