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_evenGapLaminar_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_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_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.0009648/0.0009649, allocations: 177.6 kB / 8.004 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008893/0.0008892, allocations: 86.64 kB / 261.7 MB, free: 1.68 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.2239/0.2239, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.525e-05/2.55e-05, allocations: 4 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1405, allocations: 58.86 MB / 477.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5188/0.6594, allocations: 92.65 MB / 0.5565 GB, free: 2.422 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/0.6597, allocations: 97.59 kB / 0.5566 GB, free: 2.367 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0355/0.6953, allocations: 13.96 MB / 0.5702 GB, free: 6.598 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6953, allocations: 0 / 0.5702 GB, free: 6.598 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.337e-05/0.6954, allocations: 8 kB / 0.5703 GB, free: 6.59 MB / 378.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.0009697/0.6963, allocations: 0.6272 MB / 0.5709 GB, free: 5.945 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.6964, allocations: 8.031 kB / 0.5709 GB, free: 5.938 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.68e-05/0.6965, allocations: 51.34 kB / 0.5709 GB, free: 5.887 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004762/0.697, allocations: 304 kB / 0.5712 GB, free: 5.559 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.697, allocations: 16 kB / 0.5712 GB, free: 5.543 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.718e-05/0.6971, allocations: 32 kB / 0.5713 GB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007959/0.6979, allocations: 0.6262 MB / 0.5719 GB, free: 5.062 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008299/0.6987, allocations: 0.5923 MB / 0.5724 GB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.6987, allocations: 0 / 0.5724 GB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/0.6988, allocations: 0 / 0.5724 GB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.515e-05/0.6988, allocations: 45.22 kB / 0.5725 GB, free: 4.539 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002073/0.7009, allocations: 1.302 MB / 0.5738 GB, free: 3.371 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007294/0.7017, allocations: 0.5082 MB / 0.5743 GB, free: 2.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.7019, allocations: 167.8 kB / 0.5744 GB, free: 2.766 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.614e-05/0.702, allocations: 8 kB / 0.5744 GB, free: 2.758 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.702, allocations: 35.06 kB / 0.5745 GB, free: 2.719 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 1.703e-06/0.702, allocations: 0 / 0.5745 GB, free: 2.719 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.0007044/0.7027, allocations: 406.5 kB / 0.5748 GB, free: 2.348 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.7028, allocations: 55.41 kB / 0.5749 GB, free: 2.281 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.703, allocations: 177.7 kB / 0.5751 GB, free: 2.113 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.703, allocations: 29.7 kB / 0.5751 GB, free: 2.078 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.7032, allocations: 234.7 kB / 0.5753 GB, free: 1.867 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.918e-05/0.7033, allocations: 124.6 kB / 0.5754 GB, free: 1.758 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.989e-05/0.7033, allocations: 0 / 0.5754 GB, free: 1.758 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.7035, allocations: 338.1 kB / 0.5758 GB, free: 1.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.7037, allocations: 155.5 kB / 0.5759 GB, free: 1.297 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.704, allocations: 260.9 kB / 0.5762 GB, free: 1.035 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.7043, allocations: 198.6 kB / 0.5764 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.7043, allocations: 0 / 0.5764 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007111/0.7051, allocations: 490.7 kB / 0.5768 GB, free: 432 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.7051, allocations: 8.031 kB / 0.5768 GB, free: 424 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.7051, allocations: 4 kB / 0.5768 GB, free: 420 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/0.7051, allocations: 4 kB / 0.5768 GB, free: 416 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.7062, allocations: 215.6 kB / 0.577 GB, free: 204 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003989/0.7102, allocations: 7.349 MB / 0.5842 GB, free: 8.652 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.7105, allocations: 27.83 kB / 0.5842 GB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/0.7105, allocations: 23.8 kB / 0.5843 GB, free: 8.605 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (49): * Single equations (assignments): 37 * 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.0001921/0.7107, allocations: 128.7 kB / 0.5844 GB, free: 8.477 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006463/0.7114, allocations: 395.3 kB / 0.5848 GB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.7115, allocations: 27.7 kB / 0.5848 GB, free: 8.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009463/0.7124, allocations: 0.5486 MB / 0.5853 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.7124, allocations: 4 kB / 0.5853 GB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.7124, allocations: 0 / 0.5853 GB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.7125, allocations: 0 / 0.5853 GB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005801/0.713, allocations: 399.6 kB / 0.5857 GB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.7131, allocations: 0 / 0.5857 GB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008971/0.714, allocations: 207.6 kB / 0.5859 GB, free: 7.008 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.714, allocations: 4 kB / 0.5859 GB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.714, allocations: 11.98 kB / 0.5859 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003837/0.7179, allocations: 7.333 MB / 0.5931 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.7179, allocations: 4.031 kB / 0.5931 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006699/0.7186, allocations: 0.5096 MB / 0.5936 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.316e-05/0.7187, allocations: 108.7 kB / 0.5937 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.7187, allocations: 3.938 kB / 0.5937 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.7189, allocations: 11.98 kB / 0.5937 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.812e-05/0.719, allocations: 23.97 kB / 0.5937 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.7191, allocations: 15.92 kB / 0.5937 GB, free: 14.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001181/0.7192, allocations: 139.3 kB / 0.5939 GB, free: 14.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7192, allocations: 0 / 0.5939 GB, free: 14.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006863/0.7199, allocations: 151.4 kB / 0.594 GB, free: 14.53 MB / 410.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 (37): * Single equations (assignments): 25 * 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.001151/0.7211, allocations: 1.135 MB / 0.5951 GB, free: 13.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.7223, allocations: 498.5 kB / 0.5956 GB, free: 12.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.7223, allocations: 4 kB / 0.5956 GB, free: 12.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008614/0.7232, allocations: 315.3 kB / 0.5959 GB, free: 12.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.7235, allocations: 19.73 kB / 0.5959 GB, free: 12.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.7252, allocations: 0.7923 MB / 0.5967 GB, free: 11.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004833/0.7257, allocations: 0.9064 MB / 0.5976 GB, free: 10.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002524/0.7259, allocations: 113.9 kB / 0.5977 GB, free: 10.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.7261, allocations: 130.4 kB / 0.5978 GB, free: 10.81 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.7261, allocations: 0 / 0.5978 GB, free: 10.81 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03185/0.758, allocations: 8.122 MB / 0.6058 GB, free: 2.688 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/0.7583, allocations: 203.7 kB / 0.6059 GB, free: 2.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.217/2.976, allocations: 6.344 kB / 0.606 GB, free: 2.477 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_evenGapLaminar_KC_res.mat does not exist to compare? outputFormat=mat