Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.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.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01079/0.01079, allocations: 102.5 kB / 15.73 MB, free: 6.035 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.002233/0.002233, allocations: 196.8 kB / 16.67 MB, free: 5.969 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.607/1.607, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.3798/0.3799, allocations: 39.94 MB / 309.8 MB, free: 9.301 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.001762/0.001762, allocations: 68.42 kB / 435.8 MB, free: 2.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4343/0.436, allocations: 56.87 MB / 492.7 MB, free: 19.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.004583/0.4407, allocations: 1.876 MB / 494.6 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002414/0.4431, allocations: 0.8405 MB / 495.4 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002741/0.4435, allocations: 1.344 kB / 495.4 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005719/0.4441, allocations: 54.06 kB / 495.5 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005069/0.4446, allocations: 82.58 kB / 495.5 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004434/0.445, allocations: 78.34 kB / 495.6 MB, free: 17.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005792/0.4456, allocations: 259.2 kB / 495.9 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.833e-05/0.4457, allocations: 46.56 kB / 495.9 MB, free: 17.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002988/0.446, allocations: 99.03 kB / 496 MB, free: 17.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003767/0.4464, allocations: 124.5 kB / 496.1 MB, free: 17.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.768e-05/0.4465, allocations: 6.969 kB / 496.1 MB, free: 17.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003685/0.4469, allocations: 115.3 kB / 496.2 MB, free: 17.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.447, allocations: 62.05 kB / 496.3 MB, free: 17.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.4472, allocations: 105.7 kB / 496.4 MB, free: 17.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005841/0.4478, allocations: 302.1 kB / 496.7 MB, free: 16.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4478, allocations: 4 kB / 496.7 MB, free: 16.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4478, allocations: 0 / 496.7 MB, free: 16.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.4478, allocations: 1.281 kB / 496.7 MB, free: 16.95 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001065/0.4489, allocations: 0.5443 MB / 497.3 MB, free: 16.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.804e-05/0.449, allocations: 13.31 kB / 497.3 MB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.884e-05/0.4491, allocations: 30.25 kB / 497.3 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.4494, allocations: 252 kB / 497.5 MB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.4495, allocations: 20.03 kB / 497.6 MB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.814e-05/0.4495, allocations: 26.72 kB / 497.6 MB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007699/0.4503, allocations: 377.1 kB / 498 MB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.4503, allocations: 2.344 kB / 498 MB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.4504, allocations: 9.406 kB / 498 MB, free: 16.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.353e-05/0.4504, allocations: 23.69 kB / 498 MB, free: 16.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000805/0.4512, allocations: 372.2 kB / 498.4 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.453, allocations: 0.84 MB / 499.2 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007006/0.4537, allocations: 253.5 kB / 499.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/0.4539, allocations: 96.28 kB / 499.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.926e-05/0.454, allocations: 14.94 kB / 499.6 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.454, allocations: 37.73 kB / 499.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.454, allocations: 0 / 499.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009389/0.455, allocations: 335 kB / 499.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.455, allocations: 54.75 kB / 500 MB, free: 15.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004868/0.4555, allocations: 334 kB / 0.4886 GB, free: 15.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.4556, allocations: 31.17 kB / 0.4886 GB, free: 15.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.4558, allocations: 173.1 kB / 0.4888 GB, free: 14.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.996e-05/0.4558, allocations: 55.17 kB / 0.4888 GB, free: 14.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.456, allocations: 61.25 kB / 0.4889 GB, free: 14.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.4562, allocations: 339.6 kB / 0.4892 GB, free: 14.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/0.4565, allocations: 97.89 kB / 0.4893 GB, free: 14.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.4567, allocations: 195.1 kB / 0.4895 GB, free: 14.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005758/0.4573, allocations: 305.9 kB / 0.4898 GB, free: 14.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4573, allocations: 0 / 0.4898 GB, free: 14.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006948/0.458, allocations: 344.7 kB / 0.4901 GB, free: 14.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.4581, allocations: 5.406 kB / 0.4901 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.4581, allocations: 3.656 kB / 0.4901 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.686e-05/0.4581, allocations: 5.219 kB / 0.4901 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006/0.4587, allocations: 124.2 kB / 0.4902 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/0.4602, allocations: 3.656 MB / 0.4938 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.4604, allocations: 42.53 kB / 0.4938 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.4604, allocations: 12.5 kB / 0.4939 GB, free: 10.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002858/0.4607, allocations: 186.3 kB / 0.494 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.439e-05/0.4608, allocations: 26.66 kB / 0.4941 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008026/0.4616, allocations: 325.2 kB / 0.4944 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.168e-06/0.4616, allocations: 2.062 kB / 0.4944 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.4616, allocations: 1.125 kB / 0.4944 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.4617, allocations: 0.9844 kB / 0.4944 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005102/0.4622, allocations: 300.1 kB / 0.4947 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4622, allocations: 0 / 0.4947 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005202/0.4627, allocations: 116.3 kB / 0.4948 GB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.4627, allocations: 0 / 0.4948 GB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.167e-05/0.4628, allocations: 8.859 kB / 0.4948 GB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.4643, allocations: 3.645 MB / 0.4983 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4643, allocations: 3.938 kB / 0.4983 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005648/0.4648, allocations: 347.6 kB / 0.4987 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.263e-05/0.4649, allocations: 107.5 kB / 0.4988 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.465, allocations: 1.125 kB / 0.4988 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.4652, allocations: 19.77 kB / 0.4988 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.512e-05/0.4652, allocations: 12.69 kB / 0.4988 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.4653, allocations: 10.16 kB / 0.4988 GB, free: 6.027 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002837/0.4656, allocations: 244.3 kB / 0.499 GB, free: 5.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.4656, allocations: 0 / 0.499 GB, free: 5.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004465/0.466, allocations: 75.84 kB / 0.4991 GB, free: 5.898 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002652/0.4663, allocations: 134.4 kB / 0.4992 GB, free: 5.793 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009637/0.4673, allocations: 320.4 kB / 0.4996 GB, free: 5.742 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4673, allocations: 4 kB / 0.4996 GB, free: 5.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005697/0.4679, allocations: 187.6 kB / 0.4997 GB, free: 5.711 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.4683, allocations: 71.52 kB / 0.4998 GB, free: 5.676 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.4694, allocations: 0.5663 MB / 0.5004 GB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.4697, allocations: 0.7902 MB / 0.5011 GB, free: 4.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002054/0.4699, allocations: 82.75 kB / 0.5012 GB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.223e-05/0.4699, allocations: 34.61 kB / 0.5012 GB, free: 4.535 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4699, allocations: 3.938 kB / 0.5012 GB, free: 4.531 MB / 382.1 MB Notification: Performance of Templates: time 0.01071/0.4807, allocations: 5.546 MB / 0.5067 GB, free: 1.766 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1)