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.001273/0.001273, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001229/0.001229, allocations: 187.8 kB / 16.14 MB, free: 6.652 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.655/1.655, allocations: 205.1 MB / 222 MB, free: 4.742 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.3856/0.3856, allocations: 37.98 MB / 307.3 MB, free: 10.02 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.001558/0.001559, allocations: 64.75 kB / 374.6 MB, free: 15.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1596, allocations: 56.47 MB / 431 MB, free: 7.043 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC): time 0.004559/0.1642, allocations: 2.233 MB / 433.3 MB, free: 4.789 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003769/0.168, allocations: 1.839 MB / 435.1 MB, free: 2.941 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002604/0.1683, allocations: 0 / 435.1 MB, free: 2.941 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004099/0.1688, allocations: 67.64 kB / 435.2 MB, free: 2.875 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005769/0.1694, allocations: 135.3 kB / 435.3 MB, free: 2.742 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.1705, allocations: 303 kB / 435.6 MB, free: 2.445 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006243/0.1711, allocations: 0.6302 MB / 436.2 MB, free: 1.812 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1712, allocations: 69.31 kB / 436.3 MB, free: 1.738 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002111/0.1714, allocations: 171 kB / 436.5 MB, free: 1.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.1717, allocations: 234.8 kB / 436.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.644e-05/0.1717, allocations: 12 kB / 436.7 MB, free: 1.328 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009107/0.1726, allocations: 0.581 MB / 437.3 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.1728, allocations: 107.5 kB / 437.4 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.173, allocations: 206.6 kB / 437.6 MB, free: 448 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008757/0.1739, allocations: 0.7514 MB / 438.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1739, allocations: 0 / 438.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1739, allocations: 0 / 438.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.1739, allocations: 0 / 438.4 MB, free: 15.68 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.001243/0.1752, allocations: 0.8112 MB / 439.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.1752, allocations: 11.97 kB / 439.2 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.1753, allocations: 60.19 kB / 439.2 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.1757, allocations: 311.5 kB / 439.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.241e-05/0.1757, allocations: 37.69 kB / 439.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.746e-05/0.1758, allocations: 60.05 kB / 439.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.1772, allocations: 0.752 MB / 440.4 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.1773, allocations: 0 / 440.4 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.628e-05/0.1773, allocations: 27.97 kB / 440.4 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.279e-05/0.1774, allocations: 61.28 kB / 440.5 MB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.179, allocations: 0.7974 MB / 441.3 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002874/0.1819, allocations: 1.524 MB / 442.8 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008905/0.1828, allocations: 456.4 kB / 443.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003197/0.1832, allocations: 157.2 kB / 443.4 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.029e-05/0.1832, allocations: 16.45 kB / 443.4 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.1833, allocations: 34.56 kB / 443.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 4.218e-06/0.1833, allocations: 0 / 443.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001222/0.1845, allocations: 0.5365 MB / 444 MB, free: 9.883 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.1846, allocations: 59.41 kB / 444 MB, free: 9.812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006539/0.1852, allocations: 0.5797 MB / 444.6 MB, free: 9.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.1853, allocations: 33.7 kB / 444.6 MB, free: 9.184 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/0.1855, allocations: 279.4 kB / 444.9 MB, free: 8.906 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.445e-05/0.1856, allocations: 102.6 kB / 445 MB, free: 8.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/0.1858, allocations: 130.1 kB / 445.1 MB, free: 8.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.186, allocations: 362.8 kB / 445.5 MB, free: 8.309 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/0.1863, allocations: 188.9 kB / 445.7 MB, free: 8.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005509/0.1869, allocations: 433.1 kB / 446.1 MB, free: 7.586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000919/0.1878, allocations: 0.6593 MB / 446.8 MB, free: 6.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.1878, allocations: 4 kB / 446.8 MB, free: 6.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001151/0.189, allocations: 0.6726 MB / 447.4 MB, free: 6.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.189, allocations: 8 kB / 447.5 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.189, allocations: 11.98 kB / 447.5 MB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.1891, allocations: 12 kB / 447.5 MB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.1901, allocations: 239.8 kB / 447.7 MB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2976/0.4877, allocations: 7.312 MB / 455 MB, free: 52.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007031/0.4884, allocations: 92.52 kB / 455.1 MB, free: 52.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.816e-05/0.4885, allocations: 36.06 kB / 455.2 MB, free: 52.11 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.0004/0.4889, allocations: 266 kB / 455.4 MB, free: 51.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.059e-05/0.489, allocations: 50.47 kB / 455.5 MB, free: 51.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.4901, allocations: 0.5545 MB / 456 MB, free: 51.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.4901, allocations: 3.125 kB / 456 MB, free: 51.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.4902, allocations: 2.188 kB / 456 MB, free: 51.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.4902, allocations: 5.062 kB / 456 MB, free: 51.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005791/0.4908, allocations: 441.5 kB / 456.5 MB, free: 51.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4908, allocations: 4.531 kB / 456.5 MB, free: 51.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000842/0.4916, allocations: 212.5 kB / 456.7 MB, free: 51.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.4916, allocations: 3.125 kB / 456.7 MB, free: 51.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/0.4917, allocations: 9.891 kB / 456.7 MB, free: 51.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00259/0.4943, allocations: 7.31 MB / 464 MB, free: 44.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4943, allocations: 0 / 464 MB, free: 44.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007032/0.495, allocations: 0.4995 MB / 464.5 MB, free: 44.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.4951, allocations: 127.7 kB / 464.6 MB, free: 44.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.021e-05/0.4952, allocations: 6.562 kB / 464.6 MB, free: 44.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.4954, allocations: 16.06 kB / 464.6 MB, free: 44.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.4956, allocations: 23.92 kB / 464.7 MB, free: 44.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.4956, allocations: 15.97 kB / 464.7 MB, free: 44.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004538/0.4961, allocations: 411.4 kB / 465.1 MB, free: 44.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.4961, allocations: 0 / 465.1 MB, free: 44.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007333/0.4968, allocations: 174.6 kB / 465.2 MB, free: 44.37 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 (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.0005211/0.4973, allocations: 220.6 kB / 465.5 MB, free: 44.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001547/0.4989, allocations: 0.6151 MB / 466.1 MB, free: 44.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4989, allocations: 0 / 466.1 MB, free: 44.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009888/0.4999, allocations: 360.5 kB / 466.4 MB, free: 44.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006637/0.5006, allocations: 103.8 kB / 466.5 MB, free: 44.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.5024, allocations: 1.127 MB / 467.7 MB, free: 43.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.5029, allocations: 0.9106 MB / 468.6 MB, free: 43.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004377/0.5033, allocations: 174.2 kB / 468.7 MB, free: 43.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.5034, allocations: 37.31 kB / 468.8 MB, free: 43.05 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.5034, allocations: 0 / 468.8 MB, free: 43.05 MB / 382.1 MB Notification: Performance of Templates: time 0.01721/0.5207, allocations: 10.29 MB / 479.1 MB, free: 42.39 MB / 382.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)