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.002643/0.002642, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.112/2.112, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001114/0.001114, allocations: 90.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2924/0.2924, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.812e-05/3.832e-05, allocations: 4 kB / 425.4 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1253, allocations: 58.84 MB / 484.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5218/0.6472, allocations: 93.17 MB / 0.5639 GB, free: 10.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003784/0.6477, allocations: 100.2 kB / 0.564 GB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06124/0.7089, allocations: 14.39 MB / 0.578 GB, free: 13.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.709, allocations: 0 / 0.578 GB, free: 13.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.963e-05/0.709, allocations: 4 kB / 0.5781 GB, free: 13.75 MB / 394.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.001305/0.7103, allocations: 0.6223 MB / 0.5787 GB, free: 13.11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.7104, allocations: 12.02 kB / 0.5787 GB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001669/0.7106, allocations: 97.95 kB / 0.5788 GB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.7107, allocations: 43.44 kB / 0.5788 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006103/0.7113, allocations: 302.4 kB / 0.5791 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.388e-05/0.7114, allocations: 36.94 kB / 0.5791 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.7115, allocations: 54.61 kB / 0.5792 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.7131, allocations: 0.6209 MB / 0.5798 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.7131, allocations: 0 / 0.5798 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.994e-05/0.7132, allocations: 17.75 kB / 0.5798 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-05/0.7133, allocations: 37.23 kB / 0.5798 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.7146, allocations: 0.4918 MB / 0.5803 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004262/0.7189, allocations: 1.443 MB / 0.5817 GB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.7205, allocations: 469 kB / 0.5822 GB, free: 9.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000434/0.721, allocations: 137.8 kB / 0.5823 GB, free: 9.859 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.087e-05/0.7211, allocations: 11.94 kB / 0.5823 GB, free: 9.848 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.7212, allocations: 41.81 kB / 0.5824 GB, free: 9.801 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 3.226e-06/0.7212, allocations: 0 / 0.5824 GB, free: 9.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.001288/0.7225, allocations: 374 kB / 0.5827 GB, free: 9.461 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.7225, allocations: 55.34 kB / 0.5828 GB, free: 9.395 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009679/0.7235, allocations: 496.9 kB / 0.5832 GB, free: 8.996 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.486e-05/0.7236, allocations: 37.2 kB / 0.5833 GB, free: 8.957 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.7238, allocations: 253.8 kB / 0.5835 GB, free: 8.766 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.724, allocations: 92.31 kB / 0.5836 GB, free: 8.688 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.724, allocations: 7.688 kB / 0.5836 GB, free: 8.684 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.7242, allocations: 326.5 kB / 0.5839 GB, free: 8.363 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004935/0.7247, allocations: 149.1 kB / 0.5841 GB, free: 8.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006162/0.7253, allocations: 260.4 kB / 0.5843 GB, free: 7.961 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006248/0.726, allocations: 194.2 kB / 0.5845 GB, free: 7.793 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.726, allocations: 0 / 0.5845 GB, free: 7.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001444/0.7274, allocations: 475.8 kB / 0.585 GB, free: 7.375 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.7275, allocations: 7.953 kB / 0.585 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001556/0.7277, allocations: 43.95 kB / 0.585 GB, free: 7.324 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.326e-05/0.7277, allocations: 7.938 kB / 0.585 GB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003919/0.7281, allocations: 38.8 kB / 0.585 GB, free: 7.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.7281, allocations: 4 kB / 0.5851 GB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005371/0.7287, allocations: 54.3 kB / 0.5851 GB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.277e-05/0.7288, allocations: 22.75 kB / 0.5851 GB, free: 7.207 MB / 394.7 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" ) 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 () * 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.0002835/0.7291, allocations: 138.3 kB / 0.5853 GB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.7292, allocations: 43.44 kB / 0.5853 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/0.7311, allocations: 0.5345 MB / 0.5858 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/0.7311, allocations: 11.98 kB / 0.5858 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.7311, allocations: 0 / 0.5858 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.7311, allocations: 0 / 0.5858 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.7322, allocations: 431.7 kB / 0.5862 GB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001216/0.7323, allocations: 35.97 kB / 0.5863 GB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003258/0.7327, allocations: 27.98 kB / 0.5863 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.7327, allocations: 0 / 0.5863 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.713e-05/0.7328, allocations: 15.19 kB / 0.5863 GB, free: 6.062 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.7328, allocations: 3.953 kB / 0.5863 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.7328, allocations: 0 / 0.5863 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.7347, allocations: 0.7027 MB / 0.587 GB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002561/0.735, allocations: 132.5 kB / 0.5871 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.7351, allocations: 7.312 kB / 0.5871 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003668/0.7355, allocations: 7.125 kB / 0.5872 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.7356, allocations: 27.48 kB / 0.5872 GB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.787e-05/0.7356, allocations: 12 kB / 0.5872 GB, free: 5.238 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007681/0.7364, allocations: 401.1 kB / 0.5876 GB, free: 4.926 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7364, allocations: 0 / 0.5876 GB, free: 4.926 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000893/0.7373, allocations: 162 kB / 0.5877 GB, free: 4.777 MB / 394.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 () * 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.002796/0.7401, allocations: 1.354 MB / 0.589 GB, free: 3.492 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001478/0.7417, allocations: 0.6727 MB / 0.5897 GB, free: 2.789 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.7417, allocations: 0 / 0.5897 GB, free: 2.789 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007169/0.7424, allocations: 484.9 kB / 0.5902 GB, free: 2.258 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007313/0.7432, allocations: 87.55 kB / 0.5903 GB, free: 2.199 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/0.7467, allocations: 0.9794 MB / 0.5912 GB, free: 1.242 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006319/0.7474, allocations: 0.8844 MB / 0.5921 GB, free: 348 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003145/0.7477, allocations: 136.6 kB / 0.5922 GB, free: 304 kB / 394.7 MB Notification: Performance of SimCode: time 1.403e-06/0.7477, allocations: 4 kB / 0.5922 GB, free: 300 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.845/3.593, allocations: 10.62 MB / 0.6026 GB, free: 5.727 MB / 410.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