Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_3_2_3_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.002301/0.002306, allocations: 188.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.272/2.272, allocations: 205.4 MB / 222.5 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001192/0.001192, allocations: 98.77 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3053/0.3053, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006479/0.0006481, allocations: 12 kB / 431.5 MB, free: 20.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1381, allocations: 58.85 MB / 490.3 MB, free: 9.223 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.003387/0.1415, allocations: 1.736 MB / 492.1 MB, free: 7.465 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003812/0.1454, allocations: 1.583 MB / 493.7 MB, free: 5.875 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002183/0.1457, allocations: 4 kB / 493.7 MB, free: 5.871 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003596/0.146, allocations: 59.7 kB / 493.7 MB, free: 5.812 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000562/0.1466, allocations: 95.69 kB / 493.8 MB, free: 5.719 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.1483, allocations: 287.2 kB / 494.1 MB, free: 5.438 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006756/0.149, allocations: 311.3 kB / 494.4 MB, free: 5.133 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.1492, allocations: 61.05 kB / 494.5 MB, free: 5.07 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003151/0.1495, allocations: 147.3 kB / 494.6 MB, free: 4.926 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003188/0.1498, allocations: 167.2 kB / 494.8 MB, free: 4.762 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.633e-05/0.1499, allocations: 12 kB / 494.8 MB, free: 4.75 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.1515, allocations: 0.55 MB / 495.3 MB, free: 4.199 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002113/0.1518, allocations: 99.62 kB / 495.4 MB, free: 4.102 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.152, allocations: 93.45 kB / 495.5 MB, free: 4.004 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000991/0.153, allocations: 447.1 kB / 496 MB, free: 3.566 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.153, allocations: 0 / 496 MB, free: 3.566 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.153, allocations: 0 / 496 MB, free: 3.566 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.153, allocations: 3.938 kB / 496 MB, free: 3.562 MB / 330.7 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.001766/0.1548, allocations: 0.69 MB / 496.6 MB, free: 2.824 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.367e-05/0.1549, allocations: 12.03 kB / 496.7 MB, free: 2.812 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000189/0.1551, allocations: 98.52 kB / 496.8 MB, free: 2.707 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.1552, allocations: 63.28 kB / 496.8 MB, free: 2.645 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006354/0.1559, allocations: 298.8 kB / 497.1 MB, free: 2.312 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.1559, allocations: 37 kB / 497.1 MB, free: 2.277 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.1561, allocations: 47.98 kB / 497.2 MB, free: 2.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/0.1579, allocations: 0.703 MB / 497.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.1579, allocations: 4 kB / 497.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.485e-05/0.158, allocations: 23.98 kB / 497.9 MB, free: 1.492 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/0.1582, allocations: 49.28 kB / 498 MB, free: 1.445 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00212/0.1603, allocations: 0.7545 MB / 498.7 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003829/0.1642, allocations: 1.438 MB / 0.4884 GB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.1656, allocations: 468.4 kB / 0.4889 GB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.471e-05/0.1657, allocations: 12.2 kB / 0.4889 GB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.1658, allocations: 38.8 kB / 0.4889 GB, free: 14.67 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 4.849e-06/0.1658, allocations: 112 / 0.4889 GB, free: 14.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.002068/0.1679, allocations: 0.5522 MB / 0.4895 GB, free: 14.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.168, allocations: 55.41 kB / 0.4895 GB, free: 14.05 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.169, allocations: 0.5289 MB / 0.49 GB, free: 13.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.645e-05/0.1691, allocations: 37.7 kB / 0.4901 GB, free: 13.47 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002688/0.1694, allocations: 282.5 kB / 0.4903 GB, free: 13.19 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.1696, allocations: 94.66 kB / 0.4904 GB, free: 13.1 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.1696, allocations: 8 kB / 0.4904 GB, free: 13.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1698, allocations: 322.8 kB / 0.4908 GB, free: 12.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006217/0.1704, allocations: 168.6 kB / 0.4909 GB, free: 12.6 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007045/0.1711, allocations: 309.3 kB / 0.4912 GB, free: 12.24 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007045/0.1719, allocations: 208.7 kB / 0.4914 GB, free: 12.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.1719, allocations: 3.984 kB / 0.4914 GB, free: 12.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001656/0.1735, allocations: 0.5206 MB / 0.4919 GB, free: 11.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.1736, allocations: 6.656 kB / 0.4919 GB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.1736, allocations: 4 kB / 0.4919 GB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.178e-05/0.1737, allocations: 8 kB / 0.4919 GB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001992/0.1757, allocations: 219.7 kB / 0.4921 GB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005682/0.1814, allocations: 7.314 MB / 0.4993 GB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006842/0.1821, allocations: 71.3 kB / 0.4994 GB, free: 3.609 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.512e-05/0.1822, allocations: 23.98 kB / 0.4994 GB, free: 3.586 MB / 346.7 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.000474/0.1827, allocations: 241.7 kB / 0.4996 GB, free: 3.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.1828, allocations: 43.44 kB / 0.4997 GB, free: 3.297 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/0.1848, allocations: 0.5601 MB / 0.5002 GB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.1849, allocations: 0 / 0.5002 GB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.1849, allocations: 4 kB / 0.5002 GB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.1849, allocations: 0 / 0.5002 GB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009505/0.1859, allocations: 429.1 kB / 0.5006 GB, free: 2.254 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.1859, allocations: 4 kB / 0.5006 GB, free: 2.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001854/0.1878, allocations: 195.8 kB / 0.5008 GB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.359e-05/0.1878, allocations: 11.98 kB / 0.5008 GB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.857e-05/0.1879, allocations: 7.984 kB / 0.5008 GB, free: 2.039 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005732/0.1936, allocations: 7.306 MB / 0.508 GB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.1937, allocations: 0 / 0.508 GB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.1951, allocations: 0.5038 MB / 0.5084 GB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/0.1954, allocations: 128.6 kB / 0.5086 GB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.1955, allocations: 4 kB / 0.5086 GB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004483/0.196, allocations: 19.92 kB / 0.5086 GB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.1961, allocations: 27.95 kB / 0.5086 GB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.669e-05/0.1962, allocations: 15.98 kB / 0.5086 GB, free: 9.723 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000709/0.1969, allocations: 383 kB / 0.509 GB, free: 9.352 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1969, allocations: 0 / 0.509 GB, free: 9.352 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008774/0.1978, allocations: 163.8 kB / 0.5092 GB, free: 9.191 MB / 362.7 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.002314/0.2002, allocations: 1.18 MB / 0.5103 GB, free: 7.984 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00303/0.2033, allocations: 0.5589 MB / 0.5109 GB, free: 7.426 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.2033, allocations: 0 / 0.5109 GB, free: 7.426 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002256/0.2056, allocations: 359.5 kB / 0.5112 GB, free: 7.074 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007515/0.2064, allocations: 85.84 kB / 0.5113 GB, free: 6.984 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/0.2174, allocations: 5.988 MB / 0.5171 GB, free: 0.8594 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3251/0.5425, allocations: 0.8939 MB / 0.518 GB, free: 45.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005015/0.5431, allocations: 144.8 kB / 0.5181 GB, free: 45.59 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5431, allocations: 1.25 kB / 0.5181 GB, free: 45.59 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.011/4.554, allocations: 31.38 MB / 0.5488 GB, free: 27.34 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat does not exist to compare? outputFormat=mat