Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_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.0008413/0.0008416, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 173.7 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3579/0.3579, allocations: 43.55 MB / 314.6 MB, free: 8.973 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004936/0.0004937, allocations: 16 kB / 384 MB, free: 8.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1154, allocations: 58.86 MB / 442.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.002027/0.1175, allocations: 1.474 MB / 444.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.1188, allocations: 0.7609 MB / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.37e-05/0.1189, allocations: 0 / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002412/0.1192, allocations: 39.8 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.1195, allocations: 63.72 kB / 445.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.1197, allocations: 71.78 kB / 445.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.12, allocations: 191.3 kB / 445.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.888e-05/0.12, allocations: 13.11 kB / 445.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.1202, allocations: 55.77 kB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.1204, allocations: 87.61 kB / 445.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.1204, allocations: 0 / 445.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002512/0.1206, allocations: 151.8 kB / 445.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.681e-05/0.1207, allocations: 47.81 kB / 445.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.361e-05/0.1208, allocations: 41.64 kB / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.121, allocations: 119.9 kB / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.121, allocations: 0 / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.121, allocations: 3.938 kB / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.121, allocations: 0 / 446 MB, free: 10.04 MB / 382.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.0007042/0.1217, allocations: 430.8 kB / 446.4 MB, free: 9.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1218, allocations: 8.031 kB / 446.4 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.627e-05/0.1218, allocations: 46.55 kB / 446.5 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.22e-05/0.1219, allocations: 19.77 kB / 446.5 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.1221, allocations: 194.9 kB / 446.7 MB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.1221, allocations: 4 kB / 446.7 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.1222, allocations: 15.94 kB / 446.7 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.1225, allocations: 178.3 kB / 446.9 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1225, allocations: 0 / 446.9 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.1226, allocations: 0 / 446.9 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.69e-05/0.1226, allocations: 11.98 kB / 446.9 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003472/0.123, allocations: 187.8 kB / 447.1 MB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007736/0.1237, allocations: 496 kB / 447.6 MB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/0.1242, allocations: 158.5 kB / 447.7 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.1243, allocations: 56.81 kB / 447.8 MB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.1244, allocations: 4 kB / 447.8 MB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.1244, allocations: 42.48 kB / 447.8 MB, free: 8.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.1244, allocations: 4 kB / 447.8 MB, free: 8.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005388/0.1249, allocations: 213.3 kB / 448 MB, free: 7.828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.125, allocations: 59.36 kB / 448.1 MB, free: 7.758 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.1252, allocations: 199.8 kB / 448.3 MB, free: 7.551 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.1252, allocations: 29.7 kB / 448.3 MB, free: 7.516 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.123e-05/0.1253, allocations: 108 kB / 448.4 MB, free: 7.406 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.1254, allocations: 35.55 kB / 448.5 MB, free: 7.371 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.1254, allocations: 3.938 kB / 448.5 MB, free: 7.367 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1255, allocations: 322.8 kB / 448.8 MB, free: 7.043 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.1257, allocations: 59.95 kB / 448.8 MB, free: 6.984 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.1258, allocations: 74.52 kB / 448.9 MB, free: 6.902 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.126, allocations: 63.89 kB / 449 MB, free: 6.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.126, allocations: 4 kB / 449 MB, free: 6.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003519/0.1263, allocations: 173.3 kB / 449.1 MB, free: 6.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1264, allocations: 4 kB / 449.1 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1264, allocations: 4 kB / 449.1 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1264, allocations: 4.062 kB / 449.2 MB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.1267, allocations: 55.91 kB / 449.2 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006241/0.1273, allocations: 1.215 MB / 450.4 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.1274, allocations: 27.8 kB / 450.4 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.1274, allocations: 0 / 450.4 MB, free: 5.305 MB / 382.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.0001543/0.1276, allocations: 149.7 kB / 450.6 MB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.1276, allocations: 7.906 kB / 450.6 MB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003902/0.128, allocations: 195 kB / 450.8 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-06/0.128, allocations: 4 kB / 450.8 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1281, allocations: 0 / 450.8 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1281, allocations: 0 / 450.8 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.1283, allocations: 233.5 kB / 451 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1283, allocations: 0 / 451 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.1285, allocations: 47.97 kB / 451.1 MB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.1286, allocations: 8 kB / 451.1 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.1286, allocations: 4 kB / 451.1 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005708/0.1291, allocations: 1.223 MB / 452.3 MB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1292, allocations: 192 / 452.3 MB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.1295, allocations: 255.3 kB / 452.6 MB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/0.1296, allocations: 92.92 kB / 452.6 MB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.1296, allocations: 192 / 452.6 MB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.1297, allocations: 19.94 kB / 452.7 MB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.1298, allocations: 11.92 kB / 452.7 MB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.1298, allocations: 4 kB / 452.7 MB, free: 2.922 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001065/0.1299, allocations: 149.2 kB / 452.8 MB, free: 2.777 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1299, allocations: 0 / 452.8 MB, free: 2.777 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.1302, allocations: 40 kB / 452.9 MB, free: 2.738 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 (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.0006689/0.1309, allocations: 0.8293 MB / 453.7 MB, free: 1.883 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004399/0.1313, allocations: 155.9 kB / 453.8 MB, free: 1.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1313, allocations: 4 kB / 453.9 MB, free: 1.727 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002564/0.1316, allocations: 91.94 kB / 453.9 MB, free: 1.637 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.1319, allocations: 32.06 kB / 454 MB, free: 1.605 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.1336, allocations: 1.098 MB / 455.1 MB, free: 464 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2292/0.3628, allocations: 0.7294 MB / 455.8 MB, free: 46.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001709/0.3631, allocations: 33.39 kB / 455.8 MB, free: 46.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.017e-05/0.3632, allocations: 36.28 kB / 455.9 MB, free: 46.59 MB / 382.1 MB Notification: Performance of SimCode: time 1.954e-06/0.3632, allocations: 0.5312 kB / 455.9 MB, free: 46.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01564/0.3788, allocations: 4.142 MB / 460 MB, free: 46.25 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/0.379, allocations: 259.5 kB / 460.3 MB, free: 45.9 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.27, allocations: 0 / 460.3 MB, free: 45.9 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat does not exist to compare? outputFormat=mat