Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_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.1_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.001189/0.00119, allocations: 191.8 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.398/1.398, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3143/0.3143, allocations: 37.99 MB / 307.7 MB, free: 9.973 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.1. 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.001435/0.001435, allocations: 66.62 kB / 375.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1452, allocations: 56.47 MB / 431.7 MB, free: 6.613 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.3572/0.5024, allocations: 30.08 MB / 461.8 MB, free: 34.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007268/0.5097, allocations: 4.596 MB / 466.4 MB, free: 34.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005637/0.5104, allocations: 18.06 kB / 466.4 MB, free: 34.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008845/0.5113, allocations: 303 kB / 466.7 MB, free: 34.57 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.004714/0.516, allocations: 1.759 MB / 468.5 MB, free: 34.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003857/0.5199, allocations: 1.499 MB / 470 MB, free: 34.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002782/0.5227, allocations: 1.851 MB / 471.8 MB, free: 33.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007318/0.5235, allocations: 481.3 kB / 472.3 MB, free: 33.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006093/0.5296, allocations: 3.155 MB / 475.4 MB, free: 33.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00267/0.5323, allocations: 1.277 MB / 476.7 MB, free: 33.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002172/0.5325, allocations: 60.44 kB / 476.8 MB, free: 33.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003568/0.5361, allocations: 1.349 MB / 478.1 MB, free: 32.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002842/0.5364, allocations: 273.9 kB / 478.4 MB, free: 32.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000491/0.5369, allocations: 394.8 kB / 478.8 MB, free: 32.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002242/0.5391, allocations: 1.486 MB / 480.3 MB, free: 31.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.5391, allocations: 0 / 480.3 MB, free: 31.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5391, allocations: 0 / 480.3 MB, free: 31.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.5392, allocations: 0 / 480.3 MB, free: 31.98 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.00235/0.5415, allocations: 1.139 MB / 481.4 MB, free: 31.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.192e-05/0.5416, allocations: 9.656 kB / 481.4 MB, free: 31.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.5426, allocations: 149.5 kB / 481.6 MB, free: 31.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008844/0.5435, allocations: 0.5112 MB / 482.1 MB, free: 30.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.5436, allocations: 100.5 kB / 482.2 MB, free: 30.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.5438, allocations: 58.34 kB / 482.2 MB, free: 30.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.5451, allocations: 0.849 MB / 483.1 MB, free: 30.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.5452, allocations: 0 / 483.1 MB, free: 30.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.892e-05/0.5453, allocations: 28.78 kB / 483.1 MB, free: 30.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.162e-05/0.5453, allocations: 36.86 kB / 483.1 MB, free: 30.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.5465, allocations: 0.6094 MB / 483.8 MB, free: 30.01 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.005062/0.5515, allocations: 4.885 MB / 488.6 MB, free: 25.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000611/0.5522, allocations: 331.8 kB / 489 MB, free: 25.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.5524, allocations: 146.9 kB / 489.1 MB, free: 25.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003954/0.5528, allocations: 0.6147 MB / 489.7 MB, free: 24.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.5528, allocations: 37.66 kB / 489.8 MB, free: 24.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.5528, allocations: 0 / 489.8 MB, free: 24.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.003632/0.5565, allocations: 1.527 MB / 491.3 MB, free: 24.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.5565, allocations: 139 kB / 491.4 MB, free: 23.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006874/0.5572, allocations: 0.6541 MB / 492.1 MB, free: 23.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.5573, allocations: 36.73 kB / 492.1 MB, free: 23.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.5575, allocations: 391 kB / 492.5 MB, free: 23.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.488e-05/0.5576, allocations: 137.2 kB / 492.6 MB, free: 23.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/0.5578, allocations: 153.7 kB / 492.8 MB, free: 23.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.889e-05/0.5579, allocations: 374.2 kB / 493.1 MB, free: 22.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.5582, allocations: 205.4 kB / 493.3 MB, free: 22.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004356/0.5587, allocations: 0.495 MB / 493.8 MB, free: 22.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007507/0.5594, allocations: 0.7128 MB / 494.5 MB, free: 21.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.5595, allocations: 6.938 kB / 494.6 MB, free: 21.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001579/0.561, allocations: 0.8923 MB / 495.4 MB, free: 21.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.5611, allocations: 9.234 kB / 495.5 MB, free: 21.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.5611, allocations: 14.19 kB / 495.5 MB, free: 21.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/0.5625, allocations: 287.5 kB / 495.8 MB, free: 21.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004446/0.5629, allocations: 118.9 kB / 495.9 MB, free: 21.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.5642, allocations: 1.404 MB / 497.3 MB, free: 20.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005604/0.5647, allocations: 28 kB / 497.3 MB, free: 20.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.613e-05/0.5648, allocations: 43.64 kB / 497.3 MB, free: 20.05 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.0003928/0.5652, allocations: 250.3 kB / 497.6 MB, free: 19.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.5654, allocations: 74.41 kB / 497.7 MB, free: 19.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/0.5672, allocations: 0.6589 MB / 498.3 MB, free: 19.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.5672, allocations: 4.266 kB / 498.3 MB, free: 19.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.5672, allocations: 1.188 kB / 498.3 MB, free: 19.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.5672, allocations: 10.05 kB / 498.3 MB, free: 19.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/0.5694, allocations: 1.225 MB / 499.6 MB, free: 18.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.5694, allocations: 0 / 499.6 MB, free: 18.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.5696, allocations: 45.66 kB / 499.6 MB, free: 18.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000938/0.5705, allocations: 208 kB / 499.8 MB, free: 18.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/0.5706, allocations: 14.94 kB / 499.8 MB, free: 18.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000981/0.5716, allocations: 1.292 MB / 0.4894 GB, free: 17.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.5716, allocations: 5.766 kB / 0.4894 GB, free: 17.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.573, allocations: 0.8139 MB / 0.4902 GB, free: 17.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003232/0.5734, allocations: 187.8 kB / 0.4903 GB, free: 17.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.5735, allocations: 15.34 kB / 0.4904 GB, free: 17.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003956/0.5739, allocations: 18.89 kB / 0.4904 GB, free: 17.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.328e-05/0.574, allocations: 25.09 kB / 0.4904 GB, free: 17.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-05/0.5741, allocations: 25.94 kB / 0.4904 GB, free: 17.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007217/0.5748, allocations: 451.7 kB / 0.4909 GB, free: 16.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5748, allocations: 0 / 0.4909 GB, free: 16.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001228/0.576, allocations: 296.8 kB / 0.4911 GB, free: 16.78 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.001122/0.5772, allocations: 360.3 kB / 0.4915 GB, free: 16.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001436/0.5786, allocations: 0.5591 MB / 0.492 GB, free: 16.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.5786, allocations: 1.5 kB / 0.492 GB, free: 16.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005856/0.5792, allocations: 217.7 kB / 0.4922 GB, free: 16.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/0.5811, allocations: 350.6 kB / 0.4926 GB, free: 16.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.5839, allocations: 1.27 MB / 0.4938 GB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005769/0.5845, allocations: 0.9381 MB / 0.4947 GB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009748/0.5855, allocations: 197.6 kB / 0.4949 GB, free: 14.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.5857, allocations: 61.72 kB / 0.495 GB, free: 14.82 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5857, allocations: 0 / 0.495 GB, free: 14.82 MB / 382.1 MB Notification: Performance of Templates: time 0.03671/0.6224, allocations: 15.97 MB / 0.5106 GB, free: 9.297 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1)