Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 221.5 MB / 230.7 MB, free: 7.52 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 98.05 kB / 281.6 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2138/0.2138, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.198e-05/2.172e-05, allocations: 4.219 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1379, allocations: 61.92 MB / 0.4948 GB, free: 1.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4816/0.6195, allocations: 98.07 MB / 0.5906 GB, free: 14.29 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/0.6199, allocations: 98.2 kB / 0.5907 GB, free: 14.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.056/0.6759, allocations: 20.58 MB / 0.6108 GB, free: 9.414 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.676, allocations: 0 / 0.6108 GB, free: 9.414 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.676, allocations: 8 kB / 0.6108 GB, free: 9.406 MB / 426.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.001059/0.6771, allocations: 0.6662 MB / 0.6114 GB, free: 8.691 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.6771, allocations: 11.98 kB / 0.6114 GB, free: 8.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.218e-05/0.6772, allocations: 51.34 kB / 0.6115 GB, free: 8.629 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.6776, allocations: 298.9 kB / 0.6118 GB, free: 8.293 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.6777, allocations: 20 kB / 0.6118 GB, free: 8.273 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.636e-05/0.6777, allocations: 28 kB / 0.6118 GB, free: 8.246 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008434/0.6786, allocations: 0.631 MB / 0.6124 GB, free: 7.617 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000824/0.6794, allocations: 0.5972 MB / 0.613 GB, free: 7.008 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.6794, allocations: 0 / 0.613 GB, free: 7.008 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.6795, allocations: 0 / 0.613 GB, free: 7.008 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.963e-05/0.6795, allocations: 45.3 kB / 0.613 GB, free: 6.965 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.6817, allocations: 1.296 MB / 0.6143 GB, free: 5.629 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008137/0.6825, allocations: 0.5062 MB / 0.6148 GB, free: 5.113 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.6828, allocations: 168.5 kB / 0.615 GB, free: 4.945 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.454e-05/0.6829, allocations: 11.97 kB / 0.615 GB, free: 4.934 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.6829, allocations: 38.56 kB / 0.615 GB, free: 4.887 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 2.215e-06/0.6829, allocations: 0 / 0.615 GB, free: 4.887 MB / 426.7 MB Notification: Performance of matching and sorting (n=37): time 0.000824/0.6837, allocations: 409.4 kB / 0.6154 GB, free: 4.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.6838, allocations: 55.41 kB / 0.6155 GB, free: 4.414 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.684, allocations: 190.9 kB / 0.6156 GB, free: 4.219 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.6841, allocations: 25.7 kB / 0.6157 GB, free: 4.188 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.6842, allocations: 260 kB / 0.6159 GB, free: 3.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.884e-05/0.6844, allocations: 126.1 kB / 0.616 GB, free: 3.805 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.6844, allocations: 0 / 0.616 GB, free: 3.805 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.6845, allocations: 334.8 kB / 0.6164 GB, free: 3.469 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.6848, allocations: 169 kB / 0.6165 GB, free: 3.301 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003487/0.6851, allocations: 296.4 kB / 0.6168 GB, free: 2.953 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.6855, allocations: 216 kB / 0.617 GB, free: 2.742 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6855, allocations: 0 / 0.617 GB, free: 2.742 MB / 426.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000795/0.6863, allocations: 0.512 MB / 0.6175 GB, free: 2.223 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.6863, allocations: 9.25 kB / 0.6175 GB, free: 2.215 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.6863, allocations: 7.953 kB / 0.6175 GB, free: 2.207 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.6863, allocations: 8 kB / 0.6175 GB, free: 2.199 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.6874, allocations: 223.7 kB / 0.6177 GB, free: 1.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004524/0.692, allocations: 7.337 MB / 0.6249 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003707/0.6924, allocations: 31.67 kB / 0.6249 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-05/0.6924, allocations: 31.98 kB / 0.625 GB, free: 10.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (55): * Single equations (assignments): 43 * 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.0002308/0.6927, allocations: 134.3 kB / 0.6251 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006555/0.6933, allocations: 408.5 kB / 0.6255 GB, free: 9.758 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.279e-05/0.6934, allocations: 27.66 kB / 0.6255 GB, free: 9.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009598/0.6943, allocations: 0.5358 MB / 0.626 GB, free: 9.184 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.6944, allocations: 4 kB / 0.626 GB, free: 9.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.6944, allocations: 7.984 kB / 0.626 GB, free: 9.172 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.6944, allocations: 4 kB / 0.626 GB, free: 9.168 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006012/0.695, allocations: 401.4 kB / 0.6264 GB, free: 8.738 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.695, allocations: 0 / 0.6264 GB, free: 8.738 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009671/0.696, allocations: 207.7 kB / 0.6266 GB, free: 8.535 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/0.696, allocations: 0 / 0.6266 GB, free: 8.535 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.696, allocations: 11.98 kB / 0.6266 GB, free: 8.523 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00389/0.7, allocations: 7.333 MB / 0.6338 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.7, allocations: 3.984 kB / 0.6338 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006965/0.7007, allocations: 0.4996 MB / 0.6343 GB, free: 396 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.222e-05/0.7008, allocations: 105 kB / 0.6344 GB, free: 272 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.647e-05/0.7008, allocations: 0 / 0.6344 GB, free: 272 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.7011, allocations: 7.984 kB / 0.6344 GB, free: 264 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.365e-05/0.7012, allocations: 31.95 kB / 0.6344 GB, free: 232 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.192e-05/0.7012, allocations: 19.98 kB / 0.6345 GB, free: 212 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001268/0.7013, allocations: 144.2 kB / 0.6346 GB, free: 68 kB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/0.7013, allocations: 3.938 kB / 0.6346 GB, free: 64 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009253/0.7023, allocations: 187.4 kB / 0.6348 GB, free: 15.88 MB / 458.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.00145/0.7037, allocations: 1.224 MB / 0.636 GB, free: 14.63 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001617/0.7054, allocations: 0.5081 MB / 0.6365 GB, free: 14.12 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.7054, allocations: 0 / 0.6365 GB, free: 14.12 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008945/0.7063, allocations: 315.5 kB / 0.6368 GB, free: 13.81 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.7066, allocations: 19.98 kB / 0.6368 GB, free: 13.79 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.7082, allocations: 0.8254 MB / 0.6376 GB, free: 12.93 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/0.7087, allocations: 0.9047 MB / 0.6385 GB, free: 12 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002735/0.709, allocations: 119.1 kB / 0.6386 GB, free: 11.88 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.7091, allocations: 135.4 kB / 0.6387 GB, free: 11.75 MB / 458.7 MB Notification: Performance of SimCode: time 5.91e-07/0.7091, allocations: 0 / 0.6387 GB, free: 11.75 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03498/0.7441, allocations: 9.216 MB / 0.6477 GB, free: 2.555 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/0.7444, allocations: 192 kB / 0.6479 GB, free: 2.359 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.207/2.951, allocations: 1.688 kB / 0.6479 GB, free: 2.359 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat does not exist to compare? outputFormat=mat