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_evenGapTurbulent.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_evenGapTurbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",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.001809/0.001808, allocations: 180 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.455/1.455, allocations: 221.3 MB / 236 MB, free: 2.984 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.001057/0.001057, allocations: 99.97 kB / 287 MB, free: 248 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.1999/0.1999, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.122e-05/3.171e-05, allocations: 0 / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1379, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4178/0.5558, allocations: 93.16 MB / 0.5928 GB, free: 12.09 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/0.5561, allocations: 95.92 kB / 0.5929 GB, free: 12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0269/0.5831, allocations: 9.915 MB / 0.6026 GB, free: 2.031 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5831, allocations: 4 kB / 0.6026 GB, free: 2.027 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.5831, allocations: 0 / 0.6026 GB, free: 2.027 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007394/0.5839, allocations: 0.5094 MB / 0.6031 GB, free: 1.473 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.5839, allocations: 12.03 kB / 0.6031 GB, free: 1.461 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.121e-05/0.584, allocations: 54.55 kB / 0.6031 GB, free: 1.398 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/0.5841, allocations: 23.72 kB / 0.6032 GB, free: 1.375 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.5843, allocations: 223 kB / 0.6034 GB, free: 1.117 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.5844, allocations: 12 kB / 0.6034 GB, free: 1.105 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.5844, allocations: 20 kB / 0.6034 GB, free: 1.086 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/0.5848, allocations: 252.3 kB / 0.6036 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.5849, allocations: 0 / 0.6036 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.5849, allocations: 4 kB / 0.6036 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.18e-05/0.5849, allocations: 16 kB / 0.6037 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/0.5852, allocations: 163.7 kB / 0.6038 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.5863, allocations: 0.7812 MB / 0.6046 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004026/0.5867, allocations: 207.7 kB / 0.6048 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.5869, allocations: 70.55 kB / 0.6048 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.5869, allocations: 4 kB / 0.6048 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.5869, allocations: 34.56 kB / 0.6049 GB, free: 15.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.866e-06/0.5869, allocations: 96 / 0.6049 GB, free: 15.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004276/0.5874, allocations: 189.1 kB / 0.6051 GB, free: 15.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.5874, allocations: 106.8 kB / 0.6052 GB, free: 15.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.5877, allocations: 246.9 kB / 0.6054 GB, free: 14.87 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.5877, allocations: 29.7 kB / 0.6054 GB, free: 14.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.882e-05/0.5878, allocations: 135.9 kB / 0.6056 GB, free: 14.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.35e-05/0.5879, allocations: 51.34 kB / 0.6056 GB, free: 14.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/0.5879, allocations: 4.062 kB / 0.6056 GB, free: 14.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.5881, allocations: 334.8 kB / 0.6059 GB, free: 14.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.5882, allocations: 55.89 kB / 0.606 GB, free: 14.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.5883, allocations: 98.59 kB / 0.6061 GB, free: 14.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.5884, allocations: 75.94 kB / 0.6061 GB, free: 14.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5885, allocations: 0 / 0.6061 GB, free: 14.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000344/0.5888, allocations: 205.2 kB / 0.6063 GB, free: 13.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.5888, allocations: 5.25 kB / 0.6064 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.862e-05/0.5889, allocations: 15.97 kB / 0.6064 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.5889, allocations: 4 kB / 0.6064 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.5891, allocations: 48.02 kB / 0.6064 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.5891, allocations: 0 / 0.6064 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.5893, allocations: 43.81 kB / 0.6065 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.5894, allocations: 4 kB / 0.6065 GB, free: 13.74 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001035/0.5895, allocations: 113 kB / 0.6066 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.74e-05/0.5895, allocations: 23.72 kB / 0.6066 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003763/0.5899, allocations: 207.2 kB / 0.6068 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.5899, allocations: 0 / 0.6068 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.59, allocations: 7.953 kB / 0.6068 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.59, allocations: 96 / 0.6068 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003817/0.5904, allocations: 265.4 kB / 0.607 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.039e-05/0.5904, allocations: 11.98 kB / 0.6071 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.5906, allocations: 35.97 kB / 0.6071 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5906, allocations: 4 kB / 0.6071 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.5906, allocations: 7.984 kB / 0.6071 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.5906, allocations: 3.938 kB / 0.6071 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.5906, allocations: 4 kB / 0.6071 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004817/0.5911, allocations: 449.1 kB / 0.6075 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.359e-05/0.5912, allocations: 100.8 kB / 0.6076 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.5912, allocations: 3.953 kB / 0.6076 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.5915, allocations: 23.97 kB / 0.6077 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.708e-05/0.5916, allocations: 19.98 kB / 0.6077 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.5916, allocations: 4 kB / 0.6077 GB, free: 12.38 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001932/0.5918, allocations: 203.1 kB / 0.6079 GB, free: 12.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5918, allocations: 3.938 kB / 0.6079 GB, free: 12.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004594/0.5923, allocations: 79.92 kB / 0.608 GB, free: 12.1 MB / 426.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001079/0.5933, allocations: 1.19 MB / 0.6091 GB, free: 10.87 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003784/0.5937, allocations: 225.1 kB / 0.6093 GB, free: 10.63 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5938, allocations: 4.062 kB / 0.6093 GB, free: 10.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.5939, allocations: 153 kB / 0.6095 GB, free: 10.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.5943, allocations: 36.86 kB / 0.6095 GB, free: 10.42 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009265/0.5953, allocations: 398 kB / 0.6099 GB, free: 9.996 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.5957, allocations: 0.7713 MB / 0.6107 GB, free: 9.199 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.5958, allocations: 45.5 kB / 0.6107 GB, free: 9.156 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.5959, allocations: 59.41 kB / 0.6108 GB, free: 9.098 MB / 426.7 MB Notification: Performance of SimCode: time 6.22e-07/0.5959, allocations: 0 / 0.6108 GB, free: 9.098 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01972/0.6156, allocations: 5.979 MB / 0.6166 GB, free: 3.312 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/0.6159, allocations: 200.8 kB / 0.6168 GB, free: 3.086 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.495, allocations: 0 / 0.6168 GB, free: 3.086 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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_evenGapTurbulent_res.mat does not exist to compare? outputFormat=mat