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_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_evenGapOverall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_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.0008895/0.0008895, allocations: 93.39 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.0008711/0.0008711, allocations: 186.5 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.441/1.441, 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.1986/0.1986, allocations: 44.23 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003032/0.0003033, allocations: 12 kB / 409.6 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1188, 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_evenGapOverall_KC): time 0.002645/0.1215, allocations: 1.735 MB / 473.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002723/0.1242, allocations: 1.536 MB / 474.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.1244, allocations: 3.938 kB / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.1247, allocations: 51.78 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003549/0.1251, allocations: 107.6 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000796/0.1259, allocations: 287.1 kB / 475.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003462/0.1262, allocations: 311.3 kB / 475.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1263, allocations: 53.06 kB / 475.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.1265, allocations: 143.3 kB / 475.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.1267, allocations: 175.2 kB / 475.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.012e-05/0.1268, allocations: 8 kB / 475.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008507/0.1276, allocations: 0.5577 MB / 476.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.1278, allocations: 99.62 kB / 476.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.1279, allocations: 93.45 kB / 476.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005278/0.1284, allocations: 435.2 kB / 477.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1284, allocations: 0 / 477.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1285, allocations: 0 / 477.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.1285, allocations: 4 kB / 477.1 MB, free: 8.02 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.001048/0.1295, allocations: 0.6978 MB / 477.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.1296, allocations: 12.03 kB / 477.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001136/0.1297, allocations: 94.52 kB / 477.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.028e-05/0.1298, allocations: 51.34 kB / 478 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004332/0.1302, allocations: 308.1 kB / 478.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.1303, allocations: 33 kB / 478.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.299e-05/0.1303, allocations: 51.94 kB / 478.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009772/0.1313, allocations: 0.7109 MB / 479.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1313, allocations: 0 / 479.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.29e-05/0.1314, allocations: 23.98 kB / 479.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-05/0.1315, allocations: 53.28 kB / 479.1 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.1325, allocations: 0.7428 MB / 479.9 MB, free: 5.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/0.1346, allocations: 1.469 MB / 481.4 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000716/0.1354, allocations: 452.5 kB / 481.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.101e-05/0.1354, allocations: 12.2 kB / 481.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.1354, allocations: 34.8 kB / 481.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.513e-06/0.1355, allocations: 7.938 kB / 481.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001031/0.1365, allocations: 0.5491 MB / 482.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.1365, allocations: 55.41 kB / 482.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005072/0.1371, allocations: 0.529 MB / 483 MB, free: 1.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.1371, allocations: 29.7 kB / 483 MB, free: 1.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.1373, allocations: 248.1 kB / 483.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.048e-05/0.1373, allocations: 94.66 kB / 483.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.067e-05/0.1374, allocations: 4 kB / 483.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1375, allocations: 362.8 kB / 483.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/0.1378, allocations: 168.6 kB / 483.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003547/0.1382, allocations: 297.6 kB / 484.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.1385, allocations: 212.7 kB / 484.4 MB, free: 500 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.1385, allocations: 4 kB / 484.4 MB, free: 496 kB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008833/0.1394, allocations: 0.544 MB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1394, allocations: 8 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.1394, allocations: 4 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1395, allocations: 11.95 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009557/0.1404, allocations: 219.7 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003251/0.1437, allocations: 7.314 MB / 492.5 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/0.144, allocations: 63.31 kB / 492.5 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.114e-05/0.1441, allocations: 23.98 kB / 492.5 MB, free: 8.016 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (46): * Single equations (assignments): 34 * 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.0002681/0.1444, allocations: 238.3 kB / 492.8 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.974e-05/0.1444, allocations: 47.39 kB / 492.8 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.1455, allocations: 0.5562 MB / 493.4 MB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.1455, allocations: 4 kB / 493.4 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1455, allocations: 0 / 493.4 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.84e-06/0.1455, allocations: 3.984 kB / 493.4 MB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005204/0.1461, allocations: 429.3 kB / 493.8 MB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1461, allocations: 3.938 kB / 493.8 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008765/0.147, allocations: 199.8 kB / 494 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.147, allocations: 3.984 kB / 494 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.147, allocations: 19.94 kB / 494 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004081/0.1511, allocations: 7.302 MB / 0.4896 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1511, allocations: 0 / 0.4896 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007988/0.1519, allocations: 0.5111 MB / 0.4901 GB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.1521, allocations: 124.6 kB / 0.4902 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.702e-05/0.1521, allocations: 7.953 kB / 0.4902 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.1524, allocations: 15.98 kB / 0.4902 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.223e-05/0.1525, allocations: 19.97 kB / 0.4902 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.1525, allocations: 15.98 kB / 0.4903 GB, free: 14.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005047/0.153, allocations: 383 kB / 0.4906 GB, free: 13.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.153, allocations: 0 / 0.4906 GB, free: 13.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005757/0.1536, allocations: 171.8 kB / 0.4908 GB, free: 13.61 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.001278/0.1549, allocations: 1.165 MB / 0.4919 GB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001663/0.1566, allocations: 0.555 MB / 0.4925 GB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1566, allocations: 0 / 0.4925 GB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.1576, allocations: 359.5 kB / 0.4928 GB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.1581, allocations: 85.8 kB / 0.4929 GB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006153/0.1642, allocations: 5.985 MB / 0.4987 GB, free: 5.309 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007837/0.1651, allocations: 0.9014 MB / 0.4996 GB, free: 4.383 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004217/0.1655, allocations: 148.2 kB / 0.4998 GB, free: 4.238 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.1657, allocations: 139.4 kB / 0.4999 GB, free: 4.102 MB / 382.1 MB Notification: Performance of SimCode: time 1.633e-06/0.1658, allocations: 3.938 kB / 0.4999 GB, free: 4.098 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2292/0.395, allocations: 13.21 MB / 0.5128 GB, free: 48.37 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001501/0.3952, allocations: 257.1 kB / 0.513 GB, free: 48.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.222/2.617, allocations: 1.438 kB / 0.513 GB, free: 48.03 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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_evenGapOverall_KC_res.mat does not exist to compare? outputFormat=mat