Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1_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.009979/0.009979, allocations: 103.2 kB / 15.73 MB, free: 5.996 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.001499/0.001499, allocations: 194.7 kB / 16.67 MB, free: 5.922 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.538/1.538, allocations: 205.1 MB / 222.5 MB, free: 4.32 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.3082/0.3082, allocations: 38 MB / 307.9 MB, free: 10.33 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.001672/0.001672, allocations: 67.91 kB / 433 MB, free: 5.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3105, allocations: 56.46 MB / 489.5 MB, free: 19.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002962/0.3135, allocations: 2.003 MB / 491.5 MB, free: 18.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.3152, allocations: 1.122 MB / 492.6 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.858e-05/0.3153, allocations: 1.719 kB / 492.6 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.3156, allocations: 56.06 kB / 492.7 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.3158, allocations: 77.7 kB / 492.8 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000545/0.3163, allocations: 159 kB / 492.9 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004385/0.3168, allocations: 319.1 kB / 493.2 MB, free: 17.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.335e-05/0.3169, allocations: 49.45 kB / 493.3 MB, free: 17.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.317, allocations: 113.8 kB / 493.4 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.3172, allocations: 141.5 kB / 493.5 MB, free: 17.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.3173, allocations: 10.78 kB / 493.5 MB, free: 17.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003241/0.3176, allocations: 198.2 kB / 493.7 MB, free: 17.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.062e-05/0.3177, allocations: 69.03 kB / 493.8 MB, free: 17.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.3178, allocations: 126.7 kB / 493.9 MB, free: 17.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000465/0.3183, allocations: 383.9 kB / 494.3 MB, free: 16.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3183, allocations: 1.25 kB / 494.3 MB, free: 16.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3183, allocations: 4.516 kB / 494.3 MB, free: 16.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.3183, allocations: 0 / 494.3 MB, free: 16.96 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.0009577/0.3193, allocations: 0.6208 MB / 494.9 MB, free: 16.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3193, allocations: 9.75 kB / 494.9 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.052e-05/0.3194, allocations: 31.78 kB / 495 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.3197, allocations: 262.9 kB / 495.2 MB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.3198, allocations: 23.44 kB / 495.2 MB, free: 16.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.426e-05/0.3198, allocations: 25.86 kB / 495.3 MB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008016/0.3206, allocations: 425.6 kB / 495.7 MB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.3206, allocations: 3.938 kB / 495.7 MB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.3207, allocations: 11.34 kB / 495.7 MB, free: 16.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.826e-05/0.3207, allocations: 19.38 kB / 495.7 MB, free: 16.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000741/0.3215, allocations: 323.5 kB / 496 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.3229, allocations: 1.097 MB / 497.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000471/0.3233, allocations: 241.6 kB / 497.4 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.3236, allocations: 106.5 kB / 497.5 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.3237, allocations: 9.281 kB / 497.5 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.3237, allocations: 40.72 kB / 497.5 MB, free: 15.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.512e-06/0.3237, allocations: 0 / 497.5 MB, free: 15.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009997/0.3247, allocations: 357.1 kB / 497.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.3248, allocations: 112.7 kB / 498 MB, free: 14.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004395/0.3252, allocations: 408.1 kB / 498.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.3252, allocations: 29.64 kB / 498.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.3253, allocations: 193 kB / 498.6 MB, free: 14.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.3254, allocations: 47.23 kB / 498.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.3255, allocations: 67.84 kB / 498.7 MB, free: 14.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.017e-05/0.3256, allocations: 341 kB / 499 MB, free: 14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000316/0.3259, allocations: 114.5 kB / 499.1 MB, free: 13.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/0.3263, allocations: 241 kB / 499.4 MB, free: 13.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006614/0.327, allocations: 362.2 kB / 499.7 MB, free: 13.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.327, allocations: 1.719 kB / 499.7 MB, free: 13.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000826/0.3278, allocations: 402.7 kB / 0.4884 GB, free: 13.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3278, allocations: 10.41 kB / 0.4884 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.788e-05/0.3279, allocations: 24.14 kB / 0.4884 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.3279, allocations: 10.23 kB / 0.4884 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.3282, allocations: 50.17 kB / 0.4885 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.3282, allocations: 14.16 kB / 0.4885 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/0.3285, allocations: 55.38 kB / 0.4886 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.475e-05/0.3285, allocations: 14.17 kB / 0.4886 GB, free: 13.43 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.0001545/0.3287, allocations: 186.5 kB / 0.4888 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.565e-05/0.3288, allocations: 30.12 kB / 0.4888 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005686/0.3293, allocations: 278.4 kB / 0.489 GB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.3294, allocations: 3.422 kB / 0.489 GB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3294, allocations: 5.406 kB / 0.4891 GB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.3294, allocations: 6.016 kB / 0.4891 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004169/0.3298, allocations: 304.1 kB / 0.4894 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.613e-05/0.3298, allocations: 20.41 kB / 0.4894 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.33, allocations: 27.58 kB / 0.4894 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.33, allocations: 1.469 kB / 0.4894 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.33, allocations: 5.656 kB / 0.4894 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.33, allocations: 1.5 kB / 0.4894 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.33, allocations: 5.25 kB / 0.4894 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006247/0.3307, allocations: 0.4976 MB / 0.4899 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.798e-05/0.3308, allocations: 111.8 kB / 0.49 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.3308, allocations: 2.031 kB / 0.49 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.3311, allocations: 27.88 kB / 0.49 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-05/0.3311, allocations: 16.67 kB / 0.49 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.3312, allocations: 12.36 kB / 0.4901 GB, free: 12.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002663/0.3314, allocations: 284.5 kB / 0.4903 GB, free: 12.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3314, allocations: 0 / 0.4903 GB, free: 12.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000533/0.332, allocations: 100.4 kB / 0.4904 GB, free: 12.31 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.0002637/0.3322, allocations: 161.4 kB / 0.4906 GB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007379/0.333, allocations: 429.1 kB / 0.491 GB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.333, allocations: 0 / 0.491 GB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003308/0.3333, allocations: 274.9 kB / 0.4913 GB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005663/0.3339, allocations: 75.14 kB / 0.4913 GB, free: 11.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.3351, allocations: 0.611 MB / 0.4919 GB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.3354, allocations: 0.7919 MB / 0.4927 GB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001854/0.3356, allocations: 65.05 kB / 0.4928 GB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.351e-05/0.3356, allocations: 23.17 kB / 0.4928 GB, free: 10.7 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.3357, allocations: 0 / 0.4928 GB, free: 10.7 MB / 382.1 MB Notification: Performance of Templates: time 0.01097/0.3466, allocations: 5.836 MB / 0.4985 GB, free: 8.496 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1)