Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.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.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",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.001279/0.001279, allocations: 95.48 kB / 16.99 MB, free: 5.941 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.001422/0.001422, allocations: 181 kB / 17.88 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.417/1.417, allocations: 223.2 MB / 241.8 MB, free: 14.65 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.1988/0.1988, allocations: 44.22 MB / 337.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003372, allocations: 8 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1169, allocations: 61.91 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.001821/0.1188, allocations: 1.442 MB / 473 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1198, allocations: 0.6941 MB / 473.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.822e-05/0.1199, allocations: 0 / 473.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001817/0.1201, allocations: 43.81 kB / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.1202, allocations: 47.8 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.1205, allocations: 67.84 kB / 473.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.1206, allocations: 83.8 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.262e-05/0.1206, allocations: 13.11 kB / 473.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.782e-05/0.1208, allocations: 47.83 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.896e-05/0.1209, allocations: 51.77 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.1209, allocations: 4 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000241/0.1211, allocations: 155.8 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.864e-05/0.1212, allocations: 35.89 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.1212, allocations: 45.58 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.1214, allocations: 123.9 kB / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.1214, allocations: 0 / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1214, allocations: 0 / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.1214, allocations: 0 / 474.4 MB, free: 10.76 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005889/0.122, allocations: 434.8 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1221, allocations: 8.031 kB / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.665e-05/0.1221, allocations: 42.55 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.421e-05/0.1222, allocations: 15.81 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.1224, allocations: 197.2 kB / 475.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.1224, allocations: 11.98 kB / 475.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.1224, allocations: 11.89 kB / 475.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.1228, allocations: 169.6 kB / 475.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1228, allocations: 4 kB / 475.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.1228, allocations: 8 kB / 475.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.922e-05/0.1229, allocations: 11.98 kB / 475.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003535/0.1232, allocations: 179.8 kB / 475.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007519/0.124, allocations: 496.1 kB / 475.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.1244, allocations: 162.6 kB / 476.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.1244, allocations: 7.938 kB / 476.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.1244, allocations: 34.56 kB / 476.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.1244, allocations: 0 / 476.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005572/0.125, allocations: 213.4 kB / 476.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.125, allocations: 55.39 kB / 476.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.1252, allocations: 203.4 kB / 476.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1253, allocations: 25.7 kB / 476.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.472e-05/0.1254, allocations: 112 kB / 476.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.1254, allocations: 31.55 kB / 476.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-06/0.1254, allocations: 0 / 476.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1255, allocations: 330.8 kB / 477.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.1257, allocations: 51.89 kB / 477.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.1258, allocations: 78.52 kB / 477.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.126, allocations: 63.89 kB / 477.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.126, allocations: 0 / 477.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003611/0.1264, allocations: 185.7 kB / 477.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1264, allocations: 4 kB / 477.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1264, allocations: 4 kB / 477.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1264, allocations: 4 kB / 477.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.1267, allocations: 55.89 kB / 477.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008315/0.1276, allocations: 1.219 MB / 478.8 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.1277, allocations: 19.88 kB / 478.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.1277, allocations: 4 kB / 478.8 MB, free: 6.086 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_1[2].target,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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.1279, allocations: 138.3 kB / 478.9 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.1279, allocations: 19.98 kB / 478.9 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004284/0.1284, allocations: 198.9 kB / 479.1 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1284, allocations: 0 / 479.1 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1284, allocations: 0 / 479.1 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1284, allocations: 3.953 kB / 479.1 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.1286, allocations: 221.7 kB / 479.3 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1286, allocations: 4 kB / 479.4 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.1289, allocations: 43.97 kB / 479.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1289, allocations: 0 / 479.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.1289, allocations: 3.984 kB / 479.4 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006682/0.1296, allocations: 1.223 MB / 480.6 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1296, allocations: 3.984 kB / 480.6 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/0.13, allocations: 263.3 kB / 480.9 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.561e-05/0.1301, allocations: 92.86 kB / 481 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.1301, allocations: 4 kB / 481 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.1302, allocations: 15.92 kB / 481 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.1303, allocations: 7.984 kB / 481 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.1303, allocations: 0 / 481 MB, free: 3.723 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001366/0.1304, allocations: 153.2 kB / 481.1 MB, free: 3.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1305, allocations: 0 / 481.1 MB, free: 3.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003039/0.1308, allocations: 40 kB / 481.2 MB, free: 3.535 MB / 350.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007909/0.1316, allocations: 0.8139 MB / 482 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005152/0.1321, allocations: 167.8 kB / 482.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1321, allocations: 0 / 482.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002948/0.1324, allocations: 83.92 kB / 482.2 MB, free: 2.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.1327, allocations: 29.92 kB / 482.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.1346, allocations: 1.408 MB / 483.7 MB, free: 0.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.1349, allocations: 0.7356 MB / 484.4 MB, free: 200 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.135, allocations: 37.05 kB / 484.5 MB, free: 160 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.488e-05/0.1351, allocations: 39.36 kB / 484.5 MB, free: 124 kB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1351, allocations: 480 / 484.5 MB, free: 124 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01572/0.1508, allocations: 4.085 MB / 488.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002307/0.1511, allocations: 262.5 kB / 488.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/1.922, allocations: 4.609 kB / 488.8 MB, free: 11.95 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat does not exist to compare? outputFormat=mat