Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001292/0.001292, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001313, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2376/0.2376, allocations: 46.12 MB / 344.2 MB, free: 11.59 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 81.23 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.114, allocations: 62.45 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.003089/0.1171, allocations: 1.708 MB / 481.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.1185, allocations: 0.7556 MB / 482.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.969e-05/0.1186, allocations: 0 / 482.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.1188, allocations: 39.81 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.1191, allocations: 63.72 kB / 482.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.1193, allocations: 59.75 kB / 482.9 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.1195, allocations: 155.3 kB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.359e-05/0.1196, allocations: 21.38 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.645e-05/0.1197, allocations: 59.72 kB / 483.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.1199, allocations: 79.66 kB / 483.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.1199, allocations: 4 kB / 483.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.1201, allocations: 75.86 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.289e-05/0.1202, allocations: 43.83 kB / 483.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.923e-05/0.1202, allocations: 59.61 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.1205, allocations: 179.7 kB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1205, allocations: 4 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1206, allocations: 0 / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1206, allocations: 4 kB / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007019/0.1213, allocations: 469 kB / 484 MB, free: 1.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.1213, allocations: 11.97 kB / 484 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.082e-05/0.1214, allocations: 42.73 kB / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006007/0.122, allocations: 84.64 kB / 484.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.1222, allocations: 228 kB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1223, allocations: 8.375 kB / 484.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.1223, allocations: 4.375 kB / 484.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/0.1228, allocations: 307.8 kB / 484.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1229, allocations: 0 / 484.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.1229, allocations: 4 kB / 484.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.613e-05/0.1229, allocations: 19.98 kB / 484.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005864/0.1235, allocations: 295.6 kB / 485 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.1249, allocations: 0.7082 MB / 485.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005192/0.1254, allocations: 282.2 kB / 486 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002128/0.1256, allocations: 100.8 kB / 486.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.1257, allocations: 7.969 kB / 486.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.1257, allocations: 34.56 kB / 486.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.1257, allocations: 0 / 486.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008069/0.1265, allocations: 349.2 kB / 486.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.1266, allocations: 51.41 kB / 486.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.1268, allocations: 230.2 kB / 486.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.1269, allocations: 33.64 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.545e-05/0.127, allocations: 120.1 kB / 486.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.266e-05/0.127, allocations: 47.3 kB / 486.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.046e-05/0.1271, allocations: 45.67 kB / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1273, allocations: 326.8 kB / 487.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.1275, allocations: 103.9 kB / 487.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.1278, allocations: 131.4 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004878/0.1283, allocations: 250.1 kB / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1283, allocations: 0 / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006008/0.1289, allocations: 289.2 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.1289, allocations: 8 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1289, allocations: 0 / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1289, allocations: 0 / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01911/0.1481, allocations: 0.928 MB / 489 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02251/0.1706, allocations: 10.74 MB / 499.7 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/0.171, allocations: 23.88 kB / 499.7 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.171, allocations: 11.97 kB / 499.7 MB, free: 0.4961 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 initialization (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002028/0.1712, allocations: 149.8 kB / 499.9 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/0.1713, allocations: 15.81 kB / 499.9 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006181/0.1775, allocations: 0.6259 MB / 0.4888 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1775, allocations: 0 / 0.4888 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1775, allocations: 7.984 kB / 0.4888 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1775, allocations: 4 kB / 0.4888 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004222/0.1779, allocations: 269.3 kB / 0.4891 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.178, allocations: 0 / 0.4891 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.1782, allocations: 39.97 kB / 0.4891 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004745/0.1829, allocations: 306.1 kB / 0.4894 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.183, allocations: 7.984 kB / 0.4894 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01771/0.2007, allocations: 10.32 MB / 0.4995 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.2008, allocations: 3.938 kB / 0.4995 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006316/0.2071, allocations: 0.6762 MB / 0.5001 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.2072, allocations: 96.86 kB / 0.5002 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/0.2073, allocations: 8 kB / 0.5002 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.2075, allocations: 7.984 kB / 0.5002 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/0.2077, allocations: 47.84 kB / 0.5003 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.2078, allocations: 11.97 kB / 0.5003 GB, free: 2.938 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001741/0.2079, allocations: 163.2 kB / 0.5005 GB, free: 2.777 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.208, allocations: 0 / 0.5005 GB, free: 2.777 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005971/0.2086, allocations: 92 kB / 0.5005 GB, free: 2.688 MB / 382.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 (13): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006589/0.2152, allocations: 1.237 MB / 0.5018 GB, free: 1.418 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01944/0.2346, allocations: 1.135 MB / 0.5029 GB, free: 288 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.2347, allocations: 0 / 0.5029 GB, free: 288 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1916/0.4263, allocations: 0.5283 MB / 0.5034 GB, free: 40.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.4268, allocations: 37.97 kB / 0.5034 GB, free: 40.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005217/0.432, allocations: 2.781 MB / 0.5061 GB, free: 39.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.4322, allocations: 0.7447 MB / 0.5069 GB, free: 38.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001613/0.4324, allocations: 49.22 kB / 0.5069 GB, free: 38.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.052e-05/0.4325, allocations: 54.16 kB / 0.507 GB, free: 38.55 MB / 382.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4325, allocations: 0.5312 kB / 0.507 GB, free: 38.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04517/0.4777, allocations: 9.824 MB / 0.5165 GB, free: 36.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.33, allocations: 6.531 kB / 0.5166 GB, free: 36.66 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1)