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.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,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",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.001347/0.001347, allocations: 178.8 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.5/1.5, allocations: 221.3 MB / 236 MB, free: 2.969 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.0009179/0.0009179, allocations: 92 kB / 287 MB, free: 248 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.2355/0.2355, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.978e-05/4.001e-05, allocations: 4.156 kB / 452 MB, free: 9.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1504, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4721/0.6226, allocations: 99.34 MB / 0.5988 GB, free: 5.875 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/0.6229, allocations: 95.92 kB / 0.5989 GB, free: 5.781 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05691/0.6798, allocations: 21.77 MB / 0.6202 GB, free: 15.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6799, allocations: 0 / 0.6202 GB, free: 15.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.6799, allocations: 4 kB / 0.6202 GB, free: 15.82 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001115/0.681, allocations: 0.7127 MB / 0.6209 GB, free: 15.05 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.6811, allocations: 12.03 kB / 0.6209 GB, free: 15.04 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001282/0.6812, allocations: 94.52 kB / 0.621 GB, free: 14.94 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.014e-05/0.6813, allocations: 51.34 kB / 0.621 GB, free: 14.89 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.6818, allocations: 314.2 kB / 0.6213 GB, free: 14.54 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.6818, allocations: 37 kB / 0.6214 GB, free: 14.51 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.797e-05/0.6819, allocations: 48 kB / 0.6214 GB, free: 14.46 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009265/0.6828, allocations: 0.6533 MB / 0.6221 GB, free: 13.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.6828, allocations: 3.938 kB / 0.6221 GB, free: 13.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.293e-05/0.6829, allocations: 20 kB / 0.6221 GB, free: 13.77 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.599e-05/0.6829, allocations: 21 kB / 0.6221 GB, free: 13.74 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006056/0.6835, allocations: 444 kB / 0.6225 GB, free: 13.31 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002074/0.6856, allocations: 1.546 MB / 0.624 GB, free: 11.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004416/0.6861, allocations: 291.7 kB / 0.6243 GB, free: 11.39 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.6863, allocations: 130.7 kB / 0.6244 GB, free: 11.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.785e-05/0.6864, allocations: 4 kB / 0.6244 GB, free: 11.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.6864, allocations: 42.55 kB / 0.6245 GB, free: 11.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=23): time 1.844e-06/0.6864, allocations: 0 / 0.6245 GB, free: 11.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006525/0.6871, allocations: 323.3 kB / 0.6248 GB, free: 10.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.6871, allocations: 110.8 kB / 0.6249 GB, free: 10.74 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005125/0.6876, allocations: 0.4997 MB / 0.6254 GB, free: 10.24 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.6877, allocations: 29.7 kB / 0.6254 GB, free: 10.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.6878, allocations: 236.5 kB / 0.6256 GB, free: 9.965 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.247e-05/0.6879, allocations: 86.84 kB / 0.6257 GB, free: 9.879 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-05/0.6879, allocations: 4 kB / 0.6257 GB, free: 9.875 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.6881, allocations: 350.8 kB / 0.6261 GB, free: 9.523 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.6883, allocations: 123.9 kB / 0.6262 GB, free: 9.402 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.6885, allocations: 217.8 kB / 0.6264 GB, free: 9.145 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.6888, allocations: 155.4 kB / 0.6265 GB, free: 8.996 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.6888, allocations: 0 / 0.6265 GB, free: 8.996 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006865/0.6895, allocations: 433.1 kB / 0.6269 GB, free: 8.566 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.6895, allocations: 8 kB / 0.627 GB, free: 8.559 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-05/0.6896, allocations: 43.95 kB / 0.627 GB, free: 8.516 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.6896, allocations: 4 kB / 0.627 GB, free: 8.512 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.6899, allocations: 40.34 kB / 0.627 GB, free: 8.473 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.6899, allocations: 11.95 kB / 0.627 GB, free: 8.461 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.6902, allocations: 75.25 kB / 0.6271 GB, free: 8.387 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.6902, allocations: 23.94 kB / 0.6271 GB, free: 8.363 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.6904, allocations: 132.8 kB / 0.6273 GB, free: 8.227 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.6905, allocations: 43.44 kB / 0.6273 GB, free: 8.184 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000792/0.6913, allocations: 452.3 kB / 0.6277 GB, free: 7.734 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.6913, allocations: 4 kB / 0.6277 GB, free: 7.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.6913, allocations: 0 / 0.6277 GB, free: 7.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.6913, allocations: 11.94 kB / 0.6278 GB, free: 7.719 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005498/0.6919, allocations: 397.3 kB / 0.6281 GB, free: 7.281 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.898e-05/0.6919, allocations: 35.95 kB / 0.6282 GB, free: 7.246 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.6921, allocations: 35.97 kB / 0.6282 GB, free: 7.211 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.6921, allocations: 0 / 0.6282 GB, free: 7.211 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.6922, allocations: 12 kB / 0.6282 GB, free: 7.199 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.6922, allocations: 4 kB / 0.6282 GB, free: 7.195 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6922, allocations: 0 / 0.6282 GB, free: 7.195 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000643/0.6928, allocations: 0.6016 MB / 0.6288 GB, free: 6.562 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.6929, allocations: 124.5 kB / 0.6289 GB, free: 6.422 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.158e-05/0.693, allocations: 8 kB / 0.6289 GB, free: 6.414 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/0.6933, allocations: 27.92 kB / 0.629 GB, free: 6.387 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.818e-05/0.6934, allocations: 27.97 kB / 0.629 GB, free: 6.359 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.6935, allocations: 12 kB / 0.629 GB, free: 6.348 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003927/0.6939, allocations: 401.5 kB / 0.6294 GB, free: 5.957 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6939, allocations: 0 / 0.6294 GB, free: 5.957 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007145/0.6946, allocations: 191.7 kB / 0.6296 GB, free: 5.77 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001358/0.6959, allocations: 1.451 MB / 0.631 GB, free: 4.281 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000693/0.6967, allocations: 0.6078 MB / 0.6316 GB, free: 3.602 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.6967, allocations: 8.25 kB / 0.6316 GB, free: 3.594 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003836/0.6971, allocations: 458.8 kB / 0.632 GB, free: 3.074 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005303/0.6976, allocations: 93.95 kB / 0.6321 GB, free: 2.984 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.6993, allocations: 0.8733 MB / 0.633 GB, free: 2.066 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004377/0.6998, allocations: 0.8899 MB / 0.6338 GB, free: 1.148 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001906/0.7, allocations: 83.33 kB / 0.6339 GB, free: 1.066 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.7001, allocations: 131.4 kB / 0.634 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of SimCode: time 4.3e-07/0.7001, allocations: 0 / 0.634 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02759/0.7277, allocations: 13.54 MB / 0.6473 GB, free: 3.605 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/0.728, allocations: 203.8 kB / 0.6475 GB, free: 3.375 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.365/3.093, allocations: 0 / 0.6475 GB, free: 3.375 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.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_res.mat does not exist to compare? outputFormat=mat