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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 221.3 MB / 236 MB, free: 2.98 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 92.09 kB / 287 MB, free: 232 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.213/0.213, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.687e-05/3.699e-05, allocations: 4.219 kB / 452 MB, free: 9.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1422, allocations: 61.92 MB / 0.5018 GB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4673/0.6095, allocations: 98.72 MB / 0.5982 GB, free: 6.449 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/0.6099, allocations: 99.92 kB / 0.5983 GB, free: 6.352 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05758/0.6675, allocations: 20.8 MB / 0.6186 GB, free: 1.355 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.6675, allocations: 0 / 0.6186 GB, free: 1.355 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.6676, allocations: 8 kB / 0.6187 GB, free: 1.348 MB / 426.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.001143/0.6687, allocations: 0.6584 MB / 0.6193 GB, free: 0.6406 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.6688, allocations: 12.03 kB / 0.6193 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001105/0.6689, allocations: 98.5 kB / 0.6194 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.008e-05/0.669, allocations: 55.34 kB / 0.6195 GB, free: 480 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.6694, allocations: 305.8 kB / 0.6197 GB, free: 132 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/0.6695, allocations: 41.3 kB / 0.6198 GB, free: 92 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.189e-05/0.6695, allocations: 55.94 kB / 0.6198 GB, free: 36 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.6706, allocations: 0.6701 MB / 0.6205 GB, free: 15.36 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.6706, allocations: 0 / 0.6205 GB, free: 15.36 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.464e-05/0.6706, allocations: 20 kB / 0.6205 GB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.894e-05/0.6707, allocations: 45.28 kB / 0.6206 GB, free: 15.29 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00099/0.6717, allocations: 0.7039 MB / 0.6212 GB, free: 14.59 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002454/0.6742, allocations: 1.461 MB / 0.6227 GB, free: 13.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006883/0.6749, allocations: 425.7 kB / 0.6231 GB, free: 12.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.6751, allocations: 149.2 kB / 0.6232 GB, free: 12.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.511e-05/0.6752, allocations: 8.219 kB / 0.6232 GB, free: 12.49 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.6752, allocations: 38.8 kB / 0.6233 GB, free: 12.44 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 3.868e-06/0.6752, allocations: 112 / 0.6233 GB, free: 12.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007163/0.6759, allocations: 389.8 kB / 0.6236 GB, free: 12.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.676, allocations: 51.41 kB / 0.6237 GB, free: 11.99 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006263/0.6766, allocations: 483 kB / 0.6241 GB, free: 11.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.6767, allocations: 29.7 kB / 0.6242 GB, free: 11.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.6769, allocations: 247.9 kB / 0.6244 GB, free: 11.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.654e-05/0.6769, allocations: 102.5 kB / 0.6245 GB, free: 11.13 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.899e-05/0.677, allocations: 7.938 kB / 0.6245 GB, free: 11.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.6772, allocations: 362.8 kB / 0.6249 GB, free: 10.76 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.6774, allocations: 144.6 kB / 0.625 GB, free: 10.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003497/0.6778, allocations: 279.7 kB / 0.6253 GB, free: 10.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/0.6781, allocations: 191.8 kB / 0.6254 GB, free: 10.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6781, allocations: 3.938 kB / 0.6255 GB, free: 10.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008142/0.6789, allocations: 0.4972 MB / 0.6259 GB, free: 9.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.679, allocations: 8 kB / 0.6259 GB, free: 9.582 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.679, allocations: 4 kB / 0.6259 GB, free: 9.578 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.679, allocations: 11.95 kB / 0.626 GB, free: 9.566 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.6801, allocations: 215.7 kB / 0.6262 GB, free: 9.355 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004255/0.6843, allocations: 7.31 MB / 0.6333 GB, free: 1.762 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004527/0.6848, allocations: 67.27 kB / 0.6334 GB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-05/0.6849, allocations: 23.98 kB / 0.6334 GB, free: 1.672 MB / 442.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.0001783/0.6851, allocations: 137.1 kB / 0.6335 GB, free: 1.531 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.622e-05/0.6852, allocations: 43.64 kB / 0.6336 GB, free: 1.488 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009796/0.6861, allocations: 0.5211 MB / 0.6341 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.6862, allocations: 4 kB / 0.6341 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.6862, allocations: 4 kB / 0.6341 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.6862, allocations: 3.984 kB / 0.6341 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005544/0.6867, allocations: 413.2 kB / 0.6345 GB, free: 496 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.6868, allocations: 8 kB / 0.6345 GB, free: 488 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009218/0.6877, allocations: 199.8 kB / 0.6347 GB, free: 288 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.6877, allocations: 4 kB / 0.6347 GB, free: 284 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.6877, allocations: 19.88 kB / 0.6347 GB, free: 264 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004137/0.6919, allocations: 7.302 MB / 0.6418 GB, free: 8.676 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.6919, allocations: 0 / 0.6418 GB, free: 8.676 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007491/0.6927, allocations: 475.3 kB / 0.6423 GB, free: 8.195 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/0.6929, allocations: 124.5 kB / 0.6424 GB, free: 8.055 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.236e-05/0.6929, allocations: 11.95 kB / 0.6424 GB, free: 8.043 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.6932, allocations: 24.02 kB / 0.6424 GB, free: 8.02 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.417e-05/0.6933, allocations: 23.97 kB / 0.6425 GB, free: 7.996 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.6933, allocations: 11.98 kB / 0.6425 GB, free: 7.984 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004462/0.6938, allocations: 377.1 kB / 0.6428 GB, free: 7.621 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6938, allocations: 0 / 0.6428 GB, free: 7.621 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007028/0.6945, allocations: 175.8 kB / 0.643 GB, free: 7.449 MB / 458.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.001385/0.6959, allocations: 1.187 MB / 0.6442 GB, free: 6.238 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.6973, allocations: 476.5 kB / 0.6446 GB, free: 5.773 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6973, allocations: 4 kB / 0.6446 GB, free: 5.77 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009315/0.6983, allocations: 287.6 kB / 0.6449 GB, free: 5.488 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.6987, allocations: 81.98 kB / 0.645 GB, free: 5.41 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.7003, allocations: 0.8584 MB / 0.6458 GB, free: 4.516 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005157/0.7009, allocations: 0.9092 MB / 0.6467 GB, free: 3.578 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003126/0.7012, allocations: 136.2 kB / 0.6468 GB, free: 3.441 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.7014, allocations: 139.4 kB / 0.647 GB, free: 3.305 MB / 458.7 MB Notification: Performance of SimCode: time 3.3e-07/0.7014, allocations: 0 / 0.647 GB, free: 3.305 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03524/0.7366, allocations: 13.89 MB / 0.6605 GB, free: 5.66 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002598/0.737, allocations: 224.8 kB / 0.6607 GB, free: 5.438 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/3.271, allocations: 2.812 kB / 0.6607 GB, free: 5.438 MB / 474.7 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