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.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,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01112/0.01112, allocations: 101.4 kB / 15.73 MB, free: 6.023 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.002038/0.002038, allocations: 187.7 kB / 16.67 MB, free: 5.961 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.639/1.639, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.3816/0.3816, allocations: 39.95 MB / 309.8 MB, free: 9.344 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.002614/0.002614, allocations: 71.5 kB / 435.8 MB, free: 2.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4646/0.4672, allocations: 56.87 MB / 492.7 MB, free: 19.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003671/0.471, allocations: 2.009 MB / 494.7 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.4728, allocations: 1.123 MB / 495.8 MB, free: 17.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.981e-05/0.4729, allocations: 1.438 kB / 495.8 MB, free: 17.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003178/0.4733, allocations: 53.84 kB / 495.9 MB, free: 17.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.4735, allocations: 83.25 kB / 496 MB, free: 17.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005159/0.474, allocations: 163 kB / 496.1 MB, free: 17.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004171/0.4744, allocations: 323.2 kB / 496.4 MB, free: 17.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.401e-05/0.4745, allocations: 36.77 kB / 496.5 MB, free: 17.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.4747, allocations: 121.1 kB / 496.6 MB, free: 17.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002797/0.475, allocations: 133.8 kB / 496.7 MB, free: 16.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.52e-05/0.4751, allocations: 10.09 kB / 496.7 MB, free: 16.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004508/0.4755, allocations: 203.1 kB / 496.9 MB, free: 16.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.4757, allocations: 68.52 kB / 497 MB, free: 16.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.4758, allocations: 130.7 kB / 497.1 MB, free: 16.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006535/0.4765, allocations: 376.4 kB / 497.5 MB, free: 16.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.4765, allocations: 10.36 kB / 497.5 MB, free: 16.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4765, allocations: 3.938 kB / 497.5 MB, free: 16.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.4765, allocations: 0 / 497.5 MB, free: 16.64 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001343/0.4779, allocations: 0.625 MB / 498.1 MB, free: 16.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.478, allocations: 8.969 kB / 498.1 MB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.164e-05/0.4781, allocations: 35.62 kB / 498.2 MB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.4784, allocations: 251.7 kB / 498.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.4785, allocations: 23.5 kB / 498.4 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/0.4785, allocations: 25.41 kB / 498.5 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009259/0.4794, allocations: 432.8 kB / 498.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.4795, allocations: 1.156 kB / 498.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.168e-05/0.4795, allocations: 10.69 kB / 498.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-05/0.4796, allocations: 20.05 kB / 498.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008153/0.4804, allocations: 326.7 kB / 499.2 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.4819, allocations: 1.096 MB / 0.4886 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005066/0.4825, allocations: 242.1 kB / 0.4888 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002909/0.4828, allocations: 112.8 kB / 0.4889 GB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.699e-05/0.4828, allocations: 6.984 kB / 0.4889 GB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.4828, allocations: 40.78 kB / 0.489 GB, free: 14.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.694e-06/0.4829, allocations: 2.094 kB / 0.489 GB, free: 14.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001066/0.4839, allocations: 359.3 kB / 0.4893 GB, free: 14.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.484, allocations: 108.7 kB / 0.4894 GB, free: 14.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000484/0.4845, allocations: 404 kB / 0.4898 GB, free: 14.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.4845, allocations: 27.23 kB / 0.4898 GB, free: 14.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.4846, allocations: 188.7 kB / 0.49 GB, free: 14.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/0.4847, allocations: 58.25 kB / 0.4901 GB, free: 14.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.4848, allocations: 63.69 kB / 0.4901 GB, free: 14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.083e-05/0.4849, allocations: 347.2 kB / 0.4905 GB, free: 13.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.4852, allocations: 116.1 kB / 0.4906 GB, free: 13.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003938/0.4856, allocations: 232.8 kB / 0.4908 GB, free: 13.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006944/0.4863, allocations: 362.8 kB / 0.4912 GB, free: 13.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.4863, allocations: 1.375 kB / 0.4912 GB, free: 13.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001042/0.4874, allocations: 401.1 kB / 0.4915 GB, free: 13.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.514e-05/0.4874, allocations: 8.469 kB / 0.4915 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.828e-05/0.4875, allocations: 26.89 kB / 0.4916 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.003e-05/0.4876, allocations: 6.078 kB / 0.4916 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.4878, allocations: 52 kB / 0.4916 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.061e-05/0.4879, allocations: 14.86 kB / 0.4916 GB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.4882, allocations: 58 kB / 0.4917 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-05/0.4882, allocations: 15.08 kB / 0.4917 GB, free: 13.1 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000222/0.4884, allocations: 177.7 kB / 0.4919 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.328e-05/0.4885, allocations: 28.66 kB / 0.4919 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007613/0.4893, allocations: 291.5 kB / 0.4922 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.4893, allocations: 3.656 kB / 0.4922 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.4893, allocations: 5.406 kB / 0.4922 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.4894, allocations: 1.797 kB / 0.4922 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006226/0.49, allocations: 296.3 kB / 0.4925 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.348e-05/0.4901, allocations: 20.25 kB / 0.4925 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.4902, allocations: 23.7 kB / 0.4925 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.4902, allocations: 5.578 kB / 0.4925 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.4903, allocations: 9.828 kB / 0.4925 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.4903, allocations: 5.641 kB / 0.4925 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.4903, allocations: 5.125 kB / 0.4925 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009389/0.4912, allocations: 0.5013 MB / 0.493 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.4914, allocations: 112.5 kB / 0.4931 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.801e-05/0.4914, allocations: 2.047 kB / 0.4931 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.4917, allocations: 20.25 kB / 0.4932 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.584e-05/0.4918, allocations: 19.55 kB / 0.4932 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.4919, allocations: 6.766 kB / 0.4932 GB, free: 12.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003606/0.4922, allocations: 294.1 kB / 0.4935 GB, free: 11.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4922, allocations: 4 kB / 0.4935 GB, free: 11.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006998/0.4929, allocations: 94.41 kB / 0.4936 GB, free: 11.96 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003703/0.4933, allocations: 154.8 kB / 0.4937 GB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009001/0.4942, allocations: 427 kB / 0.4941 GB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4942, allocations: 1.094 kB / 0.4941 GB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000405/0.4947, allocations: 274 kB / 0.4944 GB, free: 11.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006106/0.4953, allocations: 79.09 kB / 0.4945 GB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.4964, allocations: 0.6079 MB / 0.495 GB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.4967, allocations: 0.7974 MB / 0.4958 GB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001859/0.4969, allocations: 67.38 kB / 0.4959 GB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.12e-05/0.497, allocations: 25.69 kB / 0.4959 GB, free: 10.11 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.497, allocations: 0 / 0.4959 GB, free: 10.11 MB / 382.1 MB Notification: Performance of Templates: time 0.01136/0.5084, allocations: 5.836 MB / 0.5016 GB, free: 7.145 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1)