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.002196/0.002196, allocations: 179.8 kB / 17.06 MB, free: 5.094 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.398/1.398, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008779/0.0008777, allocations: 95.98 kB / 292.1 MB, free: 10.91 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.3135/0.3135, allocations: 44.22 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004815/0.0004816, allocations: 12 kB / 460 MB, free: 1.395 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3667, allocations: 61.89 MB / 0.5097 GB, free: 38.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1168/0.4835, allocations: 94.42 MB / 0.6019 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.4838, allocations: 99.91 kB / 0.602 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03583/0.5196, allocations: 14.76 MB / 0.6164 GB, free: 1.582 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5197, allocations: 0 / 0.6164 GB, free: 1.582 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.5197, allocations: 4 kB / 0.6164 GB, free: 1.578 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.0008713/0.5206, allocations: 0.6319 MB / 0.617 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.5206, allocations: 12.03 kB / 0.617 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.5207, allocations: 102.5 kB / 0.6171 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.065e-05/0.5208, allocations: 43.44 kB / 0.6171 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004298/0.5213, allocations: 294.3 kB / 0.6174 GB, free: 412 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.5213, allocations: 45.25 kB / 0.6175 GB, free: 368 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.217e-05/0.5214, allocations: 48 kB / 0.6175 GB, free: 320 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009216/0.5223, allocations: 0.6271 MB / 0.6181 GB, free: 15.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.5224, allocations: 0 / 0.6181 GB, free: 15.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.368e-05/0.5224, allocations: 19.98 kB / 0.6181 GB, free: 15.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.064e-05/0.5225, allocations: 37.3 kB / 0.6182 GB, free: 15.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007327/0.5232, allocations: 0.5047 MB / 0.6187 GB, free: 15.12 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002457/0.5257, allocations: 1.438 MB / 0.6201 GB, free: 13.62 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000828/0.5265, allocations: 463.1 kB / 0.6205 GB, free: 13.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.266e-05/0.5266, allocations: 11.97 kB / 0.6205 GB, free: 13.15 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.5266, allocations: 34.62 kB / 0.6206 GB, free: 13.11 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 2.334e-06/0.5266, allocations: 4 kB / 0.6206 GB, free: 13.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008906/0.5275, allocations: 0.4912 MB / 0.6211 GB, free: 12.61 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.5276, allocations: 55.34 kB / 0.6211 GB, free: 12.54 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005487/0.5281, allocations: 0.5046 MB / 0.6216 GB, free: 12.03 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.5282, allocations: 29.7 kB / 0.6216 GB, free: 12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.5283, allocations: 212.2 kB / 0.6218 GB, free: 11.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.638e-05/0.5284, allocations: 90.73 kB / 0.6219 GB, free: 11.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.5284, allocations: 8 kB / 0.6219 GB, free: 11.69 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.5286, allocations: 362.7 kB / 0.6223 GB, free: 11.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.5289, allocations: 152.2 kB / 0.6224 GB, free: 11.17 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/0.5292, allocations: 249.8 kB / 0.6226 GB, free: 10.89 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.5295, allocations: 197.9 kB / 0.6228 GB, free: 10.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.5296, allocations: 7.938 kB / 0.6228 GB, free: 10.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007676/0.5303, allocations: 0.4949 MB / 0.6233 GB, free: 10.19 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.5304, allocations: 9.719 kB / 0.6233 GB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-05/0.5304, allocations: 35.97 kB / 0.6234 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.5305, allocations: 8 kB / 0.6234 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.5306, allocations: 39.84 kB / 0.6234 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.5307, allocations: 8 kB / 0.6234 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.5309, allocations: 55.28 kB / 0.6235 GB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.244e-05/0.531, allocations: 27.94 kB / 0.6235 GB, free: 10.01 MB / 442.7 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) 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 () * Number of clocked 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.0003089/0.5313, allocations: 231.8 kB / 0.6237 GB, free: 9.773 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.124e-05/0.5314, allocations: 39.44 kB / 0.6238 GB, free: 9.734 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009578/0.5324, allocations: 0.54 MB / 0.6243 GB, free: 9.184 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.5324, allocations: 11.94 kB / 0.6243 GB, free: 9.172 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.5324, allocations: 4 kB / 0.6243 GB, free: 9.168 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.5324, allocations: 0 / 0.6243 GB, free: 9.168 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005893/0.533, allocations: 425.2 kB / 0.6247 GB, free: 8.703 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.796e-05/0.5331, allocations: 35.97 kB / 0.6247 GB, free: 8.668 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.5332, allocations: 27.98 kB / 0.6248 GB, free: 8.641 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.5332, allocations: 4 kB / 0.6248 GB, free: 8.637 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.5333, allocations: 15.98 kB / 0.6248 GB, free: 8.621 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5333, allocations: 0 / 0.6248 GB, free: 8.621 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5333, allocations: 0 / 0.6248 GB, free: 8.621 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.5343, allocations: 0.7149 MB / 0.6255 GB, free: 7.891 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.5345, allocations: 128.5 kB / 0.6256 GB, free: 7.746 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.435e-05/0.5345, allocations: 4 kB / 0.6256 GB, free: 7.742 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.5347, allocations: 11.98 kB / 0.6256 GB, free: 7.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.5348, allocations: 15.98 kB / 0.6256 GB, free: 7.715 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.294e-05/0.5348, allocations: 19.98 kB / 0.6257 GB, free: 7.695 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004166/0.5352, allocations: 395 kB / 0.626 GB, free: 7.316 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5353, allocations: 0 / 0.626 GB, free: 7.316 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000538/0.5358, allocations: 155.9 kB / 0.6262 GB, free: 7.164 MB / 442.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 () * 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: 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.001556/0.5374, allocations: 1.373 MB / 0.6275 GB, free: 5.766 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007768/0.5382, allocations: 0.664 MB / 0.6282 GB, free: 5.027 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5382, allocations: 0 / 0.6282 GB, free: 5.027 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004202/0.5386, allocations: 489.2 kB / 0.6286 GB, free: 4.477 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.539, allocations: 86.72 kB / 0.6287 GB, free: 4.391 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005136/0.5441, allocations: 5.246 MB / 0.6338 GB, free: 15.03 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.5446, allocations: 0.8938 MB / 0.6347 GB, free: 14.11 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002912/0.5449, allocations: 120.2 kB / 0.6348 GB, free: 13.99 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.5451, allocations: 139.4 kB / 0.635 GB, free: 13.85 MB / 458.7 MB Notification: Performance of SimCode: time 8.52e-07/0.5451, allocations: 4 kB / 0.635 GB, free: 13.84 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02668/0.5718, allocations: 12.57 MB / 0.6472 GB, free: 1.543 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003219/0.5722, allocations: 222.9 kB / 0.6475 GB, free: 1.301 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.285/2.857, allocations: 0 / 0.6475 GB, free: 1.301 MB / 458.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