Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 108 kB / 15.61 MB, free: 152 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.001286/0.001286, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.464/1.464, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.3468/0.3468, allocations: 39.94 MB / 309.7 MB, free: 9.289 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.001611/0.001611, allocations: 71.89 kB / 377.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1533, allocations: 56.88 MB / 434.5 MB, free: 3.656 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.3542/0.5076, allocations: 30.09 MB / 464.6 MB, free: 35.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007647/0.5153, allocations: 4.591 MB / 469.2 MB, free: 34.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008968/0.5163, allocations: 21.47 kB / 469.2 MB, free: 34.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.5174, allocations: 303.2 kB / 469.5 MB, free: 34.7 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.005192/0.5226, allocations: 1.753 MB / 471.3 MB, free: 34.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003891/0.5265, allocations: 1.511 MB / 472.8 MB, free: 33.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002878/0.5294, allocations: 1.846 MB / 474.6 MB, free: 32.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008636/0.5302, allocations: 476.6 kB / 475.1 MB, free: 32.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005396/0.5357, allocations: 3.154 MB / 478.2 MB, free: 31.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.5376, allocations: 1.28 MB / 479.5 MB, free: 31.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.5377, allocations: 59.34 kB / 479.6 MB, free: 31.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00284/0.5406, allocations: 1.357 MB / 480.9 MB, free: 30.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002877/0.5409, allocations: 260.4 kB / 481.2 MB, free: 30.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004896/0.5414, allocations: 406.2 kB / 481.6 MB, free: 30.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002018/0.5434, allocations: 1.469 MB / 483 MB, free: 30.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.5434, allocations: 0 / 483 MB, free: 30.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5434, allocations: 3.75 kB / 483 MB, free: 30.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.778e-05/0.5434, allocations: 0 / 483 MB, free: 30.16 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.002046/0.5455, allocations: 1.152 MB / 484.2 MB, free: 29.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.5455, allocations: 9.625 kB / 484.2 MB, free: 29.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000945/0.5465, allocations: 140.5 kB / 484.3 MB, free: 29.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007098/0.5472, allocations: 0.5219 MB / 484.9 MB, free: 28.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.5473, allocations: 97.78 kB / 485 MB, free: 28.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.151e-05/0.5474, allocations: 51.92 kB / 485 MB, free: 28.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.5487, allocations: 0.8385 MB / 485.9 MB, free: 28.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.5488, allocations: 10.48 kB / 485.9 MB, free: 28.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.198e-05/0.5488, allocations: 22.45 kB / 485.9 MB, free: 28.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.22e-05/0.5489, allocations: 38.22 kB / 485.9 MB, free: 28.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.5499, allocations: 0.6101 MB / 486.5 MB, free: 28.16 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.003974/0.5539, allocations: 4.897 MB / 491.4 MB, free: 23.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006007/0.5545, allocations: 332.4 kB / 491.8 MB, free: 23.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.5548, allocations: 144 kB / 491.9 MB, free: 23.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003941/0.5552, allocations: 0.6097 MB / 492.5 MB, free: 23.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.5552, allocations: 38.17 kB / 492.5 MB, free: 23.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 3.968e-06/0.5552, allocations: 0 / 492.5 MB, free: 23.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.004149/0.5594, allocations: 1.533 MB / 494.1 MB, free: 22.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.5594, allocations: 133.8 kB / 494.2 MB, free: 22.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009772/0.5604, allocations: 0.6579 MB / 494.9 MB, free: 21.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.5605, allocations: 33.23 kB / 494.9 MB, free: 21.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.5607, allocations: 387.7 kB / 495.3 MB, free: 21.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.5609, allocations: 137.3 kB / 495.4 MB, free: 21.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002578/0.5611, allocations: 157 kB / 495.6 MB, free: 21.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.5613, allocations: 380 kB / 495.9 MB, free: 20.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003965/0.5617, allocations: 209.7 kB / 496.1 MB, free: 20.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006578/0.5624, allocations: 0.4964 MB / 496.6 MB, free: 20.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.5634, allocations: 0.7133 MB / 497.3 MB, free: 19.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.5634, allocations: 2.875 kB / 497.4 MB, free: 19.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002023/0.5654, allocations: 0.895 MB / 498.2 MB, free: 19.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.496e-05/0.5655, allocations: 9.625 kB / 498.3 MB, free: 19.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/0.5655, allocations: 13.28 kB / 498.3 MB, free: 19.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/0.567, allocations: 291.4 kB / 498.6 MB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/0.5674, allocations: 119.8 kB / 498.7 MB, free: 19.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.5686, allocations: 1.409 MB / 0.4884 GB, free: 18.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005515/0.5692, allocations: 24.7 kB / 0.4884 GB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.5693, allocations: 48.19 kB / 0.4884 GB, free: 18.14 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.0003672/0.5696, allocations: 241.5 kB / 0.4887 GB, free: 17.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.5698, allocations: 70.25 kB / 0.4887 GB, free: 17.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001572/0.5714, allocations: 0.6618 MB / 0.4894 GB, free: 17.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.5714, allocations: 3.844 kB / 0.4894 GB, free: 17.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5714, allocations: 0 / 0.4894 GB, free: 17.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.5714, allocations: 1.875 kB / 0.4894 GB, free: 17.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/0.5735, allocations: 1.222 MB / 0.4906 GB, free: 16.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.5735, allocations: 1.062 kB / 0.4906 GB, free: 16.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.5737, allocations: 45.86 kB / 0.4906 GB, free: 16.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009064/0.5746, allocations: 200.3 kB / 0.4908 GB, free: 16.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/0.5747, allocations: 18.12 kB / 0.4908 GB, free: 16.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/0.576, allocations: 1.3 MB / 0.4921 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.265e-05/0.576, allocations: 9.5 kB / 0.4921 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.5779, allocations: 0.8141 MB / 0.4929 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003167/0.5782, allocations: 183.2 kB / 0.4931 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.5783, allocations: 7.594 kB / 0.4931 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/0.5787, allocations: 24.02 kB / 0.4931 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.721e-05/0.5788, allocations: 24.92 kB / 0.4931 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-05/0.5789, allocations: 26.31 kB / 0.4931 GB, free: 15.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007387/0.5796, allocations: 454.8 kB / 0.4936 GB, free: 14.92 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5796, allocations: 0 / 0.4936 GB, free: 14.92 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001348/0.581, allocations: 295.9 kB / 0.4939 GB, free: 14.87 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.0009303/0.5819, allocations: 354.2 kB / 0.4942 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001423/0.5833, allocations: 0.5602 MB / 0.4948 GB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.5834, allocations: 1.375 kB / 0.4948 GB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000591/0.584, allocations: 225.1 kB / 0.495 GB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.5856, allocations: 344.1 kB / 0.4953 GB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002959/0.5886, allocations: 1.268 MB / 0.4965 GB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005962/0.5892, allocations: 0.9267 MB / 0.4974 GB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009363/0.5901, allocations: 212 kB / 0.4976 GB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.5903, allocations: 65.5 kB / 0.4977 GB, free: 12.9 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5903, allocations: 0 / 0.4977 GB, free: 12.9 MB / 382.1 MB Notification: Performance of Templates: time 0.0299/0.6202, allocations: 15.96 MB / 0.5133 GB, free: 6.723 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1)