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.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,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008059/0.008058, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.0013/0.0013, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.622/1.622, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.3318/0.3318, allocations: 38 MB / 307.9 MB, free: 10.12 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.001451/0.001451, allocations: 71.89 kB / 433 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.328, allocations: 56.46 MB / 489.5 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003742/0.3318, allocations: 2.255 MB / 491.8 MB, free: 18.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003907/0.3357, allocations: 2.085 MB / 493.8 MB, free: 17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/0.336, allocations: 2.25 kB / 493.8 MB, free: 17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004715/0.3365, allocations: 72.41 kB / 493.9 MB, free: 16.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003945/0.3369, allocations: 103.8 kB / 494 MB, free: 16.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.3384, allocations: 429.5 kB / 494.4 MB, free: 16.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005696/0.3389, allocations: 0.5101 MB / 494.9 MB, free: 16.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3391, allocations: 72.09 kB / 495 MB, free: 16.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002525/0.3393, allocations: 182.9 kB / 495.2 MB, free: 16.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.3396, allocations: 212.8 kB / 495.4 MB, free: 16.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.114e-05/0.3396, allocations: 13.56 kB / 495.4 MB, free: 16.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.3409, allocations: 0.6723 MB / 496.1 MB, free: 16.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.3411, allocations: 106.9 kB / 496.2 MB, free: 16.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000248/0.3413, allocations: 210.3 kB / 496.4 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.3427, allocations: 0.827 MB / 497.2 MB, free: 15.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3427, allocations: 0 / 497.2 MB, free: 15.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3427, allocations: 0 / 497.2 MB, free: 15.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.3428, allocations: 1.375 kB / 497.2 MB, free: 15.55 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.00141/0.3442, allocations: 0.8411 MB / 498.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.3442, allocations: 9.625 kB / 498.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.3443, allocations: 54.41 kB / 498.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004327/0.3448, allocations: 309.1 kB / 498.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.216e-05/0.3448, allocations: 43.44 kB / 498.5 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.304e-05/0.3449, allocations: 56 kB / 498.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.3463, allocations: 0.7677 MB / 499.3 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.3463, allocations: 0 / 499.3 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-05/0.3464, allocations: 20.25 kB / 499.3 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.496e-05/0.3464, allocations: 32.64 kB / 499.3 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.3477, allocations: 0.5558 MB / 499.9 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002894/0.3506, allocations: 1.686 MB / 0.4898 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007292/0.3514, allocations: 305.5 kB / 0.4901 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003879/0.3518, allocations: 148.6 kB / 0.4903 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.37e-05/0.3519, allocations: 15.14 kB / 0.4903 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.3519, allocations: 36.72 kB / 0.4903 GB, free: 13.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.964e-06/0.3519, allocations: 1.406 kB / 0.4903 GB, free: 13.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001384/0.3533, allocations: 0.5095 MB / 0.4908 GB, free: 12.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.3533, allocations: 107 kB / 0.4909 GB, free: 12.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007347/0.3541, allocations: 0.6361 MB / 0.4915 GB, free: 12.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.3541, allocations: 27.08 kB / 0.4916 GB, free: 12.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.3543, allocations: 290.7 kB / 0.4918 GB, free: 12.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.452e-05/0.3544, allocations: 76.95 kB / 0.4919 GB, free: 12.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.3545, allocations: 123.9 kB / 0.492 GB, free: 12.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.3547, allocations: 370.9 kB / 0.4924 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004432/0.3551, allocations: 189 kB / 0.4926 GB, free: 11.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006424/0.3558, allocations: 457.5 kB / 0.493 GB, free: 11.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.3571, allocations: 0.6758 MB / 0.4937 GB, free: 10.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.3571, allocations: 2.406 kB / 0.4937 GB, free: 10.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001464/0.3586, allocations: 0.6855 MB / 0.4943 GB, free: 10.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.3586, allocations: 12.06 kB / 0.4943 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.465e-05/0.3587, allocations: 54.81 kB / 0.4944 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.22e-05/0.3588, allocations: 12.25 kB / 0.4944 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.3591, allocations: 69.97 kB / 0.4945 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.527e-05/0.3591, allocations: 18.59 kB / 0.4945 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005125/0.3596, allocations: 104.6 kB / 0.4946 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-05/0.3597, allocations: 33.3 kB / 0.4946 GB, free: 10.6 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: 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 (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0003369/0.3601, allocations: 259.7 kB / 0.4949 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.3602, allocations: 49.45 kB / 0.4949 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.3612, allocations: 468.4 kB / 0.4954 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.3613, allocations: 4.953 kB / 0.4954 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.3613, allocations: 1.875 kB / 0.4954 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3613, allocations: 5.797 kB / 0.4954 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006668/0.3619, allocations: 409.5 kB / 0.4958 GB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.017e-05/0.362, allocations: 36.66 kB / 0.4958 GB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.3622, allocations: 32.16 kB / 0.4958 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.3622, allocations: 9.984 kB / 0.4958 GB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.3622, allocations: 13.38 kB / 0.4959 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3622, allocations: 3.938 kB / 0.4959 GB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3622, allocations: 1.375 kB / 0.4959 GB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008373/0.3631, allocations: 0.6166 MB / 0.4965 GB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.3632, allocations: 134.7 kB / 0.4966 GB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.273e-05/0.3633, allocations: 10.22 kB / 0.4966 GB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.3636, allocations: 22.19 kB / 0.4966 GB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.574e-05/0.3637, allocations: 25.08 kB / 0.4966 GB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/0.3638, allocations: 22.45 kB / 0.4967 GB, free: 9.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005221/0.3643, allocations: 447.3 kB / 0.4971 GB, free: 9.074 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3643, allocations: 0 / 0.4971 GB, free: 9.074 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001159/0.3655, allocations: 175.9 kB / 0.4973 GB, free: 9.047 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0005476/0.366, allocations: 234.5 kB / 0.4975 GB, free: 8.887 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.3673, allocations: 0.7509 MB / 0.4982 GB, free: 8.336 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.3673, allocations: 1.062 kB / 0.4982 GB, free: 8.336 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000515/0.3679, allocations: 489.2 kB / 0.4987 GB, free: 7.891 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008849/0.3687, allocations: 129.1 kB / 0.4988 GB, free: 7.816 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.3708, allocations: 0.9919 MB / 0.4998 GB, free: 7.281 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.3712, allocations: 0.8911 MB / 0.5006 GB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003778/0.3715, allocations: 135.9 kB / 0.5008 GB, free: 6.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.215e-05/0.3716, allocations: 33.56 kB / 0.5008 GB, free: 6.418 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3716, allocations: 0 / 0.5008 GB, free: 6.418 MB / 382.1 MB Notification: Performance of Templates: time 0.01874/0.3904, allocations: 10.45 MB / 0.511 GB, free: 0.9062 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1)