Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_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_0_0_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 4.0.0+maint.om/package.mo): time 0.0009548/0.000955, allocations: 94.31 kB / 16.99 MB, free: 5.938 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.001042/0.001043, allocations: 181.7 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 223.2 MB / 241.8 MB, free: 14.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.208/0.208, allocations: 44.23 MB / 337.1 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003982, allocations: 8 kB / 409.6 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1155, allocations: 61.92 MB / 471.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.002061/0.1176, allocations: 1.466 MB / 473 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.1192, allocations: 0.8383 MB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.1194, allocations: 4 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002587/0.1197, allocations: 27.81 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002566/0.1199, allocations: 47.91 kB / 473.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000414/0.1204, allocations: 103.7 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000236/0.1206, allocations: 127.7 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.292e-05/0.1207, allocations: 17.55 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.1209, allocations: 71.75 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.121, allocations: 79.67 kB / 474.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.1211, allocations: 4 kB / 474.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002696/0.1213, allocations: 123.8 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.353e-05/0.1214, allocations: 47.81 kB / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.473e-05/0.1215, allocations: 53.64 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.1217, allocations: 155.8 kB / 474.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.1217, allocations: 0 / 474.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1217, allocations: 4 kB / 474.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1217, allocations: 0 / 474.7 MB, free: 10.42 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.0008577/0.1226, allocations: 0.5144 MB / 475.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1227, allocations: 8.562 kB / 475.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.762e-05/0.1227, allocations: 46.55 kB / 475.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.1228, allocations: 19.75 kB / 475.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.123, allocations: 214.8 kB / 475.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.123, allocations: 12.22 kB / 475.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.123, allocations: 19.89 kB / 475.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004952/0.1235, allocations: 274.6 kB / 475.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.1236, allocations: 4 kB / 475.8 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.1236, allocations: 4 kB / 475.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-05/0.1236, allocations: 12.23 kB / 475.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005459/0.1242, allocations: 252.4 kB / 476.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.1252, allocations: 0.8217 MB / 476.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.1256, allocations: 203.6 kB / 477.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.1256, allocations: 7.984 kB / 477.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.1257, allocations: 34.69 kB / 477.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.723e-06/0.1257, allocations: 0 / 477.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008903/0.1266, allocations: 353.4 kB / 477.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.1266, allocations: 110.8 kB / 477.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.1269, allocations: 257 kB / 477.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.1269, allocations: 29.7 kB / 477.9 MB, free: 6.992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.011e-05/0.127, allocations: 139.8 kB / 478 MB, free: 6.852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.127, allocations: 35.53 kB / 478 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.269e-05/0.127, allocations: 4 kB / 478.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.1271, allocations: 338.8 kB / 478.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/0.1274, allocations: 99.91 kB / 478.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.1277, allocations: 149 kB / 478.6 MB, free: 6.211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.1279, allocations: 115.8 kB / 478.7 MB, free: 6.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1279, allocations: 384 / 478.7 MB, free: 6.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006182/0.1286, allocations: 305 kB / 479 MB, free: 5.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1286, allocations: 8.156 kB / 479 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.421e-05/0.1286, allocations: 11.98 kB / 479.1 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.1286, allocations: 4 kB / 479.1 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.1289, allocations: 47.89 kB / 479.1 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1289, allocations: 0 / 479.1 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.1291, allocations: 43.77 kB / 479.2 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.1291, allocations: 11.98 kB / 479.2 MB, free: 5.668 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.1293, allocations: 141.8 kB / 479.3 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.159e-05/0.1293, allocations: 19.72 kB / 479.3 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004519/0.1298, allocations: 227.2 kB / 479.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1298, allocations: 4 kB / 479.5 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1298, allocations: 4 kB / 479.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1298, allocations: 0 / 479.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003502/0.1302, allocations: 257.5 kB / 479.8 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/0.1302, allocations: 7.984 kB / 479.8 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.1304, allocations: 39.91 kB / 479.8 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1304, allocations: 4 kB / 479.9 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.1304, allocations: 7.984 kB / 479.9 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1304, allocations: 3.938 kB / 479.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1304, allocations: 0 / 479.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006398/0.1311, allocations: 0.5283 MB / 480.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.419e-05/0.1312, allocations: 96.86 kB / 480.5 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.1312, allocations: 0 / 480.5 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.1315, allocations: 31.91 kB / 480.5 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.1315, allocations: 11.98 kB / 480.5 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.1316, allocations: 15.98 kB / 480.5 MB, free: 4.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001546/0.1317, allocations: 192.4 kB / 480.7 MB, free: 3.988 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1317, allocations: 0 / 480.7 MB, free: 3.988 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004014/0.1321, allocations: 60 kB / 480.8 MB, free: 3.93 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001014/0.1331, allocations: 1.254 MB / 482 MB, free: 2.641 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006025/0.1338, allocations: 309 kB / 482.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1338, allocations: 0 / 482.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002973/0.1341, allocations: 193.1 kB / 482.5 MB, free: 2.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.1344, allocations: 36.36 kB / 482.6 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.137, allocations: 2.273 MB / 484.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.1373, allocations: 0.7478 MB / 485.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000111/0.1374, allocations: 41.52 kB / 485.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.016e-05/0.1375, allocations: 51.42 kB / 485.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1375, allocations: 0 / 485.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0166/0.1541, allocations: 5.263 MB / 490.9 MB, free: 9.801 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002734/0.1544, allocations: 220 kB / 491.2 MB, free: 9.559 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/1.952, allocations: 0 / 491.2 MB, free: 9.559 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat does not exist to compare? outputFormat=mat