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.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,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2_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.01242/0.01242, allocations: 103.5 kB / 15.73 MB, free: 6.492 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.00209/0.002091, allocations: 188.1 kB / 16.67 MB, free: 6.379 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.67/1.67, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.3707/0.3707, allocations: 39.94 MB / 309.8 MB, free: 9.34 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.001645/0.001645, allocations: 67.89 kB / 435.8 MB, free: 2.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3449, allocations: 56.87 MB / 492.7 MB, free: 19.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003506/0.3485, allocations: 2.203 MB / 494.9 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.3503, allocations: 1.174 MB / 496.1 MB, free: 17.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.3504, allocations: 1.719 kB / 496.1 MB, free: 17.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.3508, allocations: 65.44 kB / 496.1 MB, free: 17.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.351, allocations: 95.25 kB / 496.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005415/0.3516, allocations: 183.2 kB / 496.4 MB, free: 17.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005672/0.3522, allocations: 0.4937 MB / 496.9 MB, free: 17.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.095e-05/0.3523, allocations: 58.23 kB / 496.9 MB, free: 17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.3525, allocations: 165.8 kB / 497.1 MB, free: 16.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.3528, allocations: 198.3 kB / 497.3 MB, free: 16.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.401e-05/0.3528, allocations: 12.44 kB / 497.3 MB, free: 16.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005447/0.3534, allocations: 335.1 kB / 497.6 MB, free: 16.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.3535, allocations: 102.5 kB / 497.7 MB, free: 16.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.3537, allocations: 187.9 kB / 497.9 MB, free: 16.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007623/0.3545, allocations: 0.5722 MB / 498.5 MB, free: 16.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3545, allocations: 5.188 kB / 498.5 MB, free: 16.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.3545, allocations: 0 / 498.5 MB, free: 16.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.3545, allocations: 0 / 498.5 MB, free: 16.34 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.001304/0.3558, allocations: 0.7483 MB / 499.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.3559, allocations: 10.09 kB / 499.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.356, allocations: 50.34 kB / 499.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004256/0.3564, allocations: 304.6 kB / 499.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/0.3565, allocations: 31.72 kB / 499.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.657e-05/0.3565, allocations: 49.25 kB / 499.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.3577, allocations: 0.6518 MB / 0.4886 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.3577, allocations: 4 kB / 0.4886 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.598e-05/0.3578, allocations: 20.41 kB / 0.4886 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.448e-05/0.3578, allocations: 24.48 kB / 0.4887 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.3589, allocations: 483.5 kB / 0.4891 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002298/0.3612, allocations: 1.517 MB / 0.4906 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006431/0.3619, allocations: 312.2 kB / 0.4909 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003845/0.3623, allocations: 146.1 kB / 0.491 GB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-05/0.3623, allocations: 8.672 kB / 0.491 GB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.3624, allocations: 37.94 kB / 0.4911 GB, free: 14.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 2.715e-06/0.3624, allocations: 4 kB / 0.4911 GB, free: 14.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001414/0.3638, allocations: 499.6 kB / 0.4916 GB, free: 13.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.3639, allocations: 105.9 kB / 0.4917 GB, free: 13.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006392/0.3645, allocations: 0.5498 MB / 0.4922 GB, free: 13.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.3645, allocations: 26.77 kB / 0.4922 GB, free: 13.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.3647, allocations: 232.2 kB / 0.4925 GB, free: 13.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.209e-05/0.3647, allocations: 64.3 kB / 0.4925 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.3649, allocations: 84.72 kB / 0.4926 GB, free: 13.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.289e-05/0.365, allocations: 356 kB / 0.4929 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/0.3653, allocations: 158.3 kB / 0.4931 GB, free: 12.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003888/0.3657, allocations: 278.8 kB / 0.4933 GB, free: 12.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007655/0.3665, allocations: 448.2 kB / 0.4938 GB, free: 12.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.3665, allocations: 1.344 kB / 0.4938 GB, free: 12.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009552/0.3675, allocations: 0.4937 MB / 0.4943 GB, free: 12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.3675, allocations: 6.844 kB / 0.4943 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-05/0.3676, allocations: 44.89 kB / 0.4943 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.3676, allocations: 11.03 kB / 0.4943 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.3678, allocations: 36.92 kB / 0.4944 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.3678, allocations: 13.66 kB / 0.4944 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.3682, allocations: 77.12 kB / 0.4944 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/0.3683, allocations: 21.22 kB / 0.4945 GB, free: 11.91 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.0002319/0.3685, allocations: 216.4 kB / 0.4947 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.3686, allocations: 40.78 kB / 0.4947 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008759/0.3695, allocations: 444 kB / 0.4951 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.3695, allocations: 12.75 kB / 0.4951 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.3695, allocations: 0 / 0.4951 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3695, allocations: 1.156 kB / 0.4951 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005767/0.3701, allocations: 393.2 kB / 0.4955 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.044e-05/0.3702, allocations: 42.48 kB / 0.4956 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.3703, allocations: 23.97 kB / 0.4956 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3704, allocations: 1.469 kB / 0.4956 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/0.3704, allocations: 15.91 kB / 0.4956 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3704, allocations: 5.5 kB / 0.4956 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3704, allocations: 0 / 0.4956 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008929/0.3713, allocations: 0.6023 MB / 0.4962 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.3714, allocations: 126.1 kB / 0.4963 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.465e-05/0.3715, allocations: 10.67 kB / 0.4963 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002926/0.3718, allocations: 22.45 kB / 0.4963 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.533e-05/0.3719, allocations: 27.12 kB / 0.4964 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/0.372, allocations: 9.969 kB / 0.4964 GB, free: 10.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004666/0.3724, allocations: 397.8 kB / 0.4968 GB, free: 10.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3724, allocations: 0 / 0.4968 GB, free: 10.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006599/0.3731, allocations: 126.7 kB / 0.4969 GB, free: 10.32 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.0002938/0.3734, allocations: 157.9 kB / 0.497 GB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009404/0.3744, allocations: 0.6654 MB / 0.4977 GB, free: 9.684 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3744, allocations: 1.062 kB / 0.4977 GB, free: 9.684 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004469/0.3748, allocations: 478.9 kB / 0.4981 GB, free: 9.246 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007277/0.3756, allocations: 131.1 kB / 0.4983 GB, free: 9.168 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.3773, allocations: 0.9 MB / 0.4991 GB, free: 8.676 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.3777, allocations: 0.8673 MB / 0.5 GB, free: 7.895 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002458/0.3779, allocations: 89.12 kB / 0.5001 GB, free: 7.855 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.964e-05/0.378, allocations: 28.16 kB / 0.5001 GB, free: 7.848 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.378, allocations: 0 / 0.5001 GB, free: 7.848 MB / 382.1 MB Notification: Performance of Templates: time 0.0326/0.4106, allocations: 8.752 MB / 0.5086 GB, free: 3.418 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1)