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_evenGapLaminar.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_evenGapLaminar,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 221.3 MB / 236 MB, free: 2.934 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.001003/0.001003, allocations: 91.86 kB / 287 MB, free: 192 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2386/0.2386, allocations: 44.16 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.691e-05/3.707e-05, allocations: 8.203 kB / 451.9 MB, free: 9.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1528, allocations: 61.92 MB / 0.5018 GB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4966/0.6495, allocations: 94.35 MB / 0.594 GB, free: 10.84 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.6498, allocations: 87.94 kB / 0.594 GB, free: 10.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03641/0.6862, allocations: 14.78 MB / 0.6085 GB, free: 11.78 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6863, allocations: 0 / 0.6085 GB, free: 11.78 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.822e-05/0.6863, allocations: 12 kB / 0.6085 GB, free: 11.77 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.0009532/0.6873, allocations: 0.6117 MB / 0.6091 GB, free: 11.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.6873, allocations: 12.03 kB / 0.6091 GB, free: 11.1 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001204/0.6875, allocations: 94.52 kB / 0.6092 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.388e-05/0.6876, allocations: 47.44 kB / 0.6092 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005164/0.6881, allocations: 294.3 kB / 0.6095 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.144e-05/0.6881, allocations: 41.27 kB / 0.6096 GB, free: 10.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.752e-05/0.6882, allocations: 52 kB / 0.6096 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009514/0.6892, allocations: 0.6194 MB / 0.6102 GB, free: 9.902 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.6892, allocations: 8 kB / 0.6102 GB, free: 9.895 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/0.6893, allocations: 20 kB / 0.6102 GB, free: 9.875 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.086e-05/0.6893, allocations: 33.3 kB / 0.6103 GB, free: 9.844 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007245/0.6901, allocations: 0.4969 MB / 0.6108 GB, free: 9.348 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002504/0.6926, allocations: 1.445 MB / 0.6122 GB, free: 7.844 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008369/0.6934, allocations: 453.2 kB / 0.6126 GB, free: 7.395 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.6937, allocations: 145 kB / 0.6127 GB, free: 7.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.514e-05/0.6937, allocations: 4 kB / 0.6127 GB, free: 7.246 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.6938, allocations: 38.55 kB / 0.6128 GB, free: 7.199 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 2.114e-06/0.6938, allocations: 4 kB / 0.6128 GB, free: 7.195 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007149/0.6945, allocations: 369.3 kB / 0.6131 GB, free: 6.828 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.6946, allocations: 59.36 kB / 0.6132 GB, free: 6.758 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005801/0.6952, allocations: 499 kB / 0.6137 GB, free: 6.266 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.6952, allocations: 29.7 kB / 0.6137 GB, free: 6.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.6954, allocations: 228.1 kB / 0.6139 GB, free: 6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.48e-05/0.6955, allocations: 82.81 kB / 0.614 GB, free: 5.918 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.059e-05/0.6955, allocations: 4 kB / 0.614 GB, free: 5.914 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.6957, allocations: 370.8 kB / 0.6143 GB, free: 5.543 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.6959, allocations: 148 kB / 0.6145 GB, free: 5.395 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003395/0.6963, allocations: 244.8 kB / 0.6147 GB, free: 5.113 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003266/0.6966, allocations: 198.3 kB / 0.6149 GB, free: 4.922 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.6966, allocations: 0 / 0.6149 GB, free: 4.922 MB / 426.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008068/0.6974, allocations: 0.4947 MB / 0.6154 GB, free: 4.422 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.6975, allocations: 8.406 kB / 0.6154 GB, free: 4.414 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.085e-05/0.6976, allocations: 43.97 kB / 0.6154 GB, free: 4.371 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.105e-05/0.6976, allocations: 7.984 kB / 0.6154 GB, free: 4.363 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.6978, allocations: 39.92 kB / 0.6155 GB, free: 4.324 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.6978, allocations: 4 kB / 0.6155 GB, free: 4.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.6981, allocations: 67.16 kB / 0.6156 GB, free: 4.254 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-05/0.6982, allocations: 23.94 kB / 0.6156 GB, free: 4.23 MB / 426.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.0001899/0.6984, allocations: 134.2 kB / 0.6157 GB, free: 4.094 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.43e-05/0.6984, allocations: 43.47 kB / 0.6157 GB, free: 4.051 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.6995, allocations: 0.5281 MB / 0.6163 GB, free: 3.516 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.6995, allocations: 7.984 kB / 0.6163 GB, free: 3.508 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.6996, allocations: 4 kB / 0.6163 GB, free: 3.504 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.6996, allocations: 3.984 kB / 0.6163 GB, free: 3.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006145/0.7002, allocations: 437 kB / 0.6167 GB, free: 3.023 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.25e-05/0.7003, allocations: 35.97 kB / 0.6167 GB, free: 2.988 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.7004, allocations: 31.92 kB / 0.6168 GB, free: 2.957 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.7004, allocations: 4 kB / 0.6168 GB, free: 2.953 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.248e-05/0.7005, allocations: 12 kB / 0.6168 GB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.7005, allocations: 0 / 0.6168 GB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.7005, allocations: 3.938 kB / 0.6168 GB, free: 2.938 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.7016, allocations: 0.6955 MB / 0.6175 GB, free: 2.227 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.7017, allocations: 128.5 kB / 0.6176 GB, free: 2.082 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.338e-05/0.7018, allocations: 8 kB / 0.6176 GB, free: 2.074 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.702, allocations: 8.062 kB / 0.6176 GB, free: 2.066 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.848e-05/0.702, allocations: 23.97 kB / 0.6176 GB, free: 2.043 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.7021, allocations: 16 kB / 0.6176 GB, free: 2.027 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004103/0.7025, allocations: 393.1 kB / 0.618 GB, free: 1.645 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7025, allocations: 0 / 0.618 GB, free: 1.645 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006126/0.7031, allocations: 151.8 kB / 0.6182 GB, free: 1.496 MB / 426.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.001576/0.7047, allocations: 1.38 MB / 0.6195 GB, free: 92 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007979/0.7055, allocations: 0.6606 MB / 0.6201 GB, free: 15.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.7055, allocations: 0 / 0.6201 GB, free: 15.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004264/0.706, allocations: 488.2 kB / 0.6206 GB, free: 14.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.7064, allocations: 86.34 kB / 0.6207 GB, free: 14.72 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.7084, allocations: 0.9619 MB / 0.6216 GB, free: 13.72 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/0.7089, allocations: 0.886 MB / 0.6225 GB, free: 12.81 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000266/0.7091, allocations: 120.1 kB / 0.6226 GB, free: 12.69 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.7093, allocations: 135.4 kB / 0.6227 GB, free: 12.55 MB / 442.7 MB Notification: Performance of SimCode: time 8.42e-07/0.7094, allocations: 0 / 0.6227 GB, free: 12.55 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.7377, allocations: 12.52 MB / 0.635 GB, free: 244 kB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002642/0.738, allocations: 205.3 kB / 0.6352 GB, free: 8 kB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.324/3.062, allocations: 0 / 0.6352 GB, free: 8 kB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.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_evenGapLaminar_res.mat does not exist to compare? outputFormat=mat