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_overall.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_overall,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005788/0.005788, allocations: 108.3 kB / 15.74 MB, free: 6.441 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.002015/0.002015, allocations: 194.2 kB / 16.67 MB, free: 6.355 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.524/1.524, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3352/0.3352, allocations: 39.94 MB / 309.8 MB, free: 9.414 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.001419/0.001419, allocations: 67.91 kB / 435.8 MB, free: 2.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3628, allocations: 56.88 MB / 492.7 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003719/0.3666, allocations: 2.264 MB / 495 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003116/0.3697, allocations: 2.081 MB / 497 MB, free: 16.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001867/0.3699, allocations: 2.75 kB / 497 MB, free: 16.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004289/0.3704, allocations: 75.31 kB / 497.1 MB, free: 16.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002784/0.3707, allocations: 113.3 kB / 497.2 MB, free: 16.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.372, allocations: 416.7 kB / 497.6 MB, free: 16.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006364/0.3727, allocations: 0.5143 MB / 498.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.3728, allocations: 76.14 kB / 498.2 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.373, allocations: 178.5 kB / 498.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.3733, allocations: 209.5 kB / 498.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.402e-05/0.3734, allocations: 13.25 kB / 498.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.3745, allocations: 0.6758 MB / 499.3 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.3747, allocations: 107.2 kB / 499.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.3749, allocations: 213 kB / 499.6 MB, free: 15.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.3761, allocations: 0.826 MB / 0.4887 GB, free: 15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3761, allocations: 1.156 kB / 0.4887 GB, free: 15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3761, allocations: 0 / 0.4887 GB, free: 15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.3761, allocations: 0 / 0.4887 GB, free: 15 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001487/0.3776, allocations: 0.8405 MB / 0.4895 GB, free: 14.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.3777, allocations: 9 kB / 0.4895 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.3778, allocations: 54.22 kB / 0.4896 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004928/0.3783, allocations: 321.8 kB / 0.4899 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.894e-05/0.3784, allocations: 43.28 kB / 0.4899 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.3785, allocations: 54.84 kB / 0.49 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.3801, allocations: 0.7674 MB / 0.4907 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.3801, allocations: 0 / 0.4907 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.28e-05/0.3802, allocations: 22.45 kB / 0.4907 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.336e-05/0.3803, allocations: 26.28 kB / 0.4908 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.3815, allocations: 0.5592 MB / 0.4913 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003069/0.3846, allocations: 1.676 MB / 0.493 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006522/0.3853, allocations: 306.4 kB / 0.4932 GB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003861/0.3857, allocations: 150 kB / 0.4934 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.648e-05/0.3857, allocations: 12.69 kB / 0.4934 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.3858, allocations: 36.61 kB / 0.4934 GB, free: 12.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 4.339e-06/0.3858, allocations: 4.719 kB / 0.4934 GB, free: 12.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001447/0.3872, allocations: 0.5067 MB / 0.4939 GB, free: 12.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.3873, allocations: 105.8 kB / 0.494 GB, free: 11.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007618/0.3881, allocations: 0.6342 MB / 0.4947 GB, free: 11.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.3881, allocations: 26.67 kB / 0.4947 GB, free: 11.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.3883, allocations: 286.9 kB / 0.495 GB, free: 11.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.017e-05/0.3884, allocations: 77.72 kB / 0.495 GB, free: 11.24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.3885, allocations: 125.1 kB / 0.4952 GB, free: 11.17 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.3886, allocations: 366.5 kB / 0.4955 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004155/0.3891, allocations: 187 kB / 0.4957 GB, free: 10.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005141/0.3896, allocations: 460.9 kB / 0.4961 GB, free: 10.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.3907, allocations: 0.6836 MB / 0.4968 GB, free: 9.746 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.3908, allocations: 2.562 kB / 0.4968 GB, free: 9.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001525/0.3923, allocations: 0.6856 MB / 0.4975 GB, free: 9.426 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.3923, allocations: 12.38 kB / 0.4975 GB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000126/0.3925, allocations: 55.08 kB / 0.4975 GB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.057e-05/0.3925, allocations: 12.66 kB / 0.4975 GB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.3929, allocations: 75.22 kB / 0.4976 GB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.092e-05/0.3929, allocations: 16.47 kB / 0.4976 GB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005137/0.3934, allocations: 110.5 kB / 0.4977 GB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.017e-05/0.3935, allocations: 36.47 kB / 0.4978 GB, free: 9.293 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,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 (57): * Single equations (assignments): 45 * 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.0003189/0.3938, allocations: 257 kB / 0.498 GB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.3939, allocations: 49.5 kB / 0.4981 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009562/0.3949, allocations: 463.7 kB / 0.4985 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.3949, allocations: 5.5 kB / 0.4985 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3949, allocations: 0 / 0.4985 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.3949, allocations: 5.266 kB / 0.4985 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006671/0.3956, allocations: 412.3 kB / 0.4989 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.577e-05/0.3957, allocations: 45.14 kB / 0.4989 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.3959, allocations: 27.44 kB / 0.499 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.3959, allocations: 6.219 kB / 0.499 GB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.204e-05/0.3959, allocations: 12.25 kB / 0.499 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3959, allocations: 1.344 kB / 0.499 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3959, allocations: 1.375 kB / 0.499 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008856/0.3968, allocations: 0.616 MB / 0.4996 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.397, allocations: 131.9 kB / 0.4997 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.978e-05/0.397, allocations: 9.219 kB / 0.4997 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002943/0.3973, allocations: 14.89 kB / 0.4997 GB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.818e-05/0.3974, allocations: 33.44 kB / 0.4998 GB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.3975, allocations: 10.38 kB / 0.4998 GB, free: 7.895 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005086/0.398, allocations: 446.3 kB / 0.5002 GB, free: 7.648 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.398, allocations: 0 / 0.5002 GB, free: 7.648 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001008/0.399, allocations: 187.8 kB / 0.5004 GB, free: 7.609 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.000656/0.3997, allocations: 238.1 kB / 0.5006 GB, free: 7.445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001388/0.4011, allocations: 0.7515 MB / 0.5013 GB, free: 6.895 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.4011, allocations: 0 / 0.5013 GB, free: 6.895 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005242/0.4016, allocations: 481.6 kB / 0.5018 GB, free: 6.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008923/0.4025, allocations: 129.5 kB / 0.5019 GB, free: 6.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.4047, allocations: 1.009 MB / 0.5029 GB, free: 5.832 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.4051, allocations: 0.8912 MB / 0.5038 GB, free: 5.043 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003404/0.4054, allocations: 134.6 kB / 0.5039 GB, free: 4.977 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.276e-05/0.4055, allocations: 36.83 kB / 0.5039 GB, free: 4.965 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4055, allocations: 0 / 0.5039 GB, free: 4.965 MB / 382.1 MB Notification: Performance of Templates: time 0.01931/0.4248, allocations: 10.45 MB / 0.5142 GB, free: 13.71 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1)