Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_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.2_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.001375/0.001375, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01081/0.01081, allocations: 170.1 kB / 16.27 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.739/1.739, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4178/0.4178, allocations: 39.99 MB / 310.7 MB, free: 9.871 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.2. 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.0008905/0.0008908, allocations: 12 kB / 379.5 MB, free: 12.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.178, allocations: 57.97 MB / 437.4 MB, free: 2.16 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC): time 0.003168/0.1813, allocations: 1.875 MB / 439.3 MB, free: 276 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00328/0.1846, allocations: 1.808 MB / 441.1 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002413/0.1849, allocations: 0 / 441.1 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003163/0.1852, allocations: 63.7 kB / 441.2 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005382/0.1858, allocations: 139.3 kB / 441.3 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001848/0.1876, allocations: 295 kB / 441.6 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001203/0.1888, allocations: 0.638 MB / 442.2 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.189, allocations: 69.25 kB / 442.3 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000452/0.1895, allocations: 163.1 kB / 442.5 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005997/0.1901, allocations: 234.8 kB / 442.7 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.656e-05/0.1902, allocations: 12 kB / 442.7 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.1918, allocations: 0.585 MB / 443.3 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000226/0.192, allocations: 111.4 kB / 443.4 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004815/0.1925, allocations: 232.2 kB / 443.6 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00184/0.1944, allocations: 0.7551 MB / 444.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1944, allocations: 0 / 444.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.1944, allocations: 0 / 444.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.414e-05/0.1944, allocations: 0 / 444.4 MB, free: 11.16 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.001801/0.1962, allocations: 0.7138 MB / 445.1 MB, free: 10.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/0.1963, allocations: 12.03 kB / 445.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002645/0.1966, allocations: 60.2 kB / 445.2 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005641/0.1972, allocations: 307.4 kB / 445.5 MB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.736e-05/0.1972, allocations: 45.67 kB / 445.5 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.1974, allocations: 52.12 kB / 445.6 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.199, allocations: 0.7676 MB / 446.3 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.199, allocations: 0 / 446.3 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.494e-05/0.1991, allocations: 20 kB / 446.4 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-05/0.1992, allocations: 53.28 kB / 446.4 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.201, allocations: 0.813 MB / 447.2 MB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003301/0.2044, allocations: 1.508 MB / 448.7 MB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.2054, allocations: 456.5 kB / 449.2 MB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004216/0.2059, allocations: 165.2 kB / 449.3 MB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.868e-05/0.2059, allocations: 8.453 kB / 449.3 MB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/0.206, allocations: 42.55 kB / 449.4 MB, free: 5.996 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.444e-06/0.206, allocations: 0 / 449.4 MB, free: 5.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001553/0.2076, allocations: 0.5598 MB / 449.9 MB, free: 5.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.2076, allocations: 55.41 kB / 450 MB, free: 5.363 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009643/0.2086, allocations: 0.5836 MB / 450.6 MB, free: 4.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.703e-05/0.2087, allocations: 29.7 kB / 450.6 MB, free: 4.734 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000268/0.209, allocations: 279.4 kB / 450.9 MB, free: 4.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.2091, allocations: 102.6 kB / 451 MB, free: 4.355 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.2093, allocations: 57.69 kB / 451 MB, free: 4.293 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000304/0.2096, allocations: 362.8 kB / 451.4 MB, free: 3.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006016/0.2102, allocations: 192.9 kB / 451.6 MB, free: 3.742 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008012/0.211, allocations: 440.9 kB / 452 MB, free: 3.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.2124, allocations: 0.6711 MB / 452.7 MB, free: 2.414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.2125, allocations: 0 / 452.7 MB, free: 2.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001936/0.2144, allocations: 0.6876 MB / 453.4 MB, free: 1.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.788e-05/0.2145, allocations: 8.969 kB / 453.4 MB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-05/0.2145, allocations: 8 kB / 453.4 MB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.697e-05/0.2146, allocations: 12.11 kB / 453.4 MB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/0.2161, allocations: 263.6 kB / 453.7 MB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3261/0.5422, allocations: 7.317 MB / 461 MB, free: 42.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006991/0.5429, allocations: 98.41 kB / 461.1 MB, free: 42.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.406e-05/0.543, allocations: 30.66 kB / 461.1 MB, free: 42.61 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.0004428/0.5434, allocations: 263 kB / 461.4 MB, free: 42.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.082e-05/0.5435, allocations: 45.38 kB / 461.4 MB, free: 42.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/0.5447, allocations: 0.5779 MB / 462 MB, free: 42.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.5447, allocations: 2.656 kB / 462 MB, free: 42.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5447, allocations: 4.219 kB / 462 MB, free: 42.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.5447, allocations: 0 / 462 MB, free: 42.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004996/0.5452, allocations: 429.8 kB / 462.4 MB, free: 42.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.5452, allocations: 1.188 kB / 462.4 MB, free: 42.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008141/0.546, allocations: 208.7 kB / 462.6 MB, free: 42.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.5461, allocations: 3.141 kB / 462.6 MB, free: 42.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.5461, allocations: 17.22 kB / 462.6 MB, free: 42.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002691/0.5488, allocations: 7.303 MB / 469.9 MB, free: 35.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5488, allocations: 2.938 kB / 469.9 MB, free: 35.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006854/0.5495, allocations: 0.5202 MB / 470.5 MB, free: 35.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.5496, allocations: 131.5 kB / 470.6 MB, free: 34.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.125e-05/0.5497, allocations: 3.438 kB / 470.6 MB, free: 34.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.5499, allocations: 14.56 kB / 470.6 MB, free: 34.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.525e-05/0.55, allocations: 23.27 kB / 470.6 MB, free: 34.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.5501, allocations: 21.69 kB / 470.7 MB, free: 34.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003937/0.5505, allocations: 407.7 kB / 471 MB, free: 34.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5505, allocations: 0 / 471 MB, free: 34.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006813/0.5512, allocations: 178.9 kB / 471.2 MB, free: 34.87 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.0003735/0.5515, allocations: 220.5 kB / 471.4 MB, free: 34.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001405/0.553, allocations: 0.6302 MB / 472.1 MB, free: 34.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.553, allocations: 7.125 kB / 472.1 MB, free: 34.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008971/0.5539, allocations: 356.3 kB / 472.4 MB, free: 34.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005698/0.5545, allocations: 110.2 kB / 472.5 MB, free: 34.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.5559, allocations: 1.153 MB / 473.7 MB, free: 34.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.5562, allocations: 0.9109 MB / 474.6 MB, free: 33.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003699/0.5566, allocations: 171.5 kB / 474.8 MB, free: 33.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.46e-05/0.5567, allocations: 37.42 kB / 474.8 MB, free: 33.47 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.5567, allocations: 0 / 474.8 MB, free: 33.47 MB / 382.1 MB Notification: Performance of Templates: time 0.01409/0.5708, allocations: 10.17 MB / 485 MB, free: 32.79 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe 2>&1) Environment - environmentSimulation: