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_laminar_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_laminar_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001367, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.639/1.639, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.3699/0.3699, allocations: 39.94 MB / 309.7 MB, free: 9.328 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.001548/0.001548, allocations: 70.56 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1501, allocations: 56.89 MB / 434.5 MB, free: 3.656 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.003973/0.1541, allocations: 2.094 MB / 436.6 MB, free: 1.543 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.1557, allocations: 0.9122 MB / 437.5 MB, free: 0.625 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.703e-05/0.1558, allocations: 7.938 kB / 437.5 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.1561, allocations: 67.58 kB / 437.6 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003865/0.1565, allocations: 135.3 kB / 437.7 MB, free: 428 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.1568, allocations: 99.64 kB / 437.8 MB, free: 328 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005133/0.1573, allocations: 461.8 kB / 438.3 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.1574, allocations: 56.97 kB / 438.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.1577, allocations: 167.2 kB / 438.5 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/0.158, allocations: 215 kB / 438.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.953e-05/0.158, allocations: 8 kB / 438.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004173/0.1585, allocations: 259.6 kB / 439 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.1586, allocations: 111.4 kB / 439.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.1588, allocations: 182.8 kB / 439.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006142/0.1594, allocations: 0.5331 MB / 439.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1595, allocations: 0 / 439.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1595, allocations: 0 / 439.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.1595, allocations: 0 / 439.8 MB, free: 14.35 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001159/0.1606, allocations: 0.7175 MB / 440.5 MB, free: 13.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.1607, allocations: 16.03 kB / 440.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.1608, allocations: 44.38 kB / 440.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.1612, allocations: 299 kB / 440.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/0.1612, allocations: 33.38 kB / 440.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.533e-05/0.1613, allocations: 52.11 kB / 441 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009835/0.1623, allocations: 0.6562 MB / 441.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.1623, allocations: 0 / 441.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.47e-05/0.1623, allocations: 19.98 kB / 441.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.752e-05/0.1624, allocations: 53.28 kB / 441.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.1636, allocations: 0.7037 MB / 442.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.1654, allocations: 1.352 MB / 443.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007179/0.1662, allocations: 452.4 kB / 444.2 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/0.1665, allocations: 157.1 kB / 444.3 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.88e-05/0.1665, allocations: 12.44 kB / 444.3 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.1666, allocations: 38.56 kB / 444.4 MB, free: 9.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.833e-06/0.1666, allocations: 0 / 444.4 MB, free: 9.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001078/0.1677, allocations: 0.5281 MB / 444.9 MB, free: 9.074 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.1677, allocations: 55.41 kB / 445 MB, free: 9.008 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005053/0.1682, allocations: 497.4 kB / 445.4 MB, free: 8.512 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.1683, allocations: 29.7 kB / 445.5 MB, free: 8.477 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.1684, allocations: 220.4 kB / 445.7 MB, free: 8.254 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.034e-05/0.1685, allocations: 98.58 kB / 445.8 MB, free: 8.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.1686, allocations: 89.91 kB / 445.9 MB, free: 8.062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1688, allocations: 358.7 kB / 446.2 MB, free: 7.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/0.1691, allocations: 152.4 kB / 446.4 MB, free: 7.555 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003462/0.1694, allocations: 256.2 kB / 446.6 MB, free: 7.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006679/0.1701, allocations: 439.6 kB / 447.1 MB, free: 6.797 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1701, allocations: 0 / 447.1 MB, free: 6.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008098/0.1709, allocations: 488.9 kB / 447.5 MB, free: 6.312 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.171, allocations: 8 kB / 447.5 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.171, allocations: 4 kB / 447.5 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.171, allocations: 4 kB / 447.5 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009228/0.1719, allocations: 207.8 kB / 447.8 MB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3219/0.4938, allocations: 7.29 MB / 455 MB, free: 51.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000476/0.4944, allocations: 58.94 kB / 455.1 MB, free: 51.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.013e-05/0.4944, allocations: 25.17 kB / 455.1 MB, free: 51.04 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,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 (40): * Single equations (assignments): 28 * 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.0003344/0.4948, allocations: 217.9 kB / 455.3 MB, free: 50.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.72e-05/0.4948, allocations: 43.23 kB / 455.4 MB, free: 50.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009842/0.4958, allocations: 0.542 MB / 455.9 MB, free: 50.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.4959, allocations: 6.5 kB / 455.9 MB, free: 50.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.4959, allocations: 0 / 455.9 MB, free: 50.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4959, allocations: 5.812 kB / 455.9 MB, free: 50.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004876/0.4964, allocations: 407 kB / 456.3 MB, free: 50.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.4964, allocations: 0 / 456.3 MB, free: 50.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007555/0.4971, allocations: 196.3 kB / 456.5 MB, free: 50.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.356e-05/0.4972, allocations: 6.188 kB / 456.5 MB, free: 50.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/0.4972, allocations: 12.67 kB / 456.5 MB, free: 50.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00261/0.4998, allocations: 7.292 MB / 463.8 MB, free: 43.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.4998, allocations: 3.938 kB / 463.8 MB, free: 43.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007631/0.5006, allocations: 0.4955 MB / 464.3 MB, free: 43.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.5007, allocations: 126.9 kB / 464.5 MB, free: 43.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.045e-05/0.5008, allocations: 7.469 kB / 464.5 MB, free: 43.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.501, allocations: 12.97 kB / 464.5 MB, free: 43.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.5012, allocations: 27.89 kB / 464.5 MB, free: 43.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.5012, allocations: 15.94 kB / 464.5 MB, free: 43.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004315/0.5017, allocations: 362.5 kB / 464.9 MB, free: 43.31 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.444e-06/0.5017, allocations: 1.531 kB / 464.9 MB, free: 43.31 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005494/0.5022, allocations: 127.8 kB / 465 MB, free: 43.3 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.0003525/0.5026, allocations: 132.4 kB / 465.1 MB, free: 43.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001483/0.5041, allocations: 0.582 MB / 465.7 MB, free: 43.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5041, allocations: 0.8438 kB / 465.7 MB, free: 43.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008725/0.505, allocations: 338.2 kB / 466 MB, free: 43.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005422/0.5055, allocations: 113 kB / 466.2 MB, free: 43.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.5068, allocations: 0.901 MB / 467.1 MB, free: 42.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.5071, allocations: 0.876 MB / 467.9 MB, free: 42.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003269/0.5074, allocations: 139.8 kB / 468.1 MB, free: 42.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.8e-05/0.5075, allocations: 40.31 kB / 468.1 MB, free: 42.17 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.5075, allocations: 0 / 468.1 MB, free: 42.17 MB / 382.1 MB Notification: Performance of Templates: time 0.01612/0.5236, allocations: 9.023 MB / 477.1 MB, free: 41.62 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1)