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.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,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001331/0.001331, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001485/0.001485, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 246.8 MB, free: 10.48 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.2324/0.2324, allocations: 46.11 MB / 344.2 MB, free: 11.53 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.002268/0.002269, allocations: 80.98 kB / 417.8 MB, free: 19.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1176, allocations: 62.44 MB / 480.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.003495/0.1212, allocations: 1.834 MB / 482.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.1229, allocations: 1.02 MB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.43e-05/0.123, allocations: 3.938 kB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002521/0.1233, allocations: 47.75 kB / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.1235, allocations: 67.59 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.124, allocations: 135.5 kB / 483.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003092/0.1243, allocations: 215.2 kB / 483.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.719e-05/0.1244, allocations: 17.55 kB / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.1246, allocations: 87.67 kB / 483.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.1248, allocations: 95.59 kB / 483.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.1249, allocations: 8 kB / 483.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003049/0.1252, allocations: 135.8 kB / 483.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.408e-05/0.1253, allocations: 59.75 kB / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.1254, allocations: 87.52 kB / 484 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003866/0.1258, allocations: 255.4 kB / 484.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.1258, allocations: 0 / 484.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1258, allocations: 0 / 484.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.1258, allocations: 0 / 484.3 MB, free: 1.023 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.001075/0.1269, allocations: 0.5244 MB / 484.8 MB, free: 460 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.127, allocations: 12.03 kB / 484.8 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.483e-05/0.127, allocations: 50.67 kB / 484.9 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003845/0.1274, allocations: 52.61 kB / 484.9 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.1277, allocations: 228 kB / 485.1 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.1278, allocations: 8.609 kB / 485.1 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.1278, allocations: 12.31 kB / 485.2 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005684/0.1284, allocations: 266.8 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.1284, allocations: 0 / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.1284, allocations: 11.98 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.244e-05/0.1285, allocations: 12.22 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00062/0.1291, allocations: 232.3 kB / 485.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.1304, allocations: 0.81 MB / 486.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004264/0.1308, allocations: 187.7 kB / 486.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/0.1311, allocations: 110.5 kB / 486.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.044e-05/0.1311, allocations: 0 / 486.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.1312, allocations: 42.67 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.853e-06/0.1312, allocations: 0 / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001029/0.1322, allocations: 321.1 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.634e-05/0.1323, allocations: 102.8 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.1326, allocations: 261 kB / 487.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.1327, allocations: 25.7 kB / 487.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.1328, allocations: 140 kB / 487.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.1329, allocations: 39.45 kB / 487.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-05/0.133, allocations: 33.7 kB / 487.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.1332, allocations: 334.8 kB / 488 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.1335, allocations: 91.89 kB / 488.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/0.1338, allocations: 133 kB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005703/0.1344, allocations: 232.8 kB / 488.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1344, allocations: 0 / 488.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006821/0.1351, allocations: 277.4 kB / 488.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1351, allocations: 8 kB / 488.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.903e-05/0.1351, allocations: 15.98 kB / 488.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1351, allocations: 0 / 488.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.1354, allocations: 39.91 kB / 488.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1354, allocations: 0 / 488.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.1356, allocations: 47.88 kB / 488.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.1357, allocations: 7.938 kB / 488.9 MB, free: 12.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001384/0.1358, allocations: 141.8 kB / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.8e-05/0.1359, allocations: 15.81 kB / 489 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005038/0.1364, allocations: 223.1 kB / 489.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.1364, allocations: 4 kB / 489.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1364, allocations: 0 / 489.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1364, allocations: 4 kB / 489.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/0.1369, allocations: 261.5 kB / 489.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.891e-05/0.1369, allocations: 8 kB / 489.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.1371, allocations: 35.89 kB / 489.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1371, allocations: 0 / 489.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.1372, allocations: 4 kB / 489.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1372, allocations: 4 kB / 489.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1372, allocations: 0 / 489.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007553/0.1379, allocations: 485.6 kB / 490 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.662e-05/0.138, allocations: 108.7 kB / 490.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.1381, allocations: 0 / 490.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.1383, allocations: 23.98 kB / 490.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.594e-05/0.1384, allocations: 15.92 kB / 490.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.1385, allocations: 7.984 kB / 490.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002082/0.1387, allocations: 196.4 kB / 490.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1387, allocations: 0 / 490.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004314/0.1391, allocations: 60 kB / 490.4 MB, free: 10.43 MB / 366.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0012/0.1403, allocations: 1.058 MB / 491.5 MB, free: 9.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007373/0.1411, allocations: 297.1 kB / 491.8 MB, free: 9.031 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1411, allocations: 192 / 491.8 MB, free: 9.031 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003644/0.1415, allocations: 184.9 kB / 492 MB, free: 8.832 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/0.142, allocations: 51.91 kB / 492 MB, free: 8.785 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004766/0.1468, allocations: 2.834 MB / 494.8 MB, free: 5.832 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.1472, allocations: 0.7358 MB / 495.6 MB, free: 5.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000125/0.1474, allocations: 41.52 kB / 495.6 MB, free: 5.031 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.1475, allocations: 55.41 kB / 495.7 MB, free: 4.977 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1475, allocations: 4 kB / 495.7 MB, free: 4.973 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03072/0.1782, allocations: 5.884 MB / 0.4898 GB, free: 15.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.182/8.36, allocations: 10.62 kB / 0.4898 GB, free: 15.26 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1)