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_laminar.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_laminar,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01297/0.01297, allocations: 103.5 kB / 15.73 MB, free: 6.004 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.002612/0.002612, allocations: 191.8 kB / 16.67 MB, free: 5.93 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.685/1.685, allocations: 205.1 MB / 222.6 MB, free: 4.484 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.3561/0.3561, allocations: 38 MB / 307.9 MB, free: 10.19 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.001725/0.001725, allocations: 67.91 kB / 433 MB, free: 5.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3355, allocations: 56.46 MB / 489.5 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.004295/0.3398, allocations: 2.204 MB / 491.7 MB, free: 18.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002844/0.3427, allocations: 1.155 MB / 492.9 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001681/0.3429, allocations: 2.312 kB / 492.9 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004915/0.3434, allocations: 73.53 kB / 492.9 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003586/0.3438, allocations: 103 kB / 493 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007607/0.3446, allocations: 170.1 kB / 493.2 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008743/0.3455, allocations: 0.4916 MB / 493.7 MB, free: 17.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.3457, allocations: 58.5 kB / 493.7 MB, free: 17.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003579/0.346, allocations: 177.4 kB / 493.9 MB, free: 17.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000401/0.3464, allocations: 200.3 kB / 494.1 MB, free: 17.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.834e-05/0.3465, allocations: 13.59 kB / 494.1 MB, free: 17.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007613/0.3473, allocations: 322.6 kB / 494.4 MB, free: 16.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002471/0.3475, allocations: 98.89 kB / 494.5 MB, free: 16.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002978/0.3479, allocations: 185.2 kB / 494.7 MB, free: 16.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.349, allocations: 0.579 MB / 495.3 MB, free: 16.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.349, allocations: 1.344 kB / 495.3 MB, free: 16.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.958e-06/0.349, allocations: 0 / 495.3 MB, free: 16.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.349, allocations: 7.938 kB / 495.3 MB, free: 16.58 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.00152/0.3505, allocations: 0.7478 MB / 496.1 MB, free: 16.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.3506, allocations: 13.47 kB / 496.1 MB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.3507, allocations: 47.22 kB / 496.1 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005843/0.3513, allocations: 295.6 kB / 496.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.936e-05/0.3514, allocations: 36.47 kB / 496.4 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.3515, allocations: 52.86 kB / 496.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.353, allocations: 0.653 MB / 497.1 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.3531, allocations: 0 / 497.1 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.595e-05/0.3531, allocations: 16 kB / 497.2 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-05/0.3532, allocations: 31.59 kB / 497.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000973/0.3542, allocations: 479.7 kB / 497.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002257/0.3564, allocations: 1.507 MB / 499.2 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006534/0.3571, allocations: 303.3 kB / 499.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003705/0.3575, allocations: 151.4 kB / 499.6 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.648e-05/0.3575, allocations: 16.33 kB / 499.6 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.3576, allocations: 36.16 kB / 499.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.813e-06/0.3576, allocations: 0 / 499.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001461/0.359, allocations: 0.4928 MB / 0.4884 GB, free: 14.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.3591, allocations: 105.7 kB / 0.4885 GB, free: 14.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007369/0.3598, allocations: 0.5405 MB / 0.4891 GB, free: 13.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.3599, allocations: 29.7 kB / 0.4891 GB, free: 13.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.36, allocations: 231.4 kB / 0.4893 GB, free: 13.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.286e-05/0.3601, allocations: 66.67 kB / 0.4894 GB, free: 13.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.3603, allocations: 92.38 kB / 0.4895 GB, free: 13.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.733e-05/0.3604, allocations: 353.5 kB / 0.4898 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003952/0.3608, allocations: 157.3 kB / 0.4899 GB, free: 13.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004696/0.3613, allocations: 280.3 kB / 0.4902 GB, free: 12.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008558/0.3622, allocations: 455.4 kB / 0.4907 GB, free: 12.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.3622, allocations: 1.25 kB / 0.4907 GB, free: 12.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009783/0.3632, allocations: 0.4969 MB / 0.4911 GB, free: 12.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3632, allocations: 7 kB / 0.4911 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.688e-05/0.3633, allocations: 42.81 kB / 0.4912 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.3633, allocations: 12.97 kB / 0.4912 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.3635, allocations: 44.67 kB / 0.4912 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.3636, allocations: 8.984 kB / 0.4912 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/0.3639, allocations: 71.16 kB / 0.4913 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.751e-05/0.364, allocations: 23.12 kB / 0.4913 GB, free: 12.53 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000227/0.3642, allocations: 219 kB / 0.4915 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.3643, allocations: 40.94 kB / 0.4916 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008731/0.3652, allocations: 441.2 kB / 0.492 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.3652, allocations: 8.219 kB / 0.492 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3652, allocations: 1.156 kB / 0.492 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3652, allocations: 2.234 kB / 0.492 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006276/0.3659, allocations: 386.4 kB / 0.4924 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.894e-05/0.366, allocations: 36.92 kB / 0.4924 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.3661, allocations: 24.31 kB / 0.4924 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3661, allocations: 5.891 kB / 0.4924 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.3662, allocations: 12.78 kB / 0.4925 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.3662, allocations: 9.906 kB / 0.4925 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3662, allocations: 1.375 kB / 0.4925 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008731/0.3671, allocations: 0.6107 MB / 0.4931 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.3672, allocations: 123.1 kB / 0.4932 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.987e-05/0.3672, allocations: 2.984 kB / 0.4932 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002914/0.3675, allocations: 27.81 kB / 0.4932 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.363e-05/0.3676, allocations: 22.14 kB / 0.4932 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.3677, allocations: 14.39 kB / 0.4933 GB, free: 11.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000409/0.3681, allocations: 400.8 kB / 0.4936 GB, free: 11.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3681, allocations: 1.125 kB / 0.4936 GB, free: 11.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006246/0.3687, allocations: 135.7 kB / 0.4938 GB, free: 11.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003036/0.369, allocations: 153.6 kB / 0.4939 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.3701, allocations: 0.6575 MB / 0.4946 GB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3701, allocations: 4.062 kB / 0.4946 GB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005054/0.3706, allocations: 483.7 kB / 0.495 GB, free: 10.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007236/0.3713, allocations: 132.2 kB / 0.4951 GB, free: 10.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.3729, allocations: 0.8999 MB / 0.496 GB, free: 9.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.3732, allocations: 0.8669 MB / 0.4969 GB, free: 9.105 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001972/0.3734, allocations: 80.94 kB / 0.4969 GB, free: 9.074 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/0.3735, allocations: 31.61 kB / 0.497 GB, free: 9.062 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3735, allocations: 1.75 kB / 0.497 GB, free: 9.062 MB / 382.1 MB Notification: Performance of Templates: time 0.01313/0.3867, allocations: 8.746 MB / 0.5055 GB, free: 4.641 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1)