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.001012/0.001012, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001131/0.001131, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3584/0.3584, allocations: 38.03 MB / 308.4 MB, free: 10.44 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.0005498/0.0005499, allocations: 12 kB / 376.5 MB, free: 15.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1281, allocations: 57.52 MB / 434 MB, free: 5.527 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC): time 0.002601/0.1308, allocations: 1.821 MB / 435.8 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002566/0.1334, allocations: 1.645 MB / 437.5 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.1336, allocations: 4 kB / 437.5 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.1339, allocations: 51.72 kB / 437.5 MB, free: 1.984 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004346/0.1343, allocations: 147.3 kB / 437.7 MB, free: 1.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007606/0.1351, allocations: 275 kB / 437.9 MB, free: 1.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005735/0.1357, allocations: 0.5522 MB / 438.5 MB, free: 1.016 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.1358, allocations: 65.31 kB / 438.5 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002945/0.1361, allocations: 171.1 kB / 438.7 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/0.1364, allocations: 234.9 kB / 438.9 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.1364, allocations: 16 kB / 438.9 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000807/0.1373, allocations: 0.5616 MB / 439.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.1374, allocations: 111.3 kB / 439.6 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.901e-05/0.1375, allocations: 93.45 kB / 439.7 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005322/0.138, allocations: 0.5102 MB / 440.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.138, allocations: 0 / 440.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.138, allocations: 0 / 440.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.138, allocations: 4 kB / 440.2 MB, free: 15.25 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.001039/0.1391, allocations: 0.7136 MB / 440.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1391, allocations: 16.02 kB / 441 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.566e-05/0.1392, allocations: 55.3 kB / 441 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.1396, allocations: 302.3 kB / 441.3 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.639e-05/0.1396, allocations: 41.3 kB / 441.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-05/0.1397, allocations: 52 kB / 441.4 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.1408, allocations: 0.7598 MB / 442.2 MB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1408, allocations: 0 / 442.2 MB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.244e-05/0.1408, allocations: 20 kB / 442.2 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.766e-05/0.1409, allocations: 53.28 kB / 442.2 MB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.1421, allocations: 0.8169 MB / 443 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002178/0.1443, allocations: 1.504 MB / 444.5 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007316/0.145, allocations: 456.4 kB / 445 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000275/0.1453, allocations: 161.2 kB / 445.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.546e-05/0.1454, allocations: 16.44 kB / 445.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.1454, allocations: 38.52 kB / 445.2 MB, free: 10.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.873e-06/0.1454, allocations: 0 / 445.2 MB, free: 10.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.00107/0.1465, allocations: 0.5598 MB / 445.8 MB, free: 9.531 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.1466, allocations: 55.41 kB / 445.8 MB, free: 9.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006236/0.1472, allocations: 0.5757 MB / 446.4 MB, free: 8.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.1473, allocations: 33.7 kB / 446.4 MB, free: 8.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.1475, allocations: 279.4 kB / 446.7 MB, free: 8.562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.3e-05/0.1476, allocations: 102.6 kB / 446.8 MB, free: 8.461 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.1476, allocations: 8 kB / 446.8 MB, free: 8.453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.1478, allocations: 358.8 kB / 447.2 MB, free: 8.094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.1482, allocations: 196.9 kB / 447.3 MB, free: 7.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005156/0.1487, allocations: 433.1 kB / 447.8 MB, free: 7.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004292/0.1491, allocations: 271.9 kB / 448 MB, free: 7.102 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.1491, allocations: 4 kB / 448 MB, free: 7.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001065/0.1502, allocations: 0.6767 MB / 448.7 MB, free: 6.414 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.1503, allocations: 12 kB / 448.7 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.1503, allocations: 16.03 kB / 448.7 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.1503, allocations: 16 kB / 448.8 MB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009446/0.1513, allocations: 251.7 kB / 449 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2293/0.3806, allocations: 7.306 MB / 456.3 MB, free: 48.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006022/0.3813, allocations: 100.4 kB / 456.4 MB, free: 48.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.835e-05/0.3813, allocations: 36.03 kB / 456.4 MB, free: 48.99 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 (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003133/0.3816, allocations: 265.7 kB / 456.7 MB, free: 48.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.782e-05/0.3817, allocations: 43.5 kB / 456.7 MB, free: 48.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009841/0.3827, allocations: 0.573 MB / 457.3 MB, free: 48.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3827, allocations: 3.406 kB / 457.3 MB, free: 48.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.3827, allocations: 0 / 457.3 MB, free: 48.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.3827, allocations: 3.375 kB / 457.3 MB, free: 48.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004606/0.3832, allocations: 436.8 kB / 457.8 MB, free: 48.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3832, allocations: 1.312 kB / 457.8 MB, free: 48.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007624/0.384, allocations: 214 kB / 458 MB, free: 48.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.575e-06/0.384, allocations: 3.781 kB / 458 MB, free: 48.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.384, allocations: 19.73 kB / 458 MB, free: 48.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/0.3861, allocations: 7.296 MB / 465.3 MB, free: 41.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3861, allocations: 0 / 465.3 MB, free: 41.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006135/0.3867, allocations: 0.5216 MB / 465.8 MB, free: 41.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-05/0.3868, allocations: 134.7 kB / 465.9 MB, free: 41.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.202e-05/0.3869, allocations: 3.312 kB / 465.9 MB, free: 41.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.3871, allocations: 16.45 kB / 466 MB, free: 41.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.3871, allocations: 25.16 kB / 466 MB, free: 41.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.3872, allocations: 15.48 kB / 466 MB, free: 41.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003531/0.3875, allocations: 405.3 kB / 466.4 MB, free: 41.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3875, allocations: 0 / 466.4 MB, free: 41.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006301/0.3882, allocations: 179.8 kB / 466.6 MB, free: 41.27 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003001/0.3885, allocations: 214.5 kB / 466.8 MB, free: 41.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001266/0.3898, allocations: 0.6263 MB / 467.4 MB, free: 41.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3898, allocations: 3.625 kB / 467.4 MB, free: 41.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008155/0.3906, allocations: 349.2 kB / 467.7 MB, free: 41.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.3911, allocations: 117.5 kB / 467.9 MB, free: 41.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.3924, allocations: 1.104 MB / 469 MB, free: 40.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.3927, allocations: 0.908 MB / 469.9 MB, free: 39.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003603/0.3931, allocations: 171 kB / 470 MB, free: 39.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.583e-05/0.3932, allocations: 44.12 kB / 470.1 MB, free: 39.93 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3932, allocations: 0 / 470.1 MB, free: 39.93 MB / 382.1 MB Notification: Performance of Templates: time 0.01294/0.4061, allocations: 9.916 MB / 480 MB, free: 39.23 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: