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_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002539/0.002539, allocations: 176.3 kB / 7.452 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.292/1.292, allocations: 170.6 MB / 178.4 MB, free: 15.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001624/0.001624, allocations: 124.4 kB / 217.7 MB, free: 8.18 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1783/0.1783, allocations: 37.96 MB / 294.8 MB, free: 9.652 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.915e-06/7.955e-06, allocations: 1.344 kB / 349.5 MB, free: 37.06 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1171, allocations: 48.71 MB / 398.2 MB, free: 5.664 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3478/0.465, allocations: 78.49 MB / 476.7 MB, free: 13.44 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.4653, allocations: 91.78 kB / 476.8 MB, free: 13.44 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.02887/0.4942, allocations: 11.36 MB / 488.2 MB, free: 12.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.4943, allocations: 3.75 kB / 488.2 MB, free: 12.47 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0006157/0.4949, allocations: 0.4928 MB / 488.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.4949, allocations: 7.812 kB / 488.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.814e-05/0.495, allocations: 30.91 kB / 488.7 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.4953, allocations: 233.4 kB / 488.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.4953, allocations: 7.844 kB / 488.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.576e-05/0.4954, allocations: 15.47 kB / 489 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004426/0.4958, allocations: 327.6 kB / 489.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004404/0.4963, allocations: 321.2 kB / 489.6 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.4963, allocations: 0 / 489.6 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.4963, allocations: 3.938 kB / 489.6 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.628e-05/0.4964, allocations: 27.69 kB / 489.6 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.4976, allocations: 0.7549 MB / 490.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000342/0.498, allocations: 260.2 kB / 490.6 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.4981, allocations: 78.58 kB / 490.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.4981, allocations: 5.078 kB / 490.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.4982, allocations: 35.3 kB / 490.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.974e-06/0.4982, allocations: 0 / 490.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003921/0.4986, allocations: 224.4 kB / 491 MB, free: 11.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.4986, allocations: 55.22 kB / 491 MB, free: 11.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.4988, allocations: 169 kB / 491.2 MB, free: 11.17 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.4988, allocations: 25.7 kB / 491.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.995e-05/0.4989, allocations: 170.6 kB / 491.4 MB, free: 11.01 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/0.4989, allocations: 54.47 kB / 491.4 MB, free: 10.97 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.373e-05/0.499, allocations: 3.938 kB / 491.4 MB, free: 10.97 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.424e-05/0.499, allocations: 330.8 kB / 491.8 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.4992, allocations: 85.73 kB / 491.8 MB, free: 10.65 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.4993, allocations: 168.1 kB / 492 MB, free: 10.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.4995, allocations: 123.6 kB / 492.1 MB, free: 10.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4995, allocations: 0 / 492.1 MB, free: 10.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004313/0.5, allocations: 296 kB / 492.4 MB, free: 10.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.5, allocations: 3.875 kB / 492.4 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.5, allocations: 3.906 kB / 492.4 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.5, allocations: 3.719 kB / 492.4 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006263/0.5007, allocations: 122.2 kB / 492.5 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.5021, allocations: 3.701 MB / 496.2 MB, free: 22.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.5023, allocations: 22.64 kB / 496.3 MB, free: 22.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.5024, allocations: 13.34 kB / 496.3 MB, free: 22.94 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.5025, allocations: 117.9 kB / 496.4 MB, free: 22.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.5026, allocations: 28.11 kB / 496.4 MB, free: 22.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005795/0.5031, allocations: 314.4 kB / 496.7 MB, free: 22.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.5032, allocations: 3.969 kB / 496.7 MB, free: 22.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.5032, allocations: 8 kB / 496.7 MB, free: 22.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.5032, allocations: 1.172 kB / 496.7 MB, free: 22.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/0.5035, allocations: 263.4 kB / 497 MB, free: 22.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.5035, allocations: 0 / 497 MB, free: 22.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005146/0.504, allocations: 100.9 kB / 497.1 MB, free: 22.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.5041, allocations: 0 / 497.1 MB, free: 22.56 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.5041, allocations: 9.562 kB / 497.1 MB, free: 22.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002202/0.5063, allocations: 3.701 MB / 0.4891 GB, free: 19.03 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5063, allocations: 0 / 0.4891 GB, free: 19.03 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003773/0.5067, allocations: 317.4 kB / 0.4894 GB, free: 18.88 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/0.5068, allocations: 97.23 kB / 0.4895 GB, free: 18.78 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.5068, allocations: 0.6094 kB / 0.4895 GB, free: 18.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.507, allocations: 18.56 kB / 0.4895 GB, free: 18.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/0.507, allocations: 13.42 kB / 0.4895 GB, free: 18.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.5071, allocations: 5.672 kB / 0.4895 GB, free: 18.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.319e-05/0.5072, allocations: 126.9 kB / 0.4896 GB, free: 18.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004257/0.5076, allocations: 85.17 kB / 0.4897 GB, free: 18.68 MB / 346.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003148/0.5079, allocations: 155.5 kB / 0.4899 GB, free: 18.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008523/0.5088, allocations: 302.9 kB / 0.4901 GB, free: 18.56 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.5088, allocations: 4 kB / 0.4901 GB, free: 18.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005807/0.5094, allocations: 179.4 kB / 0.4903 GB, free: 18.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.5096, allocations: 20.69 kB / 0.4903 GB, free: 18.55 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008108/0.5104, allocations: 368.3 kB / 0.4907 GB, free: 18.42 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004948/0.5109, allocations: 0.8246 MB / 0.4915 GB, free: 17.71 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5109, allocations: 0 / 0.4915 GB, free: 17.71 MB / 346.7 MB Notification: Performance of Templates: time 0.007261/0.5182, allocations: 3.524 MB / 0.4949 GB, free: 16.84 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1)