Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001464, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.419/1.419, allocations: 205.1 MB / 222.4 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4283/0.4283, allocations: 39.94 MB / 309.7 MB, free: 9.293 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 67.91 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1503, allocations: 56.88 MB / 434.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.3287/0.4791, allocations: 30.07 MB / 464.6 MB, free: 36.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007293/0.4864, allocations: 4.582 MB / 469.2 MB, free: 35.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000912/0.4874, allocations: 18.09 kB / 469.2 MB, free: 35.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.4887, allocations: 301.2 kB / 469.5 MB, free: 35.24 MB / 382.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.typeBindings: time 0.004971/0.4937, allocations: 1.814 MB / 471.3 MB, free: 34.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004886/0.4986, allocations: 1.545 MB / 472.8 MB, free: 33.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003059/0.5017, allocations: 1.846 MB / 474.7 MB, free: 32.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.5029, allocations: 486.8 kB / 475.2 MB, free: 32.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007039/0.5099, allocations: 3.486 MB / 478.6 MB, free: 31.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00234/0.5123, allocations: 1.386 MB / 480 MB, free: 31.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004212/0.5128, allocations: 60.53 kB / 480.1 MB, free: 31.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003814/0.5166, allocations: 1.448 MB / 481.5 MB, free: 31.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005641/0.5172, allocations: 270 kB / 481.8 MB, free: 31.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.5185, allocations: 407.7 kB / 482.2 MB, free: 30.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003683/0.5222, allocations: 1.47 MB / 483.7 MB, free: 30.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.5222, allocations: 0 / 483.7 MB, free: 30.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5222, allocations: 0 / 483.7 MB, free: 30.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.975e-05/0.5222, allocations: 3.094 kB / 483.7 MB, free: 30.39 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002476/0.5247, allocations: 1.146 MB / 484.8 MB, free: 29.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.5248, allocations: 8.875 kB / 484.8 MB, free: 29.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.5258, allocations: 151.1 kB / 485 MB, free: 29.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008002/0.5266, allocations: 0.5066 MB / 485.5 MB, free: 29.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.5268, allocations: 104 kB / 485.6 MB, free: 29.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.289e-05/0.5269, allocations: 54.28 kB / 485.6 MB, free: 29.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.5281, allocations: 0.8357 MB / 486.5 MB, free: 28.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.5282, allocations: 0 / 486.5 MB, free: 28.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.717e-05/0.5282, allocations: 33.05 kB / 486.5 MB, free: 28.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.246e-05/0.5283, allocations: 38.38 kB / 486.5 MB, free: 28.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.5293, allocations: 0.6073 MB / 487.1 MB, free: 28.39 MB / 382.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.004797/0.5341, allocations: 4.892 MB / 492 MB, free: 24.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006303/0.5348, allocations: 327.9 kB / 492.4 MB, free: 24.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002165/0.535, allocations: 142.1 kB / 492.5 MB, free: 24.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003893/0.5354, allocations: 0.6096 MB / 493.1 MB, free: 23.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.5355, allocations: 46.39 kB / 493.2 MB, free: 23.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.994e-06/0.5355, allocations: 0 / 493.2 MB, free: 23.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.004246/0.5397, allocations: 1.531 MB / 494.7 MB, free: 22.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.123e-05/0.5398, allocations: 139.4 kB / 494.8 MB, free: 22.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.5411, allocations: 0.6575 MB / 495.5 MB, free: 22.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/0.5411, allocations: 32.58 kB / 495.5 MB, free: 21.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/0.5415, allocations: 387.6 kB / 495.9 MB, free: 21.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.5416, allocations: 134 kB / 496 MB, free: 21.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002574/0.5419, allocations: 151.4 kB / 496.2 MB, free: 21.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.5421, allocations: 376.7 kB / 496.5 MB, free: 21.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004659/0.5426, allocations: 206.6 kB / 496.7 MB, free: 21.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008077/0.5434, allocations: 0.4989 MB / 497.2 MB, free: 20.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.5446, allocations: 0.7148 MB / 497.9 MB, free: 20.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.5446, allocations: 6.562 kB / 498 MB, free: 20.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002093/0.5467, allocations: 0.8976 MB / 498.9 MB, free: 19.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.5467, allocations: 9.594 kB / 498.9 MB, free: 19.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.5468, allocations: 9.312 kB / 498.9 MB, free: 19.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/0.5481, allocations: 290.3 kB / 499.2 MB, free: 19.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004137/0.5486, allocations: 124.4 kB / 499.3 MB, free: 19.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/0.5498, allocations: 1.402 MB / 0.4889 GB, free: 18.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004864/0.5503, allocations: 31.94 kB / 0.489 GB, free: 18.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.203e-05/0.5504, allocations: 44.08 kB / 0.489 GB, free: 18.38 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003292/0.5507, allocations: 242.8 kB / 0.4892 GB, free: 18.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.5509, allocations: 73.19 kB / 0.4893 GB, free: 18.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001897/0.5528, allocations: 0.6549 MB / 0.49 GB, free: 17.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.5528, allocations: 4.656 kB / 0.49 GB, free: 17.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.5528, allocations: 1.219 kB / 0.49 GB, free: 17.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.5528, allocations: 1.828 kB / 0.49 GB, free: 17.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002373/0.5552, allocations: 1.226 MB / 0.4912 GB, free: 17.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.5552, allocations: 0 / 0.4912 GB, free: 17.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.5554, allocations: 41.94 kB / 0.4912 GB, free: 17.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008802/0.5563, allocations: 206.3 kB / 0.4914 GB, free: 17.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/0.5563, allocations: 14.7 kB / 0.4914 GB, free: 17.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009058/0.5573, allocations: 1.3 MB / 0.4927 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.5573, allocations: 6.188 kB / 0.4927 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.5587, allocations: 0.817 MB / 0.4935 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/0.5589, allocations: 183.6 kB / 0.4937 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.559, allocations: 9.062 kB / 0.4937 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/0.5594, allocations: 17.92 kB / 0.4937 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.192e-05/0.5595, allocations: 25.84 kB / 0.4937 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.836e-05/0.5596, allocations: 21.91 kB / 0.4937 GB, free: 15.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007329/0.5603, allocations: 457.8 kB / 0.4942 GB, free: 15.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5603, allocations: 0 / 0.4942 GB, free: 15.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001285/0.5616, allocations: 302.3 kB / 0.4945 GB, free: 15.11 MB / 382.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 (25): * 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: 2 * 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): 2 systems {(1,4), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000899/0.5625, allocations: 356.7 kB / 0.4948 GB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.5639, allocations: 0.5569 MB / 0.4953 GB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.5639, allocations: 1.375 kB / 0.4953 GB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005341/0.5645, allocations: 229.5 kB / 0.4956 GB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.5661, allocations: 342.5 kB / 0.4959 GB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.5688, allocations: 1.276 MB / 0.4971 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006518/0.5695, allocations: 0.9368 MB / 0.498 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001016/0.5705, allocations: 209.6 kB / 0.4982 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.5707, allocations: 60.33 kB / 0.4983 GB, free: 13.13 MB / 382.1 MB Notification: Performance of SimCode: time 2.385e-06/0.5707, allocations: 1.156 kB / 0.4983 GB, free: 13.13 MB / 382.1 MB Notification: Performance of Templates: time 0.03688/0.6076, allocations: 15.97 MB / 0.5139 GB, free: 6.27 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1)