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.001565/0.001565, allocations: 176.7 kB / 17.06 MB, free: 5.098 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: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008344/0.0008345, allocations: 97.81 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3711/0.3711, allocations: 44.22 MB / 387.5 MB, free: 39.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003504, allocations: 8 kB / 460 MB, free: 1.656 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3205, allocations: 61.91 MB / 0.5097 GB, free: 38.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1203/0.4409, allocations: 99.41 MB / 0.6067 GB, free: 11.71 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/0.4413, allocations: 103.9 kB / 0.6068 GB, free: 11.62 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05716/0.4984, allocations: 21.75 MB / 0.6281 GB, free: 5.648 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4985, allocations: 0 / 0.6281 GB, free: 5.648 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.4985, allocations: 4 kB / 0.6281 GB, free: 5.645 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.001348/0.4999, allocations: 0.7405 MB / 0.6288 GB, free: 4.855 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.4999, allocations: 15.97 kB / 0.6288 GB, free: 4.84 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001497/0.5001, allocations: 94.52 kB / 0.6289 GB, free: 4.738 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.5002, allocations: 51.38 kB / 0.629 GB, free: 4.688 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004771/0.5007, allocations: 314.7 kB / 0.6293 GB, free: 4.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.809e-05/0.5007, allocations: 40.98 kB / 0.6293 GB, free: 4.301 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.947e-05/0.5008, allocations: 44 kB / 0.6293 GB, free: 4.258 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.502, allocations: 0.7039 MB / 0.63 GB, free: 3.535 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.502, allocations: 0 / 0.63 GB, free: 3.535 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.507e-05/0.502, allocations: 20 kB / 0.63 GB, free: 3.516 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.072e-05/0.5021, allocations: 28.94 kB / 0.6301 GB, free: 3.484 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009542/0.503, allocations: 0.5155 MB / 0.6306 GB, free: 2.973 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002517/0.5056, allocations: 1.531 MB / 0.6321 GB, free: 1.379 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006395/0.5062, allocations: 327.7 kB / 0.6324 GB, free: 1.027 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.251e-05/0.5063, allocations: 11.98 kB / 0.6324 GB, free: 1.016 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.5063, allocations: 34.56 kB / 0.6324 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of pre-optimization done (n=23): time 1.914e-06/0.5063, allocations: 0 / 0.6324 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of matching and sorting (n=23): time 0.001639/0.508, allocations: 1.01 MB / 0.6334 GB, free: 15.85 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.5081, allocations: 114.7 kB / 0.6335 GB, free: 15.71 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007004/0.5088, allocations: 0.505 MB / 0.634 GB, free: 15.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.5089, allocations: 29.7 kB / 0.634 GB, free: 15.17 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.5091, allocations: 240.2 kB / 0.6343 GB, free: 14.93 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.863e-05/0.5092, allocations: 82.81 kB / 0.6344 GB, free: 14.85 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.967e-05/0.5092, allocations: 4 kB / 0.6344 GB, free: 14.84 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.5094, allocations: 358.8 kB / 0.6347 GB, free: 14.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.5098, allocations: 163.8 kB / 0.6349 GB, free: 14.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004279/0.5102, allocations: 259.7 kB / 0.6351 GB, free: 14.03 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.5107, allocations: 196.7 kB / 0.6353 GB, free: 13.84 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5107, allocations: 0 / 0.6353 GB, free: 13.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001017/0.5117, allocations: 0.4969 MB / 0.6358 GB, free: 13.33 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.5117, allocations: 8 kB / 0.6358 GB, free: 13.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-05/0.5118, allocations: 39.95 kB / 0.6358 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.5118, allocations: 8 kB / 0.6358 GB, free: 13.28 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.5121, allocations: 39.91 kB / 0.6359 GB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.5121, allocations: 7.969 kB / 0.6359 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003541/0.5124, allocations: 79.3 kB / 0.636 GB, free: 13.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.474e-05/0.5125, allocations: 23.98 kB / 0.636 GB, free: 13.13 MB / 458.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 () * Number of clocked 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.0002718/0.5128, allocations: 219 kB / 0.6362 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.5129, allocations: 43.44 kB / 0.6362 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009363/0.5138, allocations: 494.5 kB / 0.6367 GB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.5139, allocations: 4 kB / 0.6367 GB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5139, allocations: 0 / 0.6367 GB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.5139, allocations: 8 kB / 0.6367 GB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006266/0.5145, allocations: 397.3 kB / 0.6371 GB, free: 11.92 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-05/0.5146, allocations: 39.97 kB / 0.6371 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.5148, allocations: 35.91 kB / 0.6372 GB, free: 11.85 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.5148, allocations: 7.984 kB / 0.6372 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/0.5148, allocations: 8 kB / 0.6372 GB, free: 11.83 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.5148, allocations: 4 kB / 0.6372 GB, free: 11.83 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5148, allocations: 0 / 0.6372 GB, free: 11.83 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009382/0.5158, allocations: 0.6805 MB / 0.6378 GB, free: 11.12 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.5159, allocations: 124.5 kB / 0.638 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.911e-05/0.516, allocations: 8 kB / 0.638 GB, free: 10.97 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003083/0.5163, allocations: 27.97 kB / 0.638 GB, free: 10.94 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.744e-05/0.5164, allocations: 27.92 kB / 0.638 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/0.5165, allocations: 8 kB / 0.638 GB, free: 10.91 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004457/0.5169, allocations: 410.8 kB / 0.6384 GB, free: 10.51 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5169, allocations: 0 / 0.6384 GB, free: 10.51 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007412/0.5177, allocations: 183.8 kB / 0.6386 GB, free: 10.33 MB / 458.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 () * Number of clocked 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.001779/0.5195, allocations: 1.544 MB / 0.6401 GB, free: 8.762 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.5205, allocations: 0.6856 MB / 0.6408 GB, free: 8.004 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5205, allocations: 0.875 kB / 0.6408 GB, free: 8.004 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005387/0.5211, allocations: 0.4924 MB / 0.6413 GB, free: 7.438 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/0.5216, allocations: 85.92 kB / 0.6413 GB, free: 7.352 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005944/0.5275, allocations: 5.386 MB / 0.6466 GB, free: 1.844 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004624/0.528, allocations: 0.8977 MB / 0.6475 GB, free: 0.918 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002376/0.5283, allocations: 75.33 kB / 0.6475 GB, free: 0.8398 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.5284, allocations: 131.4 kB / 0.6477 GB, free: 0.7109 MB / 458.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5285, allocations: 0 / 0.6477 GB, free: 0.7109 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/0.5577, allocations: 13.55 MB / 0.6609 GB, free: 3.434 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002642/0.558, allocations: 229.3 kB / 0.6611 GB, free: 3.188 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.213/2.771, allocations: 0 / 0.6611 GB, free: 3.188 MB / 474.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