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.008209/0.008209, allocations: 109.8 kB / 15.74 MB, free: 6.453 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.001198/0.001198, allocations: 197.3 kB / 16.67 MB, free: 6.352 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.682/1.682, allocations: 205.1 MB / 222.5 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.3415/0.3415, allocations: 38 MB / 307.9 MB, free: 10.23 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.001463/0.001463, allocations: 79.88 kB / 433 MB, free: 5.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3528, allocations: 56.46 MB / 489.5 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.00315/0.356, allocations: 2.203 MB / 491.7 MB, free: 18.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.3578, allocations: 1.161 MB / 492.9 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.3579, allocations: 1.375 kB / 492.9 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.3582, allocations: 69.73 kB / 492.9 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.3585, allocations: 103.2 kB / 493 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005687/0.3591, allocations: 170.1 kB / 493.2 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006003/0.3597, allocations: 0.4992 MB / 493.7 MB, free: 17.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.933e-05/0.3598, allocations: 58.95 kB / 493.8 MB, free: 17.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00024/0.3601, allocations: 169.2 kB / 493.9 MB, free: 17.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.3604, allocations: 200.7 kB / 494.1 MB, free: 17.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.789e-05/0.3604, allocations: 14.06 kB / 494.1 MB, free: 17.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000609/0.361, allocations: 325.7 kB / 494.4 MB, free: 17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.3612, allocations: 99.08 kB / 494.5 MB, free: 16.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.3614, allocations: 187.9 kB / 494.7 MB, free: 16.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008115/0.3622, allocations: 0.5724 MB / 495.3 MB, free: 16.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3622, allocations: 0 / 495.3 MB, free: 16.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3622, allocations: 1.859 kB / 495.3 MB, free: 16.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.3622, allocations: 0 / 495.3 MB, free: 16.62 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.001275/0.3635, allocations: 0.7592 MB / 496.1 MB, free: 16.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.3636, allocations: 13.03 kB / 496.1 MB, free: 16.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.599e-05/0.3637, allocations: 47.94 kB / 496.1 MB, free: 16.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.3641, allocations: 299 kB / 496.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.3641, allocations: 31.88 kB / 496.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.285e-05/0.3642, allocations: 50.41 kB / 496.5 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.3653, allocations: 0.6512 MB / 497.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.3653, allocations: 1.25 kB / 497.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.37e-05/0.3653, allocations: 19.59 kB / 497.2 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.493e-05/0.3654, allocations: 23.64 kB / 497.2 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000938/0.3663, allocations: 488.2 kB / 497.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.3684, allocations: 1.51 MB / 499.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006423/0.3691, allocations: 304.5 kB / 499.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003749/0.3695, allocations: 151.4 kB / 499.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.728e-05/0.3695, allocations: 7.531 kB / 499.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.3696, allocations: 41.77 kB / 499.7 MB, free: 14.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 2.044e-06/0.3696, allocations: 0 / 499.7 MB, free: 14.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001463/0.371, allocations: 0.4884 MB / 0.4884 GB, free: 14.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.3711, allocations: 107.3 kB / 0.4885 GB, free: 14.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007515/0.3719, allocations: 0.5428 MB / 0.4891 GB, free: 13.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.3719, allocations: 30.73 kB / 0.4891 GB, free: 13.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.3721, allocations: 239.6 kB / 0.4893 GB, free: 13.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.352e-05/0.3722, allocations: 61.69 kB / 0.4894 GB, free: 13.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.3723, allocations: 81.11 kB / 0.4895 GB, free: 13.53 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.3724, allocations: 357.1 kB / 0.4898 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004071/0.3729, allocations: 152.2 kB / 0.4899 GB, free: 13.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000462/0.3733, allocations: 280.5 kB / 0.4902 GB, free: 13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009142/0.3742, allocations: 460.7 kB / 0.4907 GB, free: 12.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3743, allocations: 1.094 kB / 0.4907 GB, free: 12.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001002/0.3753, allocations: 0.4959 MB / 0.4911 GB, free: 12.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.3753, allocations: 7.25 kB / 0.4911 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.693e-05/0.3754, allocations: 41.31 kB / 0.4912 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.3754, allocations: 10.16 kB / 0.4912 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.3756, allocations: 45.14 kB / 0.4912 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.3757, allocations: 6.125 kB / 0.4912 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/0.376, allocations: 75.45 kB / 0.4913 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.845e-05/0.3761, allocations: 21.66 kB / 0.4913 GB, free: 12.57 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.0002424/0.3763, allocations: 220.5 kB / 0.4915 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.3764, allocations: 38.78 kB / 0.4916 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009306/0.3774, allocations: 441.4 kB / 0.492 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.3774, allocations: 9.359 kB / 0.492 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.3774, allocations: 1.188 kB / 0.492 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.3774, allocations: 2.172 kB / 0.492 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007008/0.3781, allocations: 389.9 kB / 0.4924 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.561e-05/0.3782, allocations: 36.97 kB / 0.4924 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.3784, allocations: 29.36 kB / 0.4925 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3784, allocations: 5.375 kB / 0.4925 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.3784, allocations: 12.94 kB / 0.4925 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.3784, allocations: 9.188 kB / 0.4925 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3784, allocations: 1.312 kB / 0.4925 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008985/0.3793, allocations: 0.6033 MB / 0.4931 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.3795, allocations: 123.3 kB / 0.4932 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.347e-05/0.3795, allocations: 6.938 kB / 0.4932 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002878/0.3798, allocations: 23.61 kB / 0.4932 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.3799, allocations: 22.53 kB / 0.4932 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.38, allocations: 10.31 kB / 0.4932 GB, free: 11.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004761/0.3804, allocations: 406.1 kB / 0.4936 GB, free: 11.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3805, allocations: 3.938 kB / 0.4936 GB, free: 11.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006537/0.3811, allocations: 131.4 kB / 0.4938 GB, free: 11.3 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.0003006/0.3814, allocations: 153.9 kB / 0.4939 GB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.3825, allocations: 0.6605 MB / 0.4946 GB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.3825, allocations: 5.406 kB / 0.4946 GB, free: 10.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005056/0.383, allocations: 482.5 kB / 0.495 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007085/0.3837, allocations: 125 kB / 0.4951 GB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.3855, allocations: 0.8996 MB / 0.496 GB, free: 9.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.3859, allocations: 0.8661 MB / 0.4969 GB, free: 9.172 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002434/0.3861, allocations: 85.59 kB / 0.4969 GB, free: 9.137 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.435e-05/0.3862, allocations: 27.53 kB / 0.497 GB, free: 9.129 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3862, allocations: 0 / 0.497 GB, free: 9.129 MB / 382.1 MB Notification: Performance of Templates: time 0.01344/0.3996, allocations: 8.571 MB / 0.5053 GB, free: 4.84 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)