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_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_cpp_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_cpp_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.002207/0.002206, allocations: 184.6 kB / 16.41 MB, free: 5.727 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.061/2.061, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001189/0.001188, allocations: 87.3 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.5632/0.5632, allocations: 43.56 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007298/0.0007301, allocations: 19.98 kB / 431.5 MB, free: 6.027 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1351, allocations: 58.83 MB / 490.3 MB, free: 11.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.475/0.6101, allocations: 93.41 MB / 0.5701 GB, free: 9.086 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003856/0.6106, allocations: 95.94 kB / 0.5702 GB, free: 8.992 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06146/0.6721, allocations: 14.11 MB / 0.5839 GB, free: 10.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.826e-06/0.6721, allocations: 0 / 0.5839 GB, free: 10.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.026e-05/0.6721, allocations: 8 kB / 0.5839 GB, free: 10.7 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001512/0.6737, allocations: 0.6433 MB / 0.5846 GB, free: 10.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.6737, allocations: 8.031 kB / 0.5846 GB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001779/0.6739, allocations: 106.5 kB / 0.5847 GB, free: 9.895 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.6741, allocations: 58.78 kB / 0.5847 GB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005844/0.6747, allocations: 310.8 kB / 0.585 GB, free: 9.496 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.747e-05/0.6747, allocations: 33.31 kB / 0.5851 GB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.6748, allocations: 48 kB / 0.5851 GB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.6766, allocations: 0.6857 MB / 0.5858 GB, free: 8.723 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.6767, allocations: 0 / 0.5858 GB, free: 8.723 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.395e-05/0.6768, allocations: 27.98 kB / 0.5858 GB, free: 8.695 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.255e-05/0.6769, allocations: 45.28 kB / 0.5858 GB, free: 8.648 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.6789, allocations: 0.7477 MB / 0.5866 GB, free: 7.902 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003576/0.6825, allocations: 1.469 MB / 0.588 GB, free: 6.379 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.6839, allocations: 464.3 kB / 0.5885 GB, free: 5.918 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.473e-05/0.6839, allocations: 8.219 kB / 0.5885 GB, free: 5.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.684, allocations: 38.8 kB / 0.5885 GB, free: 5.863 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.815e-06/0.684, allocations: 0 / 0.5885 GB, free: 5.863 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001949/0.686, allocations: 0.5436 MB / 0.589 GB, free: 5.316 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.686, allocations: 59.34 kB / 0.5891 GB, free: 5.246 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008721/0.6869, allocations: 484.9 kB / 0.5896 GB, free: 4.773 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/0.687, allocations: 29.7 kB / 0.5896 GB, free: 4.738 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.6872, allocations: 262.9 kB / 0.5898 GB, free: 4.477 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.6873, allocations: 110.5 kB / 0.5899 GB, free: 4.367 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.6874, allocations: 4 kB / 0.5899 GB, free: 4.363 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.6875, allocations: 326.8 kB / 0.5903 GB, free: 4.035 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000548/0.6881, allocations: 156.5 kB / 0.5904 GB, free: 3.879 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006306/0.6887, allocations: 252.2 kB / 0.5906 GB, free: 3.594 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006695/0.6894, allocations: 196.7 kB / 0.5908 GB, free: 3.402 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.6895, allocations: 0 / 0.5908 GB, free: 3.402 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001482/0.6909, allocations: 481.2 kB / 0.5913 GB, free: 2.926 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.691, allocations: 8.062 kB / 0.5913 GB, free: 2.918 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.691, allocations: 7.938 kB / 0.5913 GB, free: 2.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.691, allocations: 4 kB / 0.5913 GB, free: 2.906 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/0.6929, allocations: 207.8 kB / 0.5915 GB, free: 2.703 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005475/0.6983, allocations: 7.322 MB / 0.5987 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006368/0.699, allocations: 63.28 kB / 0.5987 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/0.6991, allocations: 15.98 kB / 0.5987 GB, free: 11.02 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 28 * 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.0004725/0.6996, allocations: 237.5 kB / 0.599 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.6997, allocations: 55.64 kB / 0.599 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/0.7016, allocations: 0.5329 MB / 0.5995 GB, free: 10.19 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.862e-06/0.7016, allocations: 4 kB / 0.5995 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.7016, allocations: 0 / 0.5995 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.7017, allocations: 4 kB / 0.5995 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008416/0.7025, allocations: 421.2 kB / 0.5999 GB, free: 9.719 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.7025, allocations: 0 / 0.5999 GB, free: 9.719 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/0.7042, allocations: 203.7 kB / 0.6001 GB, free: 9.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.116e-06/0.7043, allocations: 112 / 0.6001 GB, free: 9.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.155e-05/0.7043, allocations: 19.92 kB / 0.6002 GB, free: 9.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005341/0.7097, allocations: 7.313 MB / 0.6073 GB, free: 1.906 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.7097, allocations: 0 / 0.6073 GB, free: 1.906 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.7111, allocations: 0.5116 MB / 0.6078 GB, free: 1.379 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002192/0.7114, allocations: 128.5 kB / 0.6079 GB, free: 1.234 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.7115, allocations: 4 kB / 0.6079 GB, free: 1.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004231/0.7119, allocations: 8 kB / 0.6079 GB, free: 1.223 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.7121, allocations: 35.94 kB / 0.608 GB, free: 1.188 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.866e-05/0.7121, allocations: 19.92 kB / 0.608 GB, free: 1.168 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007184/0.7128, allocations: 387 kB / 0.6084 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7129, allocations: 0 / 0.6084 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007886/0.7137, allocations: 135.8 kB / 0.6085 GB, free: 0.6562 MB / 426.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.002025/0.7157, allocations: 1.134 MB / 0.6096 GB, free: 15.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002533/0.7182, allocations: 0.4884 MB / 0.6101 GB, free: 15.01 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.7183, allocations: 0 / 0.6101 GB, free: 15.01 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001804/0.7201, allocations: 316.5 kB / 0.6104 GB, free: 14.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000633/0.7207, allocations: 81.86 kB / 0.6104 GB, free: 14.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008089/0.7288, allocations: 5.024 MB / 0.6154 GB, free: 9.496 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006948/0.7296, allocations: 0.9013 MB / 0.6162 GB, free: 8.566 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003446/0.7299, allocations: 147.4 kB / 0.6164 GB, free: 8.422 MB / 442.7 MB Notification: Performance of SimCode: time 1.563e-06/0.73, allocations: 0 / 0.6164 GB, free: 8.422 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.509/4.239, allocations: 30.88 MB / 0.6465 GB, free: 9.543 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC.fmu > ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat does not exist to compare? outputFormat=mat