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.009699/0.009699, allocations: 102.4 kB / 15.73 MB, free: 6.035 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.001766/0.001766, allocations: 196.7 kB / 16.68 MB, free: 5.953 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.579/1.579, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.3326/0.3326, allocations: 39.95 MB / 309.9 MB, free: 9.457 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.001493/0.001493, allocations: 63.91 kB / 435.8 MB, free: 2.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3567, allocations: 56.87 MB / 492.7 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.003799/0.3605, allocations: 2.117 MB / 494.8 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.3622, allocations: 0.9097 MB / 495.7 MB, free: 17.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.3623, allocations: 1.656 kB / 495.7 MB, free: 17.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.3627, allocations: 70.17 kB / 495.8 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004034/0.3631, allocations: 136.9 kB / 495.9 MB, free: 17.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.3634, allocations: 95.95 kB / 496 MB, free: 17.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005096/0.3639, allocations: 463.1 kB / 496.5 MB, free: 17.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.793e-05/0.364, allocations: 60.91 kB / 496.5 MB, free: 16.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002302/0.3642, allocations: 175 kB / 496.7 MB, free: 16.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002675/0.3645, allocations: 210.1 kB / 496.9 MB, free: 16.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.155e-05/0.3646, allocations: 16.44 kB / 496.9 MB, free: 16.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004632/0.365, allocations: 257.4 kB / 497.2 MB, free: 16.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.3652, allocations: 109.8 kB / 497.3 MB, free: 16.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.3654, allocations: 184 kB / 497.5 MB, free: 16.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007474/0.3661, allocations: 0.5265 MB / 498 MB, free: 16.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3661, allocations: 0 / 498 MB, free: 16.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3661, allocations: 0 / 498 MB, free: 16.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.3662, allocations: 4 kB / 498 MB, free: 16.38 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.001178/0.3673, allocations: 0.7211 MB / 498.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.3674, allocations: 8.875 kB / 498.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.3675, allocations: 46.47 kB / 498.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004331/0.3679, allocations: 303.9 kB / 499.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.368, allocations: 30.81 kB / 499.1 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.961e-05/0.3681, allocations: 48.45 kB / 499.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.3692, allocations: 0.6588 MB / 499.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.3692, allocations: 0 / 499.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.683e-05/0.3692, allocations: 20.61 kB / 499.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.911e-05/0.3693, allocations: 52.78 kB / 499.9 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.3706, allocations: 0.6926 MB / 0.4888 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002484/0.3731, allocations: 1.355 MB / 0.4902 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008603/0.374, allocations: 450.2 kB / 0.4906 GB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.3743, allocations: 153.3 kB / 0.4907 GB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.224e-05/0.3744, allocations: 15.48 kB / 0.4907 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.3744, allocations: 33.22 kB / 0.4908 GB, free: 14.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.3744, allocations: 4 kB / 0.4908 GB, free: 14.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001272/0.3757, allocations: 0.5307 MB / 0.4913 GB, free: 14.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/0.3758, allocations: 59.67 kB / 0.4914 GB, free: 14.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005709/0.3764, allocations: 497.1 kB / 0.4918 GB, free: 13.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.3764, allocations: 30.83 kB / 0.4919 GB, free: 13.85 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.3765, allocations: 211.8 kB / 0.4921 GB, free: 13.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.536e-05/0.3766, allocations: 103.2 kB / 0.4922 GB, free: 13.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.3768, allocations: 87.17 kB / 0.4922 GB, free: 13.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.3769, allocations: 360.1 kB / 0.4926 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003047/0.3772, allocations: 152.8 kB / 0.4927 GB, free: 13.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004524/0.3776, allocations: 249.8 kB / 0.493 GB, free: 12.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008388/0.3785, allocations: 438.3 kB / 0.4934 GB, free: 12.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3785, allocations: 1.531 kB / 0.4934 GB, free: 12.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009095/0.3794, allocations: 488 kB / 0.4939 GB, free: 12.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.3794, allocations: 11.27 kB / 0.4939 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.3795, allocations: 11.19 kB / 0.4939 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.871e-05/0.3795, allocations: 8.188 kB / 0.4939 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009424/0.3804, allocations: 202.6 kB / 0.4941 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002489/0.3829, allocations: 7.294 MB / 0.5012 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004458/0.3834, allocations: 61.7 kB / 0.5013 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.414e-05/0.3835, allocations: 23.17 kB / 0.5013 GB, free: 5.043 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.0004415/0.3839, allocations: 224.2 kB / 0.5015 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.479e-05/0.384, allocations: 44.72 kB / 0.5015 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.3853, allocations: 0.5374 MB / 0.5021 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.3853, allocations: 11.58 kB / 0.5021 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.3853, allocations: 0 / 0.5021 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.3853, allocations: 0 / 0.5021 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006214/0.386, allocations: 414.3 kB / 0.5025 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.386, allocations: 3.938 kB / 0.5025 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008645/0.3868, allocations: 191.2 kB / 0.5027 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.3869, allocations: 1.062 kB / 0.5027 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/0.3869, allocations: 13.11 kB / 0.5027 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003458/0.3904, allocations: 7.291 MB / 0.5098 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.3904, allocations: 5.219 kB / 0.5098 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000899/0.3913, allocations: 0.5014 MB / 0.5103 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.3915, allocations: 125.7 kB / 0.5104 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.197e-05/0.3915, allocations: 4 kB / 0.5104 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.3918, allocations: 9.906 kB / 0.5104 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.3919, allocations: 31.14 kB / 0.5104 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/0.392, allocations: 13.41 kB / 0.5105 GB, free: 12.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004692/0.3925, allocations: 356.2 kB / 0.5108 GB, free: 12.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3925, allocations: 0 / 0.5108 GB, free: 12.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006035/0.3931, allocations: 130.2 kB / 0.5109 GB, free: 12.19 MB / 398.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.0003057/0.3934, allocations: 129.5 kB / 0.511 GB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001538/0.3949, allocations: 0.5264 MB / 0.5116 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.395, allocations: 3.938 kB / 0.5116 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.396, allocations: 341.5 kB / 0.5119 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006105/0.3966, allocations: 114.7 kB / 0.512 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.3984, allocations: 0.8915 MB / 0.5129 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006337/0.399, allocations: 0.8823 MB / 0.5137 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003647/0.3994, allocations: 136.6 kB / 0.5139 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.989e-05/0.3995, allocations: 38.48 kB / 0.5139 GB, free: 10.32 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3995, allocations: 1.031 kB / 0.5139 GB, free: 10.32 MB / 398.1 MB Notification: Performance of Templates: time 0.01856/0.4181, allocations: 9.151 MB / 0.5228 GB, free: 4.672 MB / 398.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)