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_evenGapOverall.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_evenGapOverall,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",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.002458/0.002458, 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.243/2.243, 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.001119/0.001119, allocations: 90.69 kB / 267.5 MB, free: 14.1 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.2965/0.2965, allocations: 43.48 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.827e-05/3.837e-05, allocations: 7.984 kB / 425.4 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1675, allocations: 58.84 MB / 484.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6066/0.7741, allocations: 98.22 MB / 0.5688 GB, free: 5.363 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003849/0.7746, allocations: 99.92 kB / 0.5689 GB, free: 5.305 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09365/0.8682, allocations: 21.27 MB / 0.5897 GB, free: 2.883 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.8683, allocations: 0 / 0.5897 GB, free: 2.883 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.014e-05/0.8683, allocations: 4 kB / 0.5897 GB, free: 2.879 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001617/0.87, allocations: 0.7147 MB / 0.5904 GB, free: 2.148 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.87, allocations: 8.031 kB / 0.5904 GB, free: 2.141 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001605/0.8702, allocations: 98.58 kB / 0.5905 GB, free: 2.066 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.8703, allocations: 58.67 kB / 0.5906 GB, free: 2.012 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006017/0.8709, allocations: 303.2 kB / 0.5908 GB, free: 1.688 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/0.871, allocations: 35.12 kB / 0.5909 GB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.8711, allocations: 47.06 kB / 0.5909 GB, free: 1.637 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.8726, allocations: 0.6552 MB / 0.5916 GB, free: 1.141 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/0.8727, allocations: 11.92 kB / 0.5916 GB, free: 1.129 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.857e-05/0.8728, allocations: 23.56 kB / 0.5916 GB, free: 1.121 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.656e-05/0.8728, allocations: 24.81 kB / 0.5916 GB, free: 1.098 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.8739, allocations: 447.2 kB / 0.592 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003518/0.8775, allocations: 1.541 MB / 0.5935 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007714/0.8783, allocations: 280.2 kB / 0.5938 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003665/0.8787, allocations: 133.2 kB / 0.5939 GB, free: 14.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-05/0.8788, allocations: 14.89 kB / 0.594 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.8788, allocations: 33.94 kB / 0.594 GB, free: 14.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 3.737e-06/0.8788, allocations: 0 / 0.594 GB, free: 14.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.001123/0.88, allocations: 324.7 kB / 0.5943 GB, free: 14.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/0.8801, allocations: 106.9 kB / 0.5944 GB, free: 14.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009577/0.881, allocations: 0.5045 MB / 0.5949 GB, free: 14.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.454e-05/0.8811, allocations: 29.7 kB / 0.5949 GB, free: 14.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.8813, allocations: 268.4 kB / 0.5952 GB, free: 13.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.8815, allocations: 77.47 kB / 0.5953 GB, free: 13.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.8815, allocations: 3.438 kB / 0.5953 GB, free: 13.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.8817, allocations: 325.9 kB / 0.5956 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.8821, allocations: 118.6 kB / 0.5957 GB, free: 13.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004739/0.8826, allocations: 222.5 kB / 0.5959 GB, free: 13.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004587/0.883, allocations: 154.2 kB / 0.596 GB, free: 13.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.883, allocations: 4 kB / 0.596 GB, free: 13 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001166/0.8842, allocations: 394.6 kB / 0.5964 GB, free: 12.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.8843, allocations: 7.953 kB / 0.5964 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000132/0.8844, allocations: 39.97 kB / 0.5965 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/0.8844, allocations: 4.438 kB / 0.5965 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/0.8848, allocations: 47.72 kB / 0.5965 GB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.225e-05/0.8849, allocations: 7.984 kB / 0.5965 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005664/0.8854, allocations: 70.67 kB / 0.5966 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.564e-05/0.8855, allocations: 23.48 kB / 0.5966 GB, free: 12.47 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (30): * Single equations (assignments): 18 * 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.000179/0.8857, allocations: 131.4 kB / 0.5967 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.8859, allocations: 43.44 kB / 0.5968 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/0.8873, allocations: 461.8 kB / 0.5972 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.8874, allocations: 4 kB / 0.5972 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.8874, allocations: 4 kB / 0.5972 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.8874, allocations: 4 kB / 0.5972 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009511/0.8884, allocations: 410.5 kB / 0.5976 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001211/0.8885, allocations: 35.97 kB / 0.5977 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003093/0.8888, allocations: 27.97 kB / 0.5977 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/0.8889, allocations: 4 kB / 0.5977 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-05/0.8889, allocations: 15.3 kB / 0.5977 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.557e-06/0.8889, allocations: 7.953 kB / 0.5977 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.8889, allocations: 0 / 0.5977 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.8901, allocations: 0.5977 MB / 0.5983 GB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/0.8904, allocations: 136.4 kB / 0.5984 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.8905, allocations: 3.5 kB / 0.5984 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005162/0.891, allocations: 23.98 kB / 0.5984 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.8911, allocations: 23.59 kB / 0.5985 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.208e-05/0.8912, allocations: 15.98 kB / 0.5985 GB, free: 10.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007279/0.8919, allocations: 403.2 kB / 0.5989 GB, free: 10.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8919, allocations: 0 / 0.5989 GB, free: 10.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001038/0.893, allocations: 184.2 kB / 0.599 GB, free: 10.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 5 * 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.002244/0.8952, allocations: 1.45 MB / 0.6005 GB, free: 8.664 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.8965, allocations: 0.5997 MB / 0.601 GB, free: 8.027 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.8965, allocations: 0 / 0.601 GB, free: 8.027 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006499/0.8972, allocations: 467 kB / 0.6015 GB, free: 7.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008647/0.8981, allocations: 97.14 kB / 0.6016 GB, free: 7.449 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/0.901, allocations: 0.8719 MB / 0.6024 GB, free: 6.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006906/0.9017, allocations: 0.8838 MB / 0.6033 GB, free: 5.691 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002677/0.902, allocations: 130.9 kB / 0.6034 GB, free: 5.648 MB / 410.7 MB Notification: Performance of SimCode: time 5.811e-06/0.902, allocations: 0 / 0.6034 GB, free: 5.648 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.604/3.506, allocations: 11.19 MB / 0.6144 GB, free: 10.5 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.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_evenGapOverall_res.mat does not exist to compare? outputFormat=mat