Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 182 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008894/0.0008895, allocations: 86.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2104/0.2104, allocations: 43.57 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002831/0.0002832, allocations: 8 kB / 431.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1037, allocations: 58.86 MB / 490.4 MB, free: 8.555 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3328/0.4365, allocations: 93.27 MB / 0.57 GB, free: 6.445 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/0.4369, allocations: 98.11 kB / 0.57 GB, free: 6.383 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03582/0.4727, allocations: 14.37 MB / 0.5841 GB, free: 9.879 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.4728, allocations: 0 / 0.5841 GB, free: 9.879 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.004e-05/0.4728, allocations: 8 kB / 0.5841 GB, free: 9.871 MB / 394.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.001102/0.4739, allocations: 0.6295 MB / 0.5847 GB, free: 9.219 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/0.474, allocations: 12.03 kB / 0.5847 GB, free: 9.207 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001491/0.4742, allocations: 100.6 kB / 0.5848 GB, free: 9.133 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.4743, allocations: 51.44 kB / 0.5849 GB, free: 9.082 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004921/0.4748, allocations: 293 kB / 0.5851 GB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.928e-05/0.4748, allocations: 37.62 kB / 0.5852 GB, free: 8.746 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.052e-05/0.4749, allocations: 49.69 kB / 0.5852 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.476, allocations: 0.6404 MB / 0.5858 GB, free: 8.211 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.476, allocations: 0 / 0.5858 GB, free: 8.211 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.469e-05/0.476, allocations: 17.31 kB / 0.5859 GB, free: 8.207 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.645e-05/0.4761, allocations: 36.55 kB / 0.5859 GB, free: 8.176 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007831/0.4769, allocations: 0.4984 MB / 0.5864 GB, free: 7.785 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00254/0.4794, allocations: 1.448 MB / 0.5878 GB, free: 6.484 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008212/0.4803, allocations: 460.2 kB / 0.5882 GB, free: 6.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.928e-05/0.4803, allocations: 7.984 kB / 0.5882 GB, free: 6.062 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.4804, allocations: 42.45 kB / 0.5883 GB, free: 6.012 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 2.054e-06/0.4804, allocations: 0 / 0.5883 GB, free: 6.012 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.0009428/0.4813, allocations: 0.4937 MB / 0.5888 GB, free: 5.562 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.4814, allocations: 59.34 kB / 0.5888 GB, free: 5.492 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005725/0.482, allocations: 0.492 MB / 0.5893 GB, free: 5.086 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.482, allocations: 29.45 kB / 0.5893 GB, free: 5.055 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.4822, allocations: 228.8 kB / 0.5896 GB, free: 4.895 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.937e-05/0.4823, allocations: 82.25 kB / 0.5896 GB, free: 4.824 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.219e-05/0.4823, allocations: 7.938 kB / 0.5896 GB, free: 4.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.4825, allocations: 353.6 kB / 0.59 GB, free: 4.484 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.4828, allocations: 154.5 kB / 0.5901 GB, free: 4.348 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.4831, allocations: 255.1 kB / 0.5904 GB, free: 4.082 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/0.4834, allocations: 199.8 kB / 0.5906 GB, free: 3.918 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.4835, allocations: 3.984 kB / 0.5906 GB, free: 3.914 MB / 394.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007928/0.4843, allocations: 0.492 MB / 0.591 GB, free: 3.477 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.4843, allocations: 4 kB / 0.591 GB, free: 3.473 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-05/0.4844, allocations: 51.84 kB / 0.5911 GB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.4844, allocations: 8 kB / 0.5911 GB, free: 3.418 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.4846, allocations: 35.92 kB / 0.5911 GB, free: 3.383 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.4846, allocations: 11.92 kB / 0.5911 GB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/0.4849, allocations: 55.22 kB / 0.5912 GB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/0.485, allocations: 23.92 kB / 0.5912 GB, free: 3.301 MB / 394.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.0003214/0.4853, allocations: 231.8 kB / 0.5914 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.021e-05/0.4854, allocations: 47.42 kB / 0.5915 GB, free: 3.043 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009129/0.4863, allocations: 0.5348 MB / 0.592 GB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.4863, allocations: 11.89 kB / 0.592 GB, free: 2.559 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.4863, allocations: 0 / 0.592 GB, free: 2.559 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.4863, allocations: 3.984 kB / 0.592 GB, free: 2.555 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005951/0.4869, allocations: 431.7 kB / 0.5924 GB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-05/0.487, allocations: 35.95 kB / 0.5925 GB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.4872, allocations: 31.11 kB / 0.5925 GB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4872, allocations: 0 / 0.5925 GB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/0.4872, allocations: 11.88 kB / 0.5925 GB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.4872, allocations: 0 / 0.5925 GB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.4872, allocations: 7.953 kB / 0.5925 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.4883, allocations: 0.7056 MB / 0.5932 GB, free: 1.434 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.4885, allocations: 132.6 kB / 0.5933 GB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.517e-05/0.4885, allocations: 3.25 kB / 0.5933 GB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.4887, allocations: 7.562 kB / 0.5933 GB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.4888, allocations: 27.92 kB / 0.5934 GB, free: 1.254 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.4888, allocations: 15.36 kB / 0.5934 GB, free: 1.242 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004112/0.4892, allocations: 396.8 kB / 0.5938 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4892, allocations: 0 / 0.5938 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006193/0.4899, allocations: 162.7 kB / 0.5939 GB, free: 0.7852 MB / 394.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.001838/0.4917, allocations: 1.355 MB / 0.5952 GB, free: 15.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008048/0.4925, allocations: 0.6771 MB / 0.5959 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4925, allocations: 0 / 0.5959 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004061/0.493, allocations: 485.3 kB / 0.5964 GB, free: 14.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.4934, allocations: 92.59 kB / 0.5965 GB, free: 14.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00577/0.4992, allocations: 5.245 MB / 0.6016 GB, free: 9.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005138/0.4997, allocations: 0.8921 MB / 0.6024 GB, free: 8.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002989/0.5, allocations: 120 kB / 0.6026 GB, free: 8.309 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.5002, allocations: 137.1 kB / 0.6027 GB, free: 8.266 MB / 410.7 MB Notification: Performance of SimCode: time 9.81e-07/0.5002, allocations: 4 kB / 0.6027 GB, free: 8.262 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.5272, allocations: 12.57 MB / 0.615 GB, free: 11.75 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/0.5274, allocations: 226.4 kB / 0.6152 GB, free: 11.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.253/2.781, allocations: 0 / 0.6152 GB, free: 11.5 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat does not exist to compare? outputFormat=mat