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.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,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 170.4 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.444/1.444, allocations: 221.5 MB / 230.7 MB, free: 7.574 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.0009264/0.0009264, allocations: 93.22 kB / 281.6 MB, free: 5.324 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.2277/0.2277, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.031e-05/2.033e-05, allocations: 4.219 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1433, allocations: 61.92 MB / 0.4948 GB, free: 1.133 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4923/0.6356, allocations: 98.67 MB / 0.5912 GB, free: 13.64 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003556/0.636, allocations: 99.92 kB / 0.5912 GB, free: 13.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05713/0.6932, allocations: 21.55 MB / 0.6123 GB, free: 7.797 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6932, allocations: 0 / 0.6123 GB, free: 7.797 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.646e-05/0.6933, allocations: 8 kB / 0.6123 GB, free: 7.789 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001151/0.6944, allocations: 0.7052 MB / 0.613 GB, free: 7.039 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.6945, allocations: 15.98 kB / 0.613 GB, free: 7.023 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.84e-05/0.6946, allocations: 51.34 kB / 0.6131 GB, free: 6.973 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003994/0.695, allocations: 306.2 kB / 0.6133 GB, free: 6.633 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.695, allocations: 16 kB / 0.6134 GB, free: 6.617 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.255e-05/0.6951, allocations: 28 kB / 0.6134 GB, free: 6.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005931/0.6957, allocations: 410.3 kB / 0.6138 GB, free: 6.188 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007953/0.6965, allocations: 0.5907 MB / 0.6144 GB, free: 5.578 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.6965, allocations: 4 kB / 0.6144 GB, free: 5.574 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/0.6965, allocations: 0 / 0.6144 GB, free: 5.574 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.753e-05/0.6966, allocations: 21.31 kB / 0.6144 GB, free: 5.555 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001957/0.6985, allocations: 1.347 MB / 0.6157 GB, free: 4.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004018/0.699, allocations: 279.8 kB / 0.616 GB, free: 3.855 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.6991, allocations: 122.7 kB / 0.6161 GB, free: 3.727 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.08e-05/0.6992, allocations: 19.92 kB / 0.6161 GB, free: 3.707 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.6992, allocations: 38.55 kB / 0.6161 GB, free: 3.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 2.014e-06/0.6993, allocations: 0 / 0.6161 GB, free: 3.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006019/0.6999, allocations: 291.6 kB / 0.6164 GB, free: 3.371 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.6999, allocations: 102.8 kB / 0.6165 GB, free: 3.246 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.7001, allocations: 196.4 kB / 0.6167 GB, free: 3.047 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.7002, allocations: 29.7 kB / 0.6167 GB, free: 3.012 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.7004, allocations: 255.6 kB / 0.617 GB, free: 2.758 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.779e-05/0.7004, allocations: 78.84 kB / 0.617 GB, free: 2.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.848e-05/0.7005, allocations: 0 / 0.617 GB, free: 2.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.7006, allocations: 330.8 kB / 0.6174 GB, free: 2.348 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.7008, allocations: 115.9 kB / 0.6175 GB, free: 2.234 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.701, allocations: 221.1 kB / 0.6177 GB, free: 1.973 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.7013, allocations: 148.6 kB / 0.6178 GB, free: 1.828 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.7013, allocations: 0 / 0.6178 GB, free: 1.828 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005818/0.7019, allocations: 383.8 kB / 0.6182 GB, free: 1.449 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.7019, allocations: 8 kB / 0.6182 GB, free: 1.441 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.006e-05/0.702, allocations: 35.97 kB / 0.6182 GB, free: 1.406 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.702, allocations: 8 kB / 0.6182 GB, free: 1.398 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.7022, allocations: 52.33 kB / 0.6183 GB, free: 1.348 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.7023, allocations: 4 kB / 0.6183 GB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.7025, allocations: 35.81 kB / 0.6183 GB, free: 1.309 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/0.7026, allocations: 16 kB / 0.6183 GB, free: 1.293 MB / 426.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.0001231/0.7027, allocations: 140.6 kB / 0.6185 GB, free: 1.148 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005039/0.7032, allocations: 301.1 kB / 0.6188 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.345e-05/0.7033, allocations: 15.81 kB / 0.6188 GB, free: 0.832 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007201/0.704, allocations: 417.8 kB / 0.6192 GB, free: 424 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.704, allocations: 8 kB / 0.6192 GB, free: 416 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.7041, allocations: 0 / 0.6192 GB, free: 416 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.7041, allocations: 3.953 kB / 0.6192 GB, free: 412 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005325/0.7046, allocations: 353.9 kB / 0.6195 GB, free: 20 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-05/0.7047, allocations: 44.03 kB / 0.6196 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.7049, allocations: 31.97 kB / 0.6196 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.7049, allocations: 0 / 0.6196 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/0.7049, allocations: 11.98 kB / 0.6196 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.7049, allocations: 4 kB / 0.6196 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.7049, allocations: 7.922 kB / 0.6196 GB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005824/0.7055, allocations: 0.556 MB / 0.6202 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.687e-05/0.7056, allocations: 104.8 kB / 0.6203 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.7057, allocations: 0 / 0.6203 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.7059, allocations: 23.98 kB / 0.6203 GB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.814e-05/0.706, allocations: 23.92 kB / 0.6203 GB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.706, allocations: 19.98 kB / 0.6203 GB, free: 15.15 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000122/0.7062, allocations: 144.5 kB / 0.6205 GB, free: 15.01 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7062, allocations: 0 / 0.6205 GB, free: 15.01 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008414/0.707, allocations: 207.2 kB / 0.6207 GB, free: 14.8 MB / 442.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.001392/0.7084, allocations: 1.415 MB / 0.622 GB, free: 13.36 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006518/0.7091, allocations: 0.5944 MB / 0.6226 GB, free: 12.69 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.7091, allocations: 4.062 kB / 0.6226 GB, free: 12.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000361/0.7095, allocations: 460.2 kB / 0.6231 GB, free: 12.16 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.7098, allocations: 27.91 kB / 0.6231 GB, free: 12.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.7115, allocations: 0.7901 MB / 0.6239 GB, free: 11.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.712, allocations: 0.9003 MB / 0.6247 GB, free: 10.37 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001375/0.7121, allocations: 41.8 kB / 0.6248 GB, free: 10.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.7123, allocations: 123.4 kB / 0.6249 GB, free: 10.2 MB / 442.7 MB Notification: Performance of SimCode: time 4.31e-07/0.7123, allocations: 0 / 0.6249 GB, free: 10.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03108/0.7434, allocations: 8.343 MB / 0.6331 GB, free: 1.887 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/0.7437, allocations: 191.9 kB / 0.6332 GB, free: 1.688 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.994/2.738, allocations: 3.938 kB / 0.6332 GB, free: 1.684 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.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_res.mat does not exist to compare? outputFormat=mat