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.00107/0.00107, allocations: 90.72 kB / 17 MB, free: 6.84 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.001253/0.001253, allocations: 186.5 kB / 17.89 MB, free: 6.055 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.351/1.351, allocations: 223.2 MB / 241.9 MB, free: 316 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.2095/0.2095, allocations: 44.22 MB / 337.2 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003796, allocations: 18.64 kB / 409.8 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1129, allocations: 61.92 MB / 471.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.002291/0.1152, allocations: 1.789 MB / 473.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.1175, allocations: 1.606 MB / 475.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.749e-05/0.1177, allocations: 0 / 475.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.1179, allocations: 51.72 kB / 475.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003571/0.1183, allocations: 143.4 kB / 475.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006163/0.1189, allocations: 279 kB / 475.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005116/0.1194, allocations: 0.5445 MB / 476.1 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.027e-05/0.1195, allocations: 61.05 kB / 476.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.1197, allocations: 171.2 kB / 476.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.12, allocations: 223 kB / 476.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.256e-05/0.12, allocations: 12 kB / 476.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008124/0.1209, allocations: 0.5341 MB / 477.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.121, allocations: 107.5 kB / 477.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.419e-05/0.1211, allocations: 93.45 kB / 477.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005298/0.1216, allocations: 486.8 kB / 477.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1216, allocations: 0 / 477.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1216, allocations: 4 kB / 477.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1216, allocations: 0 / 477.7 MB, free: 7.488 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.001024/0.1227, allocations: 0.69 MB / 478.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.1227, allocations: 8.031 kB / 478.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.1228, allocations: 110.5 kB / 478.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.833e-05/0.1229, allocations: 47.34 kB / 478.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.1233, allocations: 298.9 kB / 478.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/0.1233, allocations: 37 kB / 478.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.26e-05/0.1234, allocations: 51.94 kB / 479 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.1244, allocations: 0.7147 MB / 479.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1244, allocations: 0 / 479.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.954e-05/0.1244, allocations: 16 kB / 479.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.537e-05/0.1245, allocations: 57.27 kB / 479.8 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.1256, allocations: 0.7467 MB / 480.5 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.1277, allocations: 1.43 MB / 481.9 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007181/0.1284, allocations: 456.4 kB / 482.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/0.1287, allocations: 165.2 kB / 482.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.298e-05/0.1287, allocations: 8.219 kB / 482.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.1287, allocations: 42.8 kB / 482.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.623e-06/0.1288, allocations: 0 / 482.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001062/0.1298, allocations: 0.5598 MB / 483.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.1299, allocations: 55.41 kB / 483.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005763/0.1305, allocations: 0.5251 MB / 483.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.1305, allocations: 33.7 kB / 483.8 MB, free: 1.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.1307, allocations: 244.1 kB / 484 MB, free: 1.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.914e-05/0.1308, allocations: 94.64 kB / 484.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-05/0.1308, allocations: 12 kB / 484.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1309, allocations: 358.8 kB / 484.5 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002976/0.1313, allocations: 168.6 kB / 484.6 MB, free: 384 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003813/0.1316, allocations: 293.6 kB / 484.9 MB, free: 32 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003843/0.132, allocations: 212.7 kB / 485.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.1321, allocations: 7.938 kB / 485.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009259/0.133, allocations: 0.5475 MB / 485.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.133, allocations: 8 kB / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.133, allocations: 7.953 kB / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.1331, allocations: 8 kB / 485.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009649/0.134, allocations: 223.8 kB / 485.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003595/0.1376, allocations: 7.31 MB / 493.2 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/0.1381, allocations: 63.36 kB / 493.3 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-05/0.1382, allocations: 27.98 kB / 493.3 MB, free: 7.34 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.0003486/0.1385, allocations: 234.3 kB / 493.5 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.287e-05/0.1386, allocations: 47.39 kB / 493.6 MB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.1397, allocations: 0.5525 MB / 494.1 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.1397, allocations: 7.938 kB / 494.1 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1397, allocations: 0 / 494.1 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.1397, allocations: 3.984 kB / 494.2 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005103/0.1402, allocations: 421.2 kB / 494.6 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.1402, allocations: 4.109 kB / 494.6 MB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008184/0.141, allocations: 203.8 kB / 494.8 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.1411, allocations: 4 kB / 494.8 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.1411, allocations: 19.94 kB / 494.8 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003905/0.145, allocations: 7.31 MB / 0.4903 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.145, allocations: 0 / 0.4903 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009045/0.146, allocations: 0.5076 MB / 0.4908 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.1461, allocations: 128.6 kB / 0.491 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.458e-05/0.1462, allocations: 11.94 kB / 0.491 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.1464, allocations: 15.98 kB / 0.491 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.041e-05/0.1465, allocations: 23.97 kB / 0.491 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/0.1466, allocations: 19.98 kB / 0.491 GB, free: 13.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004589/0.147, allocations: 375 kB / 0.4914 GB, free: 13.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.147, allocations: 0 / 0.4914 GB, free: 13.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007349/0.1478, allocations: 171.8 kB / 0.4915 GB, free: 12.93 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.001362/0.1492, allocations: 1.165 MB / 0.4927 GB, free: 11.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001471/0.1506, allocations: 0.5513 MB / 0.4932 GB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1507, allocations: 0 / 0.4932 GB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009604/0.1516, allocations: 363.5 kB / 0.4936 GB, free: 10.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005523/0.1522, allocations: 85.84 kB / 0.4936 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004635/0.1568, allocations: 3.325 MB / 0.4969 GB, free: 7.316 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004348/0.1573, allocations: 0.8936 MB / 0.4978 GB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003686/0.1577, allocations: 144.2 kB / 0.4979 GB, free: 6.258 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.1579, allocations: 147.3 kB / 0.498 GB, free: 6.113 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.1579, allocations: 0 / 0.498 GB, free: 6.113 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2298/0.3877, allocations: 13.46 MB / 0.5112 GB, free: 48.99 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000264/0.388, allocations: 258.4 kB / 0.5114 GB, free: 48.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.199/2.587, allocations: 6.438 kB / 0.5114 GB, free: 48.63 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