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.0009507/0.0009509, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.00124/0.00124, allocations: 168.7 kB / 15.95 MB, free: 204 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.856/1.856, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.3915/0.3915, allocations: 40 MB / 310.4 MB, free: 9.648 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.0005524/0.0005528, allocations: 19.94 kB / 378.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1491, allocations: 57.95 MB / 436.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC): time 0.002984/0.1522, allocations: 1.821 MB / 438.6 MB, free: 416 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003385/0.1556, allocations: 1.649 MB / 440.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002942/0.1559, allocations: 4 kB / 440.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004169/0.1564, allocations: 55.66 kB / 440.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006619/0.157, allocations: 139.4 kB / 440.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.1584, allocations: 279 kB / 440.8 MB, free: 14.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009947/0.1594, allocations: 0.5522 MB / 441.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.1596, allocations: 65.31 kB / 441.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005701/0.1602, allocations: 171.2 kB / 441.5 MB, free: 13.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005788/0.1608, allocations: 230.9 kB / 441.8 MB, free: 13.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.273e-05/0.1608, allocations: 12 kB / 441.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001304/0.1622, allocations: 0.5576 MB / 442.3 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.1624, allocations: 111.5 kB / 442.4 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.1626, allocations: 105.3 kB / 442.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009178/0.1635, allocations: 0.5064 MB / 443.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.1635, allocations: 3.938 kB / 443.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.1635, allocations: 0 / 443.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.033e-05/0.1636, allocations: 0 / 443.1 MB, free: 11.96 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.001446/0.165, allocations: 0.7214 MB / 443.8 MB, free: 11.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.1651, allocations: 12.03 kB / 443.8 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.1653, allocations: 55.3 kB / 443.8 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000534/0.1658, allocations: 302.2 kB / 444.1 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.344e-05/0.1658, allocations: 45.3 kB / 444.2 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.912e-05/0.1659, allocations: 47.98 kB / 444.2 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.1672, allocations: 0.7598 MB / 445 MB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.1672, allocations: 0 / 445 MB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.664e-05/0.1673, allocations: 20 kB / 445 MB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.629e-05/0.1673, allocations: 61.23 kB / 445.1 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.1686, allocations: 0.8092 MB / 445.9 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002405/0.1711, allocations: 1.512 MB / 447.4 MB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007757/0.1719, allocations: 456.4 kB / 447.8 MB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.1722, allocations: 165.2 kB / 448 MB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.28e-05/0.1722, allocations: 16.39 kB / 448 MB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.1723, allocations: 38.56 kB / 448.1 MB, free: 6.797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.843e-06/0.1723, allocations: 0 / 448.1 MB, free: 6.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001136/0.1734, allocations: 0.5482 MB / 448.6 MB, free: 6.242 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.1735, allocations: 55.41 kB / 448.7 MB, free: 6.176 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006716/0.1742, allocations: 0.5757 MB / 449.2 MB, free: 5.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.1742, allocations: 37.69 kB / 449.3 MB, free: 5.547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.1744, allocations: 271.5 kB / 449.5 MB, free: 5.277 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.746e-05/0.1745, allocations: 102.6 kB / 449.6 MB, free: 5.176 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.1745, allocations: 12 kB / 449.6 MB, free: 5.164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1747, allocations: 358.8 kB / 450 MB, free: 4.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/0.175, allocations: 196.9 kB / 450.2 MB, free: 4.613 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005023/0.1756, allocations: 433.1 kB / 450.6 MB, free: 4.078 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004516/0.176, allocations: 272 kB / 450.9 MB, free: 3.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.176, allocations: 7.938 kB / 450.9 MB, free: 3.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001233/0.1773, allocations: 0.6799 MB / 451.6 MB, free: 3.117 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/0.1773, allocations: 19.94 kB / 451.6 MB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/0.1773, allocations: 8 kB / 451.6 MB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.382e-05/0.1774, allocations: 16.78 kB / 451.6 MB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.1784, allocations: 247.8 kB / 451.9 MB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.269/0.4475, allocations: 7.313 MB / 459.2 MB, free: 43.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005016/0.448, allocations: 92.58 kB / 459.3 MB, free: 43.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.462e-05/0.4481, allocations: 35.41 kB / 459.3 MB, free: 43.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 (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.0003027/0.4484, allocations: 269.2 kB / 459.6 MB, free: 43.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-05/0.4485, allocations: 46.72 kB / 459.6 MB, free: 43.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.4495, allocations: 0.5715 MB / 460.2 MB, free: 43.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.4495, allocations: 2.938 kB / 460.2 MB, free: 43.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4495, allocations: 0 / 460.2 MB, free: 43.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4495, allocations: 2.938 kB / 460.2 MB, free: 43.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000447/0.45, allocations: 436 kB / 460.6 MB, free: 43.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.45, allocations: 0 / 460.6 MB, free: 43.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007534/0.4508, allocations: 212.9 kB / 460.8 MB, free: 43.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.4508, allocations: 2.594 kB / 460.8 MB, free: 43.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.4508, allocations: 13.92 kB / 460.8 MB, free: 43.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00231/0.4531, allocations: 7.302 MB / 468.1 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4531, allocations: 0 / 468.1 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006791/0.4538, allocations: 0.5191 MB / 468.6 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.4539, allocations: 135.1 kB / 468.8 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.377e-05/0.454, allocations: 7.375 kB / 468.8 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.4542, allocations: 12.31 kB / 468.8 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.188e-05/0.4543, allocations: 22.89 kB / 468.8 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.4544, allocations: 19.09 kB / 468.8 MB, free: 35.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004001/0.4548, allocations: 405.7 kB / 469.2 MB, free: 35.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4548, allocations: 0 / 469.2 MB, free: 35.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007128/0.4555, allocations: 176.1 kB / 469.4 MB, free: 35.86 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.0003591/0.4559, allocations: 208.6 kB / 469.6 MB, free: 35.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001348/0.4572, allocations: 0.6296 MB / 470.2 MB, free: 35.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4572, allocations: 0 / 470.2 MB, free: 35.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008419/0.4581, allocations: 360.6 kB / 470.6 MB, free: 35.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000554/0.4586, allocations: 116.6 kB / 470.7 MB, free: 35.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.4602, allocations: 1.104 MB / 471.8 MB, free: 35.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.4604, allocations: 0.9096 MB / 472.7 MB, free: 34.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003983/0.4608, allocations: 167.1 kB / 472.9 MB, free: 34.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.264e-05/0.4609, allocations: 37.09 kB / 472.9 MB, free: 34.52 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4609, allocations: 0 / 472.9 MB, free: 34.52 MB / 382.1 MB Notification: Performance of Templates: time 0.01375/0.4747, allocations: 9.931 MB / 482.8 MB, free: 33.82 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: