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_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",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.01408/0.01408, allocations: 174.9 kB / 15.12 MB, free: 5.98 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 2.202/2.202, allocations: 194.5 MB / 210.3 MB, free: 7.602 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.002113/0.002113, allocations: 124.6 kB / 255.6 MB, free: 10.23 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.3167/0.3167, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006463/0.0006465, allocations: 16.92 kB / 406.3 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09866/0.09936, allocations: 54.88 MB / 461.2 MB, free: 3.191 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4906/0.5901, allocations: 88.37 MB / 0.5367 GB, free: 27.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005172/0.5907, allocations: 94.33 kB / 0.5367 GB, free: 27.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08311/0.6738, allocations: 14.04 MB / 0.5505 GB, free: 25.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.6738, allocations: 0 / 0.5505 GB, free: 25.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.086e-05/0.6739, allocations: 7.156 kB / 0.5505 GB, free: 25.64 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001548/0.6754, allocations: 0.6466 MB / 0.5511 GB, free: 25.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.6755, allocations: 10.47 kB / 0.5511 GB, free: 25.14 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002013/0.6757, allocations: 108.2 kB / 0.5512 GB, free: 25.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.6759, allocations: 60.22 kB / 0.5513 GB, free: 25.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005594/0.6764, allocations: 298.2 kB / 0.5515 GB, free: 24.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.491e-05/0.6765, allocations: 37.19 kB / 0.5516 GB, free: 24.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.6766, allocations: 51.08 kB / 0.5516 GB, free: 24.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.6784, allocations: 0.6927 MB / 0.5523 GB, free: 24.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.6784, allocations: 3.938 kB / 0.5523 GB, free: 24.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.815e-05/0.6785, allocations: 22.28 kB / 0.5523 GB, free: 24.76 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.277e-05/0.6786, allocations: 43.31 kB / 0.5524 GB, free: 24.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/0.6804, allocations: 0.7467 MB / 0.5531 GB, free: 24.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003258/0.6837, allocations: 1.463 MB / 0.5545 GB, free: 24.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.6849, allocations: 451.5 kB / 0.555 GB, free: 24.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.854e-05/0.685, allocations: 19.14 kB / 0.555 GB, free: 24.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.685, allocations: 30.8 kB / 0.555 GB, free: 24.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 3.116e-06/0.685, allocations: 0 / 0.555 GB, free: 24.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001814/0.6868, allocations: 0.549 MB / 0.5555 GB, free: 24.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.6869, allocations: 55.34 kB / 0.5556 GB, free: 24.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007743/0.6877, allocations: 485.4 kB / 0.5561 GB, free: 23.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.636e-05/0.6877, allocations: 29.27 kB / 0.5561 GB, free: 23.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.6879, allocations: 232.7 kB / 0.5563 GB, free: 23.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.688, allocations: 103.4 kB / 0.5564 GB, free: 23.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.6881, allocations: 3.375 kB / 0.5564 GB, free: 23.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.6882, allocations: 366.5 kB / 0.5568 GB, free: 23.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005002/0.6887, allocations: 157.2 kB / 0.5569 GB, free: 23.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000529/0.6893, allocations: 247.9 kB / 0.5572 GB, free: 23.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005692/0.6898, allocations: 202.1 kB / 0.5573 GB, free: 23.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.6899, allocations: 7.938 kB / 0.5574 GB, free: 23.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00143/0.6913, allocations: 0.4954 MB / 0.5578 GB, free: 23.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.6913, allocations: 7.812 kB / 0.5578 GB, free: 23.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.6914, allocations: 3.875 kB / 0.5578 GB, free: 23.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.6914, allocations: 7.812 kB / 0.5579 GB, free: 23.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001915/0.6933, allocations: 206.3 kB / 0.5581 GB, free: 23.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004648/0.698, allocations: 7.316 MB / 0.5652 GB, free: 32.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007186/0.6988, allocations: 65.06 kB / 0.5653 GB, free: 32.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-05/0.6989, allocations: 19.05 kB / 0.5653 GB, free: 32.11 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004467/0.6993, allocations: 233.1 kB / 0.5655 GB, free: 31.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.6994, allocations: 42.88 kB / 0.5655 GB, free: 31.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001668/0.7011, allocations: 0.5475 MB / 0.5661 GB, free: 31.88 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.7012, allocations: 7.875 kB / 0.5661 GB, free: 31.87 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.7012, allocations: 0 / 0.5661 GB, free: 31.87 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.7012, allocations: 3.047 kB / 0.5661 GB, free: 31.87 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008603/0.7021, allocations: 423.1 kB / 0.5665 GB, free: 31.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.7021, allocations: 0 / 0.5665 GB, free: 31.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001936/0.704, allocations: 203.2 kB / 0.5667 GB, free: 31.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.7041, allocations: 0 / 0.5667 GB, free: 31.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.371e-05/0.7042, allocations: 11.3 kB / 0.5667 GB, free: 31.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005219/0.7094, allocations: 7.31 MB / 0.5738 GB, free: 24.61 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.7094, allocations: 3.906 kB / 0.5738 GB, free: 24.61 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.7108, allocations: 0.5159 MB / 0.5743 GB, free: 24.44 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/0.711, allocations: 123.4 kB / 0.5745 GB, free: 24.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.7111, allocations: 11.25 kB / 0.5745 GB, free: 24.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004121/0.7116, allocations: 18.73 kB / 0.5745 GB, free: 24.31 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.7117, allocations: 21.95 kB / 0.5745 GB, free: 24.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-05/0.7117, allocations: 14.61 kB / 0.5745 GB, free: 24.31 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006277/0.7124, allocations: 386.2 kB / 0.5749 GB, free: 24.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7124, allocations: 0 / 0.5749 GB, free: 24.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007734/0.7132, allocations: 143.8 kB / 0.575 GB, free: 24.21 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001975/0.7152, allocations: 1.133 MB / 0.5761 GB, free: 23.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00255/0.7178, allocations: 0.4909 MB / 0.5766 GB, free: 23.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.7178, allocations: 0 / 0.5766 GB, free: 23.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001898/0.7197, allocations: 305.2 kB / 0.5769 GB, free: 23.46 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007983/0.7206, allocations: 84.62 kB / 0.577 GB, free: 23.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00781/0.7284, allocations: 5.021 MB / 0.5819 GB, free: 20.69 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005795/0.7291, allocations: 0.9093 MB / 0.5828 GB, free: 19.99 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005173/0.7296, allocations: 123.5 kB / 0.5829 GB, free: 19.97 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/0.7299, allocations: 138.2 kB / 0.583 GB, free: 19.96 MB / 394.7 MB Notification: Performance of SimCode: time 1.502e-06/0.7299, allocations: 0 / 0.583 GB, free: 19.96 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04708/0.777, allocations: 12.76 MB / 0.5955 GB, free: 15.12 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002794/0.7773, allocations: 257.9 kB / 0.5957 GB, free: 14.78 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.182/3.959, allocations: 0 / 0.5957 GB, free: 14.78 MB / 394.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_KC_res.mat does not exist to compare? outputFormat=mat