Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.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,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",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.002248/0.002248, allocations: 188.4 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 92.42 kB / 270.9 MB, free: 8.367 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.5253/0.5253, allocations: 43.54 MB / 362.7 MB, free: 52.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004996/0.0004997, allocations: 8 kB / 431.5 MB, free: 6.047 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1359, allocations: 58.84 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4965/0.6324, allocations: 93.26 MB / 0.5699 GB, free: 9.262 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004135/0.6329, allocations: 98.34 kB / 0.57 GB, free: 9.168 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06032/0.6933, allocations: 14.38 MB / 0.584 GB, free: 10.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6933, allocations: 0 / 0.584 GB, free: 10.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.984e-05/0.6933, allocations: 4 kB / 0.5841 GB, free: 10.61 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001307/0.6947, allocations: 0.6434 MB / 0.5847 GB, free: 9.918 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.6947, allocations: 8.031 kB / 0.5847 GB, free: 9.91 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001924/0.6949, allocations: 94.52 kB / 0.5848 GB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.6951, allocations: 50.88 kB / 0.5848 GB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005649/0.6956, allocations: 294.3 kB / 0.5851 GB, free: 9.434 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.571e-05/0.6957, allocations: 41.31 kB / 0.5851 GB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.6959, allocations: 59.91 kB / 0.5852 GB, free: 9.336 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.6974, allocations: 0.6193 MB / 0.5858 GB, free: 8.707 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.6975, allocations: 0 / 0.5858 GB, free: 8.707 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.438e-05/0.6976, allocations: 20 kB / 0.5858 GB, free: 8.688 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.418e-05/0.6977, allocations: 38.31 kB / 0.5859 GB, free: 8.652 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.699, allocations: 0.4969 MB / 0.5863 GB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004257/0.7033, allocations: 1.453 MB / 0.5878 GB, free: 6.648 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.705, allocations: 455.5 kB / 0.5882 GB, free: 6.195 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.338e-05/0.7052, allocations: 12.05 kB / 0.5882 GB, free: 6.184 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.7052, allocations: 45.58 kB / 0.5883 GB, free: 6.133 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 3.927e-06/0.7052, allocations: 0 / 0.5883 GB, free: 6.133 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001724/0.707, allocations: 0.4909 MB / 0.5887 GB, free: 5.637 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.707, allocations: 59.34 kB / 0.5888 GB, free: 5.566 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009725/0.708, allocations: 0.4891 MB / 0.5893 GB, free: 5.078 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.545e-05/0.7081, allocations: 33.7 kB / 0.5893 GB, free: 5.039 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.7083, allocations: 250.7 kB / 0.5895 GB, free: 4.793 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.7085, allocations: 86.69 kB / 0.5896 GB, free: 4.707 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.7085, allocations: 12 kB / 0.5896 GB, free: 4.695 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.7087, allocations: 326.8 kB / 0.5899 GB, free: 4.367 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005041/0.7092, allocations: 156.2 kB / 0.5901 GB, free: 4.211 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005808/0.7098, allocations: 252.6 kB / 0.5903 GB, free: 3.922 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006073/0.7104, allocations: 197.2 kB / 0.5905 GB, free: 3.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.7104, allocations: 0 / 0.5905 GB, free: 3.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001477/0.7119, allocations: 473.4 kB / 0.591 GB, free: 3.266 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.712, allocations: 11.12 kB / 0.591 GB, free: 3.258 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001419/0.7121, allocations: 44.31 kB / 0.591 GB, free: 3.215 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.808e-05/0.7122, allocations: 12 kB / 0.591 GB, free: 3.203 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003729/0.7126, allocations: 35.92 kB / 0.5911 GB, free: 3.168 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/0.7126, allocations: 11.94 kB / 0.5911 GB, free: 3.156 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005278/0.7131, allocations: 59.27 kB / 0.5911 GB, free: 3.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.36e-05/0.7132, allocations: 23.94 kB / 0.5912 GB, free: 3.074 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 29 * 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.000519/0.7137, allocations: 229.6 kB / 0.5914 GB, free: 2.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.7139, allocations: 39.52 kB / 0.5914 GB, free: 2.801 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001843/0.7157, allocations: 0.536 MB / 0.5919 GB, free: 2.258 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/0.7158, allocations: 7.953 kB / 0.592 GB, free: 2.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.7158, allocations: 4 kB / 0.592 GB, free: 2.246 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.7158, allocations: 7.984 kB / 0.592 GB, free: 2.238 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.7169, allocations: 425.2 kB / 0.5924 GB, free: 1.773 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001315/0.717, allocations: 43.89 kB / 0.5924 GB, free: 1.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000307/0.7174, allocations: 23.98 kB / 0.5924 GB, free: 1.707 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/0.7174, allocations: 8 kB / 0.5924 GB, free: 1.699 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.219e-05/0.7174, allocations: 12 kB / 0.5925 GB, free: 1.688 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.7175, allocations: 0 / 0.5925 GB, free: 1.688 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.7175, allocations: 3.953 kB / 0.5925 GB, free: 1.684 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.7194, allocations: 0.7066 MB / 0.5931 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002559/0.7197, allocations: 132.6 kB / 0.5933 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.7199, allocations: 4 kB / 0.5933 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003353/0.7202, allocations: 8.062 kB / 0.5933 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.665e-05/0.7203, allocations: 27.92 kB / 0.5933 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-05/0.7204, allocations: 16 kB / 0.5933 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007733/0.7211, allocations: 399 kB / 0.5937 GB, free: 380 kB / 410.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7212, allocations: 0 / 0.5937 GB, free: 380 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008625/0.722, allocations: 163.8 kB / 0.5939 GB, free: 216 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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: 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.002798/0.7248, allocations: 1.358 MB / 0.5952 GB, free: 14.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.7263, allocations: 0.6805 MB / 0.5959 GB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.7264, allocations: 0 / 0.5959 GB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007339/0.7271, allocations: 484.2 kB / 0.5963 GB, free: 13.53 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007098/0.7278, allocations: 82.17 kB / 0.5964 GB, free: 13.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009254/0.7371, allocations: 5.269 MB / 0.6015 GB, free: 8.062 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006591/0.7378, allocations: 0.887 MB / 0.6024 GB, free: 7.148 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003519/0.7382, allocations: 139.4 kB / 0.6025 GB, free: 7.012 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/0.7382, allocations: 0 / 0.6025 GB, free: 7.012 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.992/3.73, allocations: 10.86 MB / 0.6131 GB, free: 12.19 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat does not exist to compare? outputFormat=mat