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_evenGapLaminar_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_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_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.001163/0.001163, allocations: 93.84 kB / 16.98 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.0008404/0.0008407, allocations: 186.9 kB / 17.88 MB, free: 5.594 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.296/1.296, allocations: 223.2 MB / 241.8 MB, free: 14.66 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.2086/0.2086, allocations: 44.21 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003192, allocations: 8 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1137, 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_evenGapLaminar_KC): time 0.002318/0.1161, allocations: 1.747 MB / 473.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.1174, allocations: 0.8071 MB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.539e-05/0.1175, allocations: 0 / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.1178, allocations: 59.7 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002748/0.118, allocations: 103.7 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.1183, allocations: 75.8 kB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003952/0.1187, allocations: 315.2 kB / 474.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1188, allocations: 61.05 kB / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.119, allocations: 139.3 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.1192, allocations: 175.3 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.1192, allocations: 12 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002979/0.1195, allocations: 187.7 kB / 475.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.1197, allocations: 99.64 kB / 475.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.438e-05/0.1198, allocations: 93.45 kB / 475.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.1202, allocations: 339.4 kB / 475.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1202, allocations: 0 / 475.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1202, allocations: 0 / 475.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1202, allocations: 0 / 475.7 MB, free: 9.41 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001078/0.1213, allocations: 0.6705 MB / 476.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.1213, allocations: 12.03 kB / 476.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001134/0.1214, allocations: 102.5 kB / 476.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.1216, allocations: 55.28 kB / 476.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004341/0.122, allocations: 302.8 kB / 476.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.1221, allocations: 40.98 kB / 476.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-05/0.1221, allocations: 43.95 kB / 476.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.1232, allocations: 0.7148 MB / 477.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.1232, allocations: 3.938 kB / 477.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.372e-05/0.1232, allocations: 20 kB / 477.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-05/0.1233, allocations: 53.27 kB / 477.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.1244, allocations: 0.7506 MB / 478.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002229/0.1267, allocations: 1.461 MB / 479.9 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007661/0.1275, allocations: 456.5 kB / 480.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.73e-05/0.1275, allocations: 8.219 kB / 480.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.1275, allocations: 38.8 kB / 480.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.413e-06/0.1275, allocations: 0 / 480.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001177/0.1287, allocations: 0.5568 MB / 481 MB, free: 3.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.1288, allocations: 55.41 kB / 481.1 MB, free: 3.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006549/0.1294, allocations: 0.5251 MB / 481.6 MB, free: 3.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.1295, allocations: 29.7 kB / 481.6 MB, free: 3.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.1297, allocations: 236.4 kB / 481.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.1298, allocations: 94.59 kB / 481.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/0.1299, allocations: 8 kB / 481.9 MB, free: 2.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.1301, allocations: 354.8 kB / 482.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.1304, allocations: 164.5 kB / 482.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/0.1308, allocations: 248.3 kB / 482.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003554/0.1311, allocations: 200.7 kB / 482.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1312, allocations: 4 kB / 482.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008765/0.132, allocations: 0.4966 MB / 483.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.1321, allocations: 4.109 kB / 483.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.1321, allocations: 7.938 kB / 483.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.1321, allocations: 4 kB / 483.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009812/0.1331, allocations: 216.1 kB / 483.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004198/0.1373, allocations: 7.321 MB / 490.9 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003347/0.1376, allocations: 59.66 kB / 491 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.1377, allocations: 19.98 kB / 491 MB, free: 9.578 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,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 (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003276/0.138, allocations: 230.8 kB / 491.2 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.387e-05/0.1381, allocations: 43.44 kB / 491.3 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.1392, allocations: 0.5639 MB / 491.8 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.1392, allocations: 7.953 kB / 491.8 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1392, allocations: 0 / 491.8 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1392, allocations: 3.984 kB / 491.9 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005182/0.1397, allocations: 429.2 kB / 492.3 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1397, allocations: 0 / 492.3 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008437/0.1406, allocations: 195.8 kB / 492.5 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.1406, allocations: 0 / 492.5 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.1406, allocations: 11.98 kB / 492.5 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004179/0.1448, allocations: 7.317 MB / 499.8 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1448, allocations: 0 / 499.8 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007667/0.1456, allocations: 0.5112 MB / 0.4886 GB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.1457, allocations: 124.5 kB / 0.4887 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.084e-05/0.1458, allocations: 15.98 kB / 0.4887 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.146, allocations: 11.95 kB / 0.4887 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.511e-05/0.1461, allocations: 27.95 kB / 0.4887 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.1462, allocations: 15.98 kB / 0.4888 GB, free: 15.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003854/0.1466, allocations: 383 kB / 0.4891 GB, free: 15.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1466, allocations: 0 / 0.4891 GB, free: 15.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004772/0.1471, allocations: 135.8 kB / 0.4893 GB, free: 15.2 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001207/0.1483, allocations: 1.087 MB / 0.4903 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001472/0.1498, allocations: 0.5384 MB / 0.4908 GB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1498, allocations: 0.625 kB / 0.4908 GB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.1508, allocations: 355.6 kB / 0.4912 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.1512, allocations: 93.73 kB / 0.4913 GB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004823/0.156, allocations: 5.051 MB / 0.4962 GB, free: 7.945 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/0.1565, allocations: 0.9131 MB / 0.4971 GB, free: 7.008 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003154/0.1568, allocations: 128.1 kB / 0.4972 GB, free: 6.883 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.157, allocations: 139.4 kB / 0.4974 GB, free: 6.746 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.157, allocations: 0 / 0.4974 GB, free: 6.746 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2603/0.4173, allocations: 12 MB / 0.5091 GB, free: 49.85 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002734/0.4176, allocations: 254.5 kB / 0.5093 GB, free: 49.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.04/2.458, allocations: 3.562 kB / 0.5093 GB, free: 49.51 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_evenGapLaminar_KC_res.mat does not exist to compare? outputFormat=mat