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.007462/0.007462, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.00137/0.00137, allocations: 193.3 kB / 16.67 MB, free: 5.977 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.566/1.566, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.3928/0.3928, allocations: 39.94 MB / 309.8 MB, free: 9.363 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.001427/0.001427, allocations: 63.91 kB / 435.8 MB, free: 2.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3549, allocations: 56.87 MB / 492.7 MB, free: 19.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.004022/0.3589, allocations: 2.115 MB / 494.8 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.3609, allocations: 0.9164 MB / 495.7 MB, free: 17.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002746/0.3612, allocations: 6.188 kB / 495.7 MB, free: 17.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003938/0.3616, allocations: 65.08 kB / 495.8 MB, free: 17.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006864/0.3623, allocations: 138.4 kB / 495.9 MB, free: 17.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000576/0.3629, allocations: 96.09 kB / 496 MB, free: 17.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008436/0.3638, allocations: 464.3 kB / 496.5 MB, free: 17.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.364, allocations: 52.36 kB / 496.5 MB, free: 17.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007056/0.3647, allocations: 182.7 kB / 496.7 MB, free: 16.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004871/0.3652, allocations: 204.9 kB / 496.9 MB, free: 16.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.631e-05/0.3652, allocations: 12.12 kB / 496.9 MB, free: 16.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000731/0.366, allocations: 262.4 kB / 497.2 MB, free: 16.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.3662, allocations: 108.9 kB / 497.3 MB, free: 16.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002422/0.3664, allocations: 181.5 kB / 497.5 MB, free: 16.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009587/0.3674, allocations: 0.5331 MB / 498 MB, free: 16.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3674, allocations: 0 / 498 MB, free: 16.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.3674, allocations: 0 / 498 MB, free: 16.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.3674, allocations: 0.75 kB / 498 MB, free: 16.42 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.001388/0.3688, allocations: 0.7161 MB / 498.7 MB, free: 15.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.3689, allocations: 10.31 kB / 498.7 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.369, allocations: 45.94 kB / 498.8 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/0.3695, allocations: 303.9 kB / 499.1 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/0.3695, allocations: 34.19 kB / 499.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.275e-05/0.3696, allocations: 47.92 kB / 499.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.3707, allocations: 0.66 MB / 499.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.3708, allocations: 0 / 499.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.463e-05/0.3708, allocations: 20.66 kB / 499.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.604e-05/0.3709, allocations: 48.45 kB / 499.9 MB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.3722, allocations: 0.6978 MB / 0.4888 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002243/0.3744, allocations: 1.352 MB / 0.4902 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009277/0.3754, allocations: 447.3 kB / 0.4906 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000326/0.3757, allocations: 158.5 kB / 0.4907 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.813e-05/0.3758, allocations: 14.02 kB / 0.4907 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.3758, allocations: 41.92 kB / 0.4908 GB, free: 14.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.763e-06/0.3758, allocations: 0 / 0.4908 GB, free: 14.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001214/0.377, allocations: 0.5312 MB / 0.4913 GB, free: 14.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.3771, allocations: 54.09 kB / 0.4914 GB, free: 14.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006582/0.3777, allocations: 496 kB / 0.4918 GB, free: 13.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.3778, allocations: 30.52 kB / 0.4919 GB, free: 13.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.378, allocations: 220.2 kB / 0.4921 GB, free: 13.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.965e-05/0.3781, allocations: 99.62 kB / 0.4922 GB, free: 13.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.3782, allocations: 87.81 kB / 0.4922 GB, free: 13.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.3783, allocations: 354.5 kB / 0.4926 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.3787, allocations: 153.6 kB / 0.4927 GB, free: 13.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003823/0.3791, allocations: 249.8 kB / 0.493 GB, free: 12.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007641/0.3799, allocations: 441.5 kB / 0.4934 GB, free: 12.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3799, allocations: 1.062 kB / 0.4934 GB, free: 12.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00097/0.3809, allocations: 497.1 kB / 0.4939 GB, free: 12.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.3809, allocations: 8.031 kB / 0.4939 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.3809, allocations: 3.469 kB / 0.4939 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.978e-05/0.381, allocations: 4.562 kB / 0.4939 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009126/0.3819, allocations: 202.4 kB / 0.4941 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00278/0.3847, allocations: 7.298 MB / 0.5012 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000502/0.3852, allocations: 58.22 kB / 0.5013 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.241e-05/0.3852, allocations: 22.31 kB / 0.5013 GB, free: 5.078 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.0003761/0.3856, allocations: 223.1 kB / 0.5015 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/0.3858, allocations: 42.69 kB / 0.5015 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.3873, allocations: 0.5455 MB / 0.5021 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.3873, allocations: 1.938 kB / 0.5021 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.3873, allocations: 0.9062 kB / 0.5021 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.3873, allocations: 0 / 0.5021 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007476/0.3881, allocations: 422.4 kB / 0.5025 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.3881, allocations: 3.938 kB / 0.5025 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008849/0.389, allocations: 190.4 kB / 0.5027 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.389, allocations: 2.188 kB / 0.5027 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/0.389, allocations: 16.34 kB / 0.5027 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003358/0.3924, allocations: 7.288 MB / 0.5098 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.3924, allocations: 3.938 kB / 0.5098 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008467/0.3933, allocations: 0.502 MB / 0.5103 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.3934, allocations: 125.3 kB / 0.5104 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.022e-05/0.3935, allocations: 5.469 kB / 0.5104 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.3937, allocations: 13.02 kB / 0.5104 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.843e-05/0.3938, allocations: 27.16 kB / 0.5104 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-05/0.3939, allocations: 13.83 kB / 0.5105 GB, free: 12.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004725/0.3943, allocations: 355.5 kB / 0.5108 GB, free: 12.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3944, allocations: 5.188 kB / 0.5108 GB, free: 12.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007332/0.3951, allocations: 125.6 kB / 0.5109 GB, free: 12.22 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.0004012/0.3955, allocations: 141.1 kB / 0.5111 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001609/0.3971, allocations: 0.5193 MB / 0.5116 GB, free: 11.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.3971, allocations: 0.75 kB / 0.5116 GB, free: 11.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009993/0.3981, allocations: 343.5 kB / 0.5119 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006355/0.3988, allocations: 111.9 kB / 0.512 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.4007, allocations: 0.8892 MB / 0.5129 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005599/0.4013, allocations: 0.8795 MB / 0.5137 GB, free: 10.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000407/0.4017, allocations: 144 kB / 0.5139 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.4018, allocations: 34.64 kB / 0.5139 GB, free: 10.35 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4018, allocations: 0 / 0.5139 GB, free: 10.35 MB / 398.1 MB Notification: Performance of Templates: time 0.02015/0.422, allocations: 9.405 MB / 0.5231 GB, free: 4.418 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)