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.001051/0.001051, allocations: 176.6 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.386/1.386, 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.0009601/0.0009603, allocations: 99.8 kB / 292.1 MB, free: 10.93 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.3222/0.3222, allocations: 44.22 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.0003298, allocations: 12 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3108, allocations: 61.9 MB / 0.5097 GB, free: 38.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1121/0.4229, allocations: 98.8 MB / 0.6061 GB, free: 12.28 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.4233, allocations: 107.9 kB / 0.6062 GB, free: 12.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05382/0.4771, allocations: 20.77 MB / 0.6265 GB, free: 7.191 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4772, allocations: 0 / 0.6265 GB, free: 7.191 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.4772, allocations: 4 kB / 0.6265 GB, free: 7.188 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001118/0.4783, allocations: 0.6863 MB / 0.6272 GB, free: 6.453 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.4784, allocations: 8.031 kB / 0.6272 GB, free: 6.445 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001305/0.4785, allocations: 98.52 kB / 0.6273 GB, free: 6.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.433e-05/0.4786, allocations: 51.34 kB / 0.6274 GB, free: 6.289 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004563/0.4791, allocations: 302.9 kB / 0.6276 GB, free: 5.949 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/0.4791, allocations: 37.31 kB / 0.6277 GB, free: 5.91 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.428e-05/0.4792, allocations: 59.89 kB / 0.6277 GB, free: 5.852 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.4802, allocations: 0.6857 MB / 0.6284 GB, free: 5.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.4802, allocations: 4 kB / 0.6284 GB, free: 5.156 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.457e-05/0.4803, allocations: 23.98 kB / 0.6284 GB, free: 5.133 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.348e-05/0.4803, allocations: 45.23 kB / 0.6285 GB, free: 5.086 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.4814, allocations: 0.7506 MB / 0.6292 GB, free: 4.336 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002201/0.4836, allocations: 1.457 MB / 0.6306 GB, free: 2.824 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006932/0.4843, allocations: 461.2 kB / 0.6311 GB, free: 2.367 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.4844, allocations: 8.219 kB / 0.6311 GB, free: 2.359 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.4844, allocations: 38.8 kB / 0.6311 GB, free: 2.312 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 1.683e-06/0.4844, allocations: 0 / 0.6311 GB, free: 2.312 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.001024/0.4855, allocations: 0.5451 MB / 0.6317 GB, free: 1.762 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.4855, allocations: 63.39 kB / 0.6317 GB, free: 1.688 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004828/0.486, allocations: 484.9 kB / 0.6322 GB, free: 1.207 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.486, allocations: 29.7 kB / 0.6322 GB, free: 1.172 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.4862, allocations: 248 kB / 0.6324 GB, free: 0.9219 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.059e-05/0.4863, allocations: 98.64 kB / 0.6325 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.916e-05/0.4863, allocations: 4 kB / 0.6325 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.4864, allocations: 362.8 kB / 0.6329 GB, free: 468 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.4867, allocations: 168.6 kB / 0.633 GB, free: 296 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003809/0.4871, allocations: 293.6 kB / 0.6333 GB, free: 15.95 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.4875, allocations: 215.8 kB / 0.6335 GB, free: 15.73 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.4875, allocations: 0 / 0.6335 GB, free: 15.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009064/0.4884, allocations: 0.5403 MB / 0.6341 GB, free: 15.19 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.4884, allocations: 9.406 kB / 0.6341 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.4884, allocations: 4 kB / 0.6341 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.4885, allocations: 15.95 kB / 0.6341 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009528/0.4894, allocations: 216.3 kB / 0.6343 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003675/0.4931, allocations: 7.31 MB / 0.6414 GB, free: 7.355 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.4935, allocations: 71.56 kB / 0.6415 GB, free: 7.285 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.587e-05/0.4936, allocations: 19.98 kB / 0.6415 GB, free: 7.266 MB / 458.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.0002821/0.4938, allocations: 236.5 kB / 0.6417 GB, free: 7.027 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.038e-05/0.4939, allocations: 43.44 kB / 0.6418 GB, free: 6.984 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009896/0.4949, allocations: 0.5523 MB / 0.6423 GB, free: 6.418 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.4949, allocations: 4 kB / 0.6423 GB, free: 6.414 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4949, allocations: 112 / 0.6423 GB, free: 6.414 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.495, allocations: 3.938 kB / 0.6423 GB, free: 6.41 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005688/0.4955, allocations: 425.2 kB / 0.6427 GB, free: 5.945 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4955, allocations: 4 kB / 0.6427 GB, free: 5.941 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008604/0.4964, allocations: 191.8 kB / 0.6429 GB, free: 5.754 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.4964, allocations: 0 / 0.6429 GB, free: 5.754 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.4965, allocations: 15.92 kB / 0.6429 GB, free: 5.738 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00362/0.5001, allocations: 7.31 MB / 0.6501 GB, free: 14.15 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5001, allocations: 0 / 0.6501 GB, free: 14.15 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007424/0.5009, allocations: 0.5034 MB / 0.6506 GB, free: 13.63 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.501, allocations: 128.5 kB / 0.6507 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.155e-05/0.5011, allocations: 7.953 kB / 0.6507 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.5013, allocations: 15.98 kB / 0.6507 GB, free: 13.46 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.004e-05/0.5014, allocations: 19.97 kB / 0.6507 GB, free: 13.44 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.5014, allocations: 15.98 kB / 0.6507 GB, free: 13.43 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004237/0.5019, allocations: 387 kB / 0.6511 GB, free: 13.05 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5019, allocations: 0 / 0.6511 GB, free: 13.05 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006856/0.5026, allocations: 179.7 kB / 0.6513 GB, free: 12.88 MB / 474.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.001505/0.5041, allocations: 1.219 MB / 0.6525 GB, free: 11.63 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.5054, allocations: 0.5082 MB / 0.653 GB, free: 11.12 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5054, allocations: 3.938 kB / 0.653 GB, free: 11.12 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008917/0.5063, allocations: 307.7 kB / 0.6533 GB, free: 10.82 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.5067, allocations: 89.8 kB / 0.6534 GB, free: 10.73 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005164/0.5119, allocations: 5.953 MB / 0.6592 GB, free: 4.652 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/0.5123, allocations: 0.9014 MB / 0.6601 GB, free: 3.723 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003126/0.5127, allocations: 140.2 kB / 0.6602 GB, free: 3.582 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.5129, allocations: 139.4 kB / 0.6603 GB, free: 3.445 MB / 474.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5129, allocations: 4 kB / 0.6603 GB, free: 3.441 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02948/0.5424, allocations: 13.86 MB / 0.6739 GB, free: 5.902 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/0.5426, allocations: 251.9 kB / 0.6741 GB, free: 5.57 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/2.884, allocations: 0 / 0.6741 GB, free: 5.57 MB / 490.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