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_evenGapOverall.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_evenGapOverall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",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.001019/0.001019, allocations: 92.77 kB / 16.99 MB, free: 5.629 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.001134/0.001134, allocations: 181.3 kB / 17.88 MB, free: 5.301 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.329/1.329, allocations: 223.2 MB / 241.8 MB, free: 304 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.2016/0.2016, allocations: 44.22 MB / 337.1 MB, free: 2.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003133, allocations: 8.688 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1164, allocations: 61.92 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.002665/0.1192, allocations: 1.79 MB / 473.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002749/0.1219, allocations: 1.77 MB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.1221, allocations: 7.938 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002908/0.1224, allocations: 51.72 kB / 475.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.1225, allocations: 71.78 kB / 475.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008987/0.1235, allocations: 361.8 kB / 475.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004153/0.1239, allocations: 351.1 kB / 475.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.124, allocations: 61.03 kB / 476 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.1242, allocations: 155.3 kB / 476.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.1244, allocations: 175.2 kB / 476.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.427e-05/0.1245, allocations: 12 kB / 476.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008791/0.1253, allocations: 0.6397 MB / 477 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.1255, allocations: 87.64 kB / 477.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.1256, allocations: 89.45 kB / 477.2 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006198/0.1262, allocations: 495.1 kB / 477.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1262, allocations: 0 / 477.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1262, allocations: 0 / 477.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1262, allocations: 0 / 477.6 MB, free: 7.523 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001249/0.1275, allocations: 0.7368 MB / 478.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.1275, allocations: 8.031 kB / 478.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000111/0.1277, allocations: 94.52 kB / 478.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.783e-05/0.1277, allocations: 55.34 kB / 478.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000462/0.1282, allocations: 306.8 kB / 478.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.1283, allocations: 37 kB / 478.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.428e-05/0.1283, allocations: 51.95 kB / 478.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.1294, allocations: 0.7 MB / 479.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.1294, allocations: 3.938 kB / 479.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.204e-05/0.1294, allocations: 20 kB / 479.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.091e-05/0.1295, allocations: 24.98 kB / 479.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008909/0.1304, allocations: 0.5077 MB / 480.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.1325, allocations: 1.527 MB / 481.7 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005703/0.133, allocations: 327.7 kB / 482 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.975e-05/0.1331, allocations: 15.95 kB / 482 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.1331, allocations: 30.56 kB / 482.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.1331, allocations: 0 / 482.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001485/0.1346, allocations: 1.012 MB / 483.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.71e-05/0.1347, allocations: 110.8 kB / 483.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005838/0.1353, allocations: 0.5526 MB / 483.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.1353, allocations: 37.64 kB / 483.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.1355, allocations: 240.2 kB / 484 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.574e-05/0.1356, allocations: 74.92 kB / 484.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.735e-05/0.1356, allocations: 4.031 kB / 484.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1358, allocations: 362.7 kB / 484.4 MB, free: 352 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003506/0.1361, allocations: 163.8 kB / 484.6 MB, free: 188 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004132/0.1366, allocations: 264.7 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003805/0.1369, allocations: 194 kB / 485 MB, free: 15.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.137, allocations: 0 / 485 MB, free: 15.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009667/0.1379, allocations: 0.4966 MB / 485.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.138, allocations: 8 kB / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.228e-05/0.138, allocations: 40.36 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.1381, allocations: 12 kB / 485.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.1383, allocations: 39.91 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.1383, allocations: 7.984 kB / 485.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.1386, allocations: 71.34 kB / 485.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/0.1387, allocations: 27.98 kB / 485.7 MB, free: 14.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (30): * Single equations (assignments): 18 * 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.0002626/0.1389, allocations: 220 kB / 486 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.1391, allocations: 47.34 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009295/0.14, allocations: 489.1 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.14, allocations: 4 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.14, allocations: 0 / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.1401, allocations: 4 kB / 486.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000588/0.1406, allocations: 405.2 kB / 486.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-05/0.1407, allocations: 39.91 kB / 486.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.1409, allocations: 39.97 kB / 487 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1409, allocations: 0 / 487 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.1409, allocations: 15.98 kB / 487 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.1409, allocations: 4 kB / 487 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.1409, allocations: 3.938 kB / 487 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009351/0.1419, allocations: 0.6718 MB / 487.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.142, allocations: 128.5 kB / 487.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.468e-05/0.1421, allocations: 4 kB / 487.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002951/0.1424, allocations: 27.97 kB / 487.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.36e-05/0.1425, allocations: 27.92 kB / 487.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.04e-05/0.1425, allocations: 12 kB / 487.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004335/0.143, allocations: 410.8 kB / 488.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.143, allocations: 0 / 488.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007003/0.1437, allocations: 171.8 kB / 488.4 MB, free: 12.2 MB / 366.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 (17): * Single equations (assignments): 5 * 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.001671/0.1454, allocations: 1.468 MB / 489.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.1465, allocations: 0.6874 MB / 490.6 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1465, allocations: 0 / 490.6 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005648/0.1471, allocations: 0.4925 MB / 491.1 MB, free: 9.363 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005567/0.1476, allocations: 85.56 kB / 491.2 MB, free: 9.285 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005988/0.1536, allocations: 5.381 MB / 496.5 MB, free: 3.773 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004987/0.1542, allocations: 0.8899 MB / 497.4 MB, free: 2.859 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002507/0.1544, allocations: 87.31 kB / 497.5 MB, free: 2.773 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.1546, allocations: 127.4 kB / 497.6 MB, free: 2.648 MB / 366.1 MB Notification: Performance of SimCode: time 1.062e-06/0.1546, allocations: 0 / 497.6 MB, free: 2.648 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.1807, allocations: 12.76 MB / 0.4984 GB, free: 6.145 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/0.1809, allocations: 239.6 kB / 0.4987 GB, free: 5.895 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.942/2.123, allocations: 0 / 0.4987 GB, free: 5.895 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.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_evenGapOverall_res.mat does not exist to compare? outputFormat=mat