Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001909/0.00191, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.866/1.866, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0009013/0.0009012, allocations: 86.41 kB / 267 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4551/0.4551, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.65e-05/3.653e-05, allocations: 0 / 425.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1262, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4289/0.5552, allocations: 97.58 MB / 0.5682 GB, free: 7.957 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.5555, allocations: 99.09 kB / 0.5683 GB, free: 7.902 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05192/0.6075, allocations: 20.34 MB / 0.5882 GB, free: 6.449 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.6075, allocations: 5.25 kB / 0.5882 GB, free: 6.445 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.6075, allocations: 4 kB / 0.5882 GB, free: 6.441 MB / 410.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.00104/0.6086, allocations: 0.6691 MB / 0.5888 GB, free: 5.758 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.6086, allocations: 8.031 kB / 0.5888 GB, free: 5.75 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001104/0.6087, allocations: 106.5 kB / 0.5889 GB, free: 5.668 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.486e-05/0.6088, allocations: 54.78 kB / 0.589 GB, free: 5.617 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004754/0.6093, allocations: 296.2 kB / 0.5893 GB, free: 5.297 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.6094, allocations: 40.98 kB / 0.5893 GB, free: 5.273 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.749e-05/0.6094, allocations: 50.31 kB / 0.5894 GB, free: 5.238 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009564/0.6104, allocations: 0.6663 MB / 0.59 GB, free: 4.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.6104, allocations: 4 kB / 0.59 GB, free: 4.727 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.275e-05/0.6105, allocations: 18.19 kB / 0.59 GB, free: 4.723 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.707e-05/0.6105, allocations: 50.02 kB / 0.5901 GB, free: 4.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009515/0.6115, allocations: 0.7052 MB / 0.5908 GB, free: 4.145 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002213/0.6137, allocations: 1.462 MB / 0.5922 GB, free: 2.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006695/0.6144, allocations: 435 kB / 0.5926 GB, free: 2.449 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.6146, allocations: 140 kB / 0.5927 GB, free: 2.328 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.403e-05/0.6147, allocations: 19.58 kB / 0.5928 GB, free: 2.312 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.6147, allocations: 33.86 kB / 0.5928 GB, free: 2.273 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.925e-06/0.6147, allocations: 4 kB / 0.5928 GB, free: 2.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006783/0.6154, allocations: 365.4 kB / 0.5931 GB, free: 1.938 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.6155, allocations: 55.41 kB / 0.5932 GB, free: 1.871 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005177/0.616, allocations: 482.3 kB / 0.5937 GB, free: 1.488 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.6161, allocations: 33.38 kB / 0.5937 GB, free: 1.453 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.6162, allocations: 252.4 kB / 0.5939 GB, free: 1.273 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.639e-05/0.6163, allocations: 101.7 kB / 0.594 GB, free: 1.188 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.845e-05/0.6163, allocations: 6.875 kB / 0.594 GB, free: 1.188 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.6165, allocations: 356.9 kB / 0.5944 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.6167, allocations: 141.5 kB / 0.5945 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.617, allocations: 283 kB / 0.5948 GB, free: 428 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.6173, allocations: 197.4 kB / 0.595 GB, free: 252 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.6173, allocations: 3.953 kB / 0.595 GB, free: 248 kB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000782/0.6181, allocations: 0.5039 MB / 0.5955 GB, free: 15.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.6182, allocations: 12.62 kB / 0.5955 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.6182, allocations: 4 kB / 0.5955 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.6182, allocations: 8 kB / 0.5955 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.6192, allocations: 218.9 kB / 0.5957 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003974/0.6232, allocations: 7.307 MB / 0.6028 GB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004363/0.6237, allocations: 62.98 kB / 0.6029 GB, free: 7.988 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/0.6237, allocations: 22.92 kB / 0.6029 GB, free: 7.969 MB / 426.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 () * 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.0001763/0.6239, allocations: 143.4 kB / 0.6031 GB, free: 7.832 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.298e-05/0.624, allocations: 43.44 kB / 0.6031 GB, free: 7.789 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009817/0.625, allocations: 0.5183 MB / 0.6036 GB, free: 7.324 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.625, allocations: 7.984 kB / 0.6036 GB, free: 7.316 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.625, allocations: 0 / 0.6036 GB, free: 7.316 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.625, allocations: 3.984 kB / 0.6036 GB, free: 7.312 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005504/0.6256, allocations: 423.7 kB / 0.604 GB, free: 6.902 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.6256, allocations: 0 / 0.604 GB, free: 6.902 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009305/0.6265, allocations: 199 kB / 0.6042 GB, free: 6.711 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.6266, allocations: 0 / 0.6042 GB, free: 6.711 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.6266, allocations: 15.11 kB / 0.6042 GB, free: 6.699 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003962/0.6306, allocations: 7.304 MB / 0.6114 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.6306, allocations: 4.031 kB / 0.6114 GB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006771/0.6313, allocations: 489 kB / 0.6118 GB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.6315, allocations: 124.5 kB / 0.6119 GB, free: 14.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.809e-05/0.6315, allocations: 7.375 kB / 0.612 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.6318, allocations: 10.98 kB / 0.612 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.821e-05/0.6318, allocations: 31.38 kB / 0.612 GB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.6319, allocations: 11.98 kB / 0.612 GB, free: 14.55 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004319/0.6323, allocations: 377.8 kB / 0.6124 GB, free: 14.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6323, allocations: 3.938 kB / 0.6124 GB, free: 14.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007219/0.6331, allocations: 183.2 kB / 0.6125 GB, free: 14.09 MB / 442.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 () * 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.001326/0.6344, allocations: 1.168 MB / 0.6137 GB, free: 12.94 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.6358, allocations: 484.9 kB / 0.6141 GB, free: 12.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6358, allocations: 0 / 0.6141 GB, free: 12.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009426/0.6367, allocations: 294.6 kB / 0.6144 GB, free: 12.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.6372, allocations: 86.16 kB / 0.6145 GB, free: 12.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.6388, allocations: 0.8526 MB / 0.6153 GB, free: 11.36 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/0.6392, allocations: 0.9037 MB / 0.6162 GB, free: 10.44 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003166/0.6396, allocations: 144.2 kB / 0.6164 GB, free: 10.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.6397, allocations: 137.3 kB / 0.6165 GB, free: 10.25 MB / 442.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6398, allocations: 0 / 0.6165 GB, free: 10.25 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03045/0.6702, allocations: 13.9 MB / 0.6301 GB, free: 12.43 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/0.6705, allocations: 221.9 kB / 0.6303 GB, free: 12.21 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.566/3.237, allocations: 3.953 kB / 0.6303 GB, free: 12.21 MB / 458.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat does not exist to compare? outputFormat=mat