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_overall_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.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_overall_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007176/0.007176, allocations: 100.8 kB / 15.73 MB, free: 6.477 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.001165/0.001165, allocations: 195.9 kB / 16.67 MB, free: 6.379 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.531/1.531, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.3815/0.3815, allocations: 38 MB / 307.9 MB, free: 10.04 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.001671/0.001671, allocations: 75.84 kB / 433 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3545, allocations: 56.45 MB / 489.5 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC): time 0.004402/0.3589, allocations: 2.169 MB / 491.7 MB, free: 18.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003347/0.3623, allocations: 1.824 MB / 493.5 MB, free: 17.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003115/0.3627, allocations: 6.625 kB / 493.5 MB, free: 17.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004425/0.3631, allocations: 67.77 kB / 493.6 MB, free: 17.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007109/0.3639, allocations: 155 kB / 493.7 MB, free: 17.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.3653, allocations: 336.3 kB / 494 MB, free: 17.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008943/0.3663, allocations: 490.9 kB / 494.5 MB, free: 16.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.3664, allocations: 75.45 kB / 494.6 MB, free: 16.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004621/0.3669, allocations: 187.1 kB / 494.8 MB, free: 16.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000498/0.3674, allocations: 222.6 kB / 495 MB, free: 16.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.58e-05/0.3675, allocations: 11.59 kB / 495 MB, free: 16.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.3691, allocations: 0.5887 MB / 495.6 MB, free: 16.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002465/0.3694, allocations: 121 kB / 495.7 MB, free: 16.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004474/0.3698, allocations: 197.5 kB / 495.9 MB, free: 16.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001937/0.3718, allocations: 0.7712 MB / 496.7 MB, free: 15.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.3718, allocations: 4.641 kB / 496.7 MB, free: 15.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3718, allocations: 0 / 496.7 MB, free: 15.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.548e-05/0.3719, allocations: 0 / 496.7 MB, free: 15.9 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002265/0.3741, allocations: 0.8022 MB / 497.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.3742, allocations: 9.484 kB / 497.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002352/0.3744, allocations: 54.31 kB / 497.5 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005631/0.375, allocations: 315.9 kB / 497.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.531e-05/0.3751, allocations: 46.39 kB / 497.9 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.3752, allocations: 54.62 kB / 498 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.3766, allocations: 0.7552 MB / 498.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.3766, allocations: 0 / 498.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.655e-05/0.3767, allocations: 20.12 kB / 498.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.199e-05/0.3767, allocations: 63.45 kB / 498.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.3782, allocations: 0.7973 MB / 499.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002691/0.3809, allocations: 1.53 MB / 0.4894 GB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008508/0.3818, allocations: 451.9 kB / 0.4898 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.3821, allocations: 152.7 kB / 0.49 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.428e-05/0.3821, allocations: 19.41 kB / 0.49 GB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.3822, allocations: 31.97 kB / 0.49 GB, free: 13.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.503e-06/0.3822, allocations: 0 / 0.49 GB, free: 13.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001173/0.3834, allocations: 0.5466 MB / 0.4905 GB, free: 13.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.3834, allocations: 54.47 kB / 0.4906 GB, free: 13.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008045/0.3842, allocations: 0.5808 MB / 0.4912 GB, free: 13.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.3842, allocations: 33.7 kB / 0.4912 GB, free: 13.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.3844, allocations: 278 kB / 0.4915 GB, free: 12.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.844e-05/0.3845, allocations: 98.06 kB / 0.4915 GB, free: 12.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.3847, allocations: 129.5 kB / 0.4917 GB, free: 12.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.3848, allocations: 361 kB / 0.492 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003805/0.3852, allocations: 191.6 kB / 0.4922 GB, free: 12.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004702/0.3857, allocations: 436.3 kB / 0.4926 GB, free: 12.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008652/0.3865, allocations: 0.662 MB / 0.4933 GB, free: 11.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.3866, allocations: 2.375 kB / 0.4933 GB, free: 11.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001197/0.3878, allocations: 0.6736 MB / 0.4939 GB, free: 11.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.3878, allocations: 9.531 kB / 0.4939 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.3878, allocations: 8.922 kB / 0.4939 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/0.3878, allocations: 11.34 kB / 0.4939 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.3889, allocations: 250.8 kB / 0.4942 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002775/0.3917, allocations: 7.313 MB / 0.5013 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006617/0.3923, allocations: 86.84 kB / 0.5014 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.3925, allocations: 34.89 kB / 0.5014 GB, free: 4.059 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005917/0.3931, allocations: 276.3 kB / 0.5017 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.3932, allocations: 44.53 kB / 0.5017 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.3945, allocations: 0.5623 MB / 0.5023 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/0.3945, allocations: 3.016 kB / 0.5023 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/0.3945, allocations: 3.938 kB / 0.5023 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3945, allocations: 5.281 kB / 0.5023 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008121/0.3954, allocations: 439.6 kB / 0.5027 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.3954, allocations: 0 / 0.5027 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008825/0.3963, allocations: 212.1 kB / 0.5029 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.3963, allocations: 1 kB / 0.5029 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.814e-05/0.3963, allocations: 10.62 kB / 0.5029 GB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003547/0.3999, allocations: 7.303 MB / 0.5101 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3999, allocations: 0 / 0.5101 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.4009, allocations: 0.5036 MB / 0.5106 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002887/0.4012, allocations: 133.8 kB / 0.5107 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.4014, allocations: 9.219 kB / 0.5107 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002979/0.4017, allocations: 22.02 kB / 0.5107 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.4018, allocations: 23.88 kB / 0.5107 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.253e-05/0.4019, allocations: 14.33 kB / 0.5108 GB, free: 11.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007642/0.4026, allocations: 409.7 kB / 0.5112 GB, free: 11.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4026, allocations: 1.219 kB / 0.5112 GB, free: 11.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001235/0.4039, allocations: 172.2 kB / 0.5113 GB, free: 11.09 MB / 398.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005964/0.4045, allocations: 212.3 kB / 0.5115 GB, free: 10.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001785/0.4063, allocations: 0.6185 MB / 0.5121 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4063, allocations: 3.938 kB / 0.5121 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.4074, allocations: 349.1 kB / 0.5125 GB, free: 10.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007729/0.4082, allocations: 124.6 kB / 0.5126 GB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.4106, allocations: 0.9719 MB / 0.5135 GB, free: 9.957 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006133/0.4112, allocations: 0.9063 MB / 0.5144 GB, free: 9.156 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005008/0.4117, allocations: 175.9 kB / 0.5146 GB, free: 9.074 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.4118, allocations: 43.02 kB / 0.5146 GB, free: 9.059 MB / 398.1 MB Notification: Performance of SimCode: time 1.243e-06/0.4118, allocations: 0 / 0.5146 GB, free: 9.059 MB / 398.1 MB Notification: Performance of Templates: time 0.0228/0.4346, allocations: 10.9 MB / 0.5253 GB, free: 2.004 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe 2>&1)