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.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,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",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.0007957/0.0007957, allocations: 98.42 kB / 17 MB, free: 6.418 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.0007891/0.0007892, allocations: 187.9 kB / 17.89 MB, free: 5.945 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.275/1.275, allocations: 223.2 MB / 241.9 MB, free: 268 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.223/0.223, allocations: 44.22 MB / 337.2 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000289/0.000289, allocations: 8 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1188, allocations: 61.92 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.002015/0.1208, allocations: 1.605 MB / 473.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.1224, allocations: 1.025 MB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.926e-05/0.1225, allocations: 4 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.1227, allocations: 51.73 kB / 474.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.123, allocations: 95.53 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.1233, allocations: 123.6 kB / 474.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004841/0.1238, allocations: 0.5173 MB / 475.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.617e-05/0.1239, allocations: 53.02 kB / 475.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.1241, allocations: 163.2 kB / 475.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.1243, allocations: 199.1 kB / 475.5 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.1244, allocations: 12 kB / 475.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004179/0.1248, allocations: 255.5 kB / 475.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.1249, allocations: 99.47 kB / 475.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.869e-05/0.125, allocations: 85.52 kB / 475.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000462/0.1255, allocations: 403 kB / 476.3 MB, free: 8.934 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.1255, allocations: 0 / 476.3 MB, free: 8.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1255, allocations: 4 kB / 476.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1255, allocations: 0 / 476.3 MB, free: 8.93 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.0008448/0.1264, allocations: 0.632 MB / 477 MB, free: 8.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1264, allocations: 12.03 kB / 477 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.1265, allocations: 98.52 kB / 477.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.478e-05/0.1266, allocations: 51.34 kB / 477.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.1269, allocations: 284.8 kB / 477.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.158e-05/0.127, allocations: 41.3 kB / 477.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-05/0.127, allocations: 51.95 kB / 477.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008619/0.1279, allocations: 0.6349 MB / 478.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.1279, allocations: 0 / 478.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.177e-05/0.128, allocations: 23.98 kB / 478.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.319e-05/0.128, allocations: 33.3 kB / 478.2 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007575/0.1288, allocations: 0.5008 MB / 478.7 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002277/0.1311, allocations: 1.395 MB / 480.1 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007247/0.1318, allocations: 426.2 kB / 480.5 MB, free: 4.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.132, allocations: 148.8 kB / 480.6 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.709e-05/0.1321, allocations: 15.97 kB / 480.7 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.1321, allocations: 38.5 kB / 480.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.976e-06/0.1322, allocations: 0 / 480.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008739/0.133, allocations: 0.5012 MB / 481.2 MB, free: 3.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.1331, allocations: 59.34 kB / 481.3 MB, free: 3.812 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005875/0.1337, allocations: 0.5523 MB / 481.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.1337, allocations: 29.7 kB / 481.8 MB, free: 3.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.1339, allocations: 220.1 kB / 482 MB, free: 2.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.298e-05/0.134, allocations: 86.8 kB / 482.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.134, allocations: 8 kB / 482.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1342, allocations: 358.8 kB / 482.5 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/0.1345, allocations: 152.2 kB / 482.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/0.1349, allocations: 257.7 kB / 482.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004513/0.1353, allocations: 193.2 kB / 483.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.1354, allocations: 0 / 483.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008557/0.1362, allocations: 0.4945 MB / 483.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1363, allocations: 8 kB / 483.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.836e-05/0.1363, allocations: 44.39 kB / 483.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.1364, allocations: 11.98 kB / 483.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.1366, allocations: 43.91 kB / 483.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.1366, allocations: 7.938 kB / 483.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/0.1368, allocations: 55.31 kB / 483.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.162e-05/0.1369, allocations: 23.95 kB / 483.8 MB, free: 1.219 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0003261/0.1372, allocations: 218.2 kB / 484 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.486e-05/0.1373, allocations: 47.42 kB / 484 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009868/0.1383, allocations: 0.5323 MB / 484.6 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.1383, allocations: 4 kB / 484.6 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1383, allocations: 3.938 kB / 484.6 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1383, allocations: 0 / 484.6 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006193/0.1389, allocations: 433.2 kB / 485 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.635e-05/0.139, allocations: 39.98 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.1392, allocations: 20 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.1392, allocations: 11.92 kB / 485.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.1392, allocations: 12 kB / 485.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.1393, allocations: 4 kB / 485.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1393, allocations: 0 / 485.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.1403, allocations: 0.7144 MB / 485.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.1404, allocations: 124.5 kB / 485.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.066e-05/0.1405, allocations: 8 kB / 485.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.1407, allocations: 7.938 kB / 485.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.1408, allocations: 28.03 kB / 486 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.1408, allocations: 12 kB / 486 MB, free: 14.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004277/0.1412, allocations: 403 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1412, allocations: 0 / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004902/0.1417, allocations: 143.9 kB / 486.5 MB, free: 14.38 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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: 12 * 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.001483/0.1432, allocations: 1.305 MB / 487.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007995/0.144, allocations: 0.6762 MB / 488.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.144, allocations: 0 / 488.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000445/0.1445, allocations: 489.2 kB / 489 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005013/0.145, allocations: 86.22 kB / 489 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004752/0.1498, allocations: 3.345 MB / 492.4 MB, free: 8.227 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.1502, allocations: 0.8822 MB / 493.3 MB, free: 7.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002671/0.1505, allocations: 116.2 kB / 493.4 MB, free: 7.207 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.1507, allocations: 135.4 kB / 493.5 MB, free: 7.074 MB / 366.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1507, allocations: 0 / 493.5 MB, free: 7.074 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/0.1749, allocations: 11.89 MB / 0.4936 GB, free: 11.45 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.1751, allocations: 231.1 kB / 0.4938 GB, free: 11.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.041/2.216, allocations: 3.938 kB / 0.4938 GB, free: 11.21 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.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_res.mat does not exist to compare? outputFormat=mat