Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01557/0.01557, allocations: 176.1 kB / 15.12 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.906/1.906, allocations: 194.5 MB / 210.3 MB, free: 8.582 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002013/0.002012, allocations: 116.7 kB / 255.6 MB, free: 11.2 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2817/0.2817, allocations: 40 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006343/0.0006343, allocations: 14.59 kB / 406.3 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1081, allocations: 54.87 MB / 461.2 MB, free: 3.277 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.479/0.5872, allocations: 88.29 MB / 0.5366 GB, free: 28.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004824/0.5877, allocations: 98.81 kB / 0.5367 GB, free: 28.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0729/0.6606, allocations: 14.35 MB / 0.5507 GB, free: 26.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.6607, allocations: 1.75 kB / 0.5507 GB, free: 26.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.6607, allocations: 4.781 kB / 0.5507 GB, free: 26.16 MB / 378.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.001195/0.6619, allocations: 0.632 MB / 0.5513 GB, free: 25.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.662, allocations: 10.41 kB / 0.5513 GB, free: 25.67 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001678/0.6622, allocations: 103 kB / 0.5514 GB, free: 25.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.6623, allocations: 47.09 kB / 0.5515 GB, free: 25.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004994/0.6628, allocations: 295.2 kB / 0.5517 GB, free: 25.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.335e-05/0.6629, allocations: 40.36 kB / 0.5518 GB, free: 25.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.663, allocations: 46.84 kB / 0.5518 GB, free: 25.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.6644, allocations: 0.6273 MB / 0.5524 GB, free: 25.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.6645, allocations: 3.938 kB / 0.5524 GB, free: 25.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.831e-05/0.6645, allocations: 19.41 kB / 0.5525 GB, free: 25.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.879e-05/0.6646, allocations: 40.2 kB / 0.5525 GB, free: 25.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.6657, allocations: 0.5029 MB / 0.553 GB, free: 25.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003667/0.6694, allocations: 1.442 MB / 0.5544 GB, free: 24.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.6709, allocations: 459.4 kB / 0.5548 GB, free: 24.81 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.677e-05/0.671, allocations: 23.25 kB / 0.5549 GB, free: 24.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.671, allocations: 38.19 kB / 0.5549 GB, free: 24.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 3.026e-06/0.671, allocations: 7.844 kB / 0.5549 GB, free: 24.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.001462/0.6725, allocations: 0.495 MB / 0.5554 GB, free: 24.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.6726, allocations: 51.41 kB / 0.5554 GB, free: 24.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008014/0.6734, allocations: 0.4918 MB / 0.5559 GB, free: 24.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.34e-05/0.6735, allocations: 25.7 kB / 0.5559 GB, free: 24.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.6736, allocations: 228.4 kB / 0.5562 GB, free: 24.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.6737, allocations: 89.08 kB / 0.5562 GB, free: 24.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.6738, allocations: 3.5 kB / 0.5562 GB, free: 24.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.6739, allocations: 359.8 kB / 0.5566 GB, free: 23.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004366/0.6744, allocations: 152.4 kB / 0.5567 GB, free: 23.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004845/0.6749, allocations: 256.2 kB / 0.557 GB, free: 23.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005095/0.6754, allocations: 193.8 kB / 0.5572 GB, free: 23.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.6754, allocations: 0 / 0.5572 GB, free: 23.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001288/0.6767, allocations: 0.4991 MB / 0.5576 GB, free: 23.78 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.6768, allocations: 9.438 kB / 0.5577 GB, free: 23.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001172/0.6769, allocations: 37.14 kB / 0.5577 GB, free: 23.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/0.6769, allocations: 7.812 kB / 0.5577 GB, free: 23.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003542/0.6773, allocations: 37.42 kB / 0.5577 GB, free: 23.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/0.6773, allocations: 14.83 kB / 0.5577 GB, free: 23.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005245/0.6778, allocations: 58.09 kB / 0.5578 GB, free: 23.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-05/0.6779, allocations: 26.41 kB / 0.5578 GB, free: 23.73 MB / 378.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.0004555/0.6784, allocations: 217.5 kB / 0.558 GB, free: 23.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.6785, allocations: 43.02 kB / 0.5581 GB, free: 23.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.6801, allocations: 0.5409 MB / 0.5586 GB, free: 23.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.6801, allocations: 7.844 kB / 0.5586 GB, free: 23.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.6801, allocations: 0 / 0.5586 GB, free: 23.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.6802, allocations: 7.5 kB / 0.5586 GB, free: 23.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009185/0.6811, allocations: 429.3 kB / 0.559 GB, free: 23.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001122/0.6812, allocations: 37.89 kB / 0.5591 GB, free: 23.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003005/0.6815, allocations: 29.88 kB / 0.5591 GB, free: 23.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.6816, allocations: 3.953 kB / 0.5591 GB, free: 23.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.605e-05/0.6816, allocations: 11.69 kB / 0.5591 GB, free: 23.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.6816, allocations: 0 / 0.5591 GB, free: 23.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.6816, allocations: 0 / 0.5591 GB, free: 23.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.6833, allocations: 0.7127 MB / 0.5598 GB, free: 23.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002388/0.6836, allocations: 126.9 kB / 0.5599 GB, free: 23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.6838, allocations: 15.61 kB / 0.5599 GB, free: 22.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.6841, allocations: 3.562 kB / 0.5599 GB, free: 22.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.267e-05/0.6842, allocations: 29.52 kB / 0.56 GB, free: 22.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-05/0.6843, allocations: 11.53 kB / 0.56 GB, free: 22.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006446/0.685, allocations: 398.6 kB / 0.5604 GB, free: 22.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.685, allocations: 0 / 0.5604 GB, free: 22.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009755/0.686, allocations: 157.5 kB / 0.5605 GB, free: 22.89 MB / 378.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.002363/0.6884, allocations: 1.354 MB / 0.5618 GB, free: 22.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.6896, allocations: 0.6828 MB / 0.5625 GB, free: 21.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6897, allocations: 0 / 0.5625 GB, free: 21.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005668/0.6903, allocations: 485.6 kB / 0.563 GB, free: 21.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007817/0.6911, allocations: 82.55 kB / 0.563 GB, free: 21.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.7023, allocations: 5.248 MB / 0.5682 GB, free: 18.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007334/0.7031, allocations: 0.8975 MB / 0.569 GB, free: 17.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008821/0.704, allocations: 113.2 kB / 0.5692 GB, free: 17.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004997/0.7045, allocations: 138.7 kB / 0.5693 GB, free: 17.74 MB / 378.7 MB Notification: Performance of SimCode: time 1.774e-06/0.7046, allocations: 0 / 0.5693 GB, free: 17.74 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04266/0.7472, allocations: 12.58 MB / 0.5816 GB, free: 13.31 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/0.7476, allocations: 221.6 kB / 0.5818 GB, free: 13.08 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.896/3.644, allocations: 0 / 0.5818 GB, free: 13.08 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat does not exist to compare? outputFormat=mat