Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009654/0.009654, allocations: 165.6 kB / 15.11 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.789/1.789, allocations: 170.8 MB / 186.6 MB, free: 1.125 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002854/0.002854, allocations: 115 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5196/0.5196, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004936/0.0004938, allocations: 16 kB / 363 MB, free: 5.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1042, allocations: 48.7 MB / 411.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4053/0.5095, allocations: 78.58 MB / 490.3 MB, free: 9.168 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/0.5099, allocations: 98.3 kB / 490.4 MB, free: 9.109 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02834/0.5383, allocations: 6.682 MB / 497.1 MB, free: 3.426 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5383, allocations: 0 / 497.1 MB, free: 3.426 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.5383, allocations: 4 kB / 497.1 MB, free: 3.422 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006591/0.539, allocations: 437.6 kB / 497.5 MB, free: 2.961 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.5391, allocations: 12.03 kB / 497.5 MB, free: 2.949 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.254e-05/0.5391, allocations: 46.3 kB / 497.6 MB, free: 2.898 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.5392, allocations: 11.81 kB / 497.6 MB, free: 2.887 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.5394, allocations: 207.4 kB / 497.8 MB, free: 2.652 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.5394, allocations: 7.875 kB / 497.8 MB, free: 2.648 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.5395, allocations: 10.62 kB / 497.8 MB, free: 2.641 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000497/0.54, allocations: 180.8 kB / 498 MB, free: 2.492 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.54, allocations: 0 / 498 MB, free: 2.492 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.54, allocations: 7.312 kB / 498 MB, free: 2.488 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.5401, allocations: 11.98 kB / 498 MB, free: 2.477 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005496/0.5407, allocations: 182.6 kB / 498.2 MB, free: 2.336 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.5417, allocations: 491.2 kB / 498.6 MB, free: 1.852 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005915/0.5423, allocations: 167.9 kB / 498.8 MB, free: 1.695 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.648e-05/0.5424, allocations: 4 kB / 498.8 MB, free: 1.691 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.5424, allocations: 30.56 kB / 498.8 MB, free: 1.652 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.274e-06/0.5424, allocations: 0 / 498.8 MB, free: 1.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008362/0.5433, allocations: 217.5 kB / 499 MB, free: 1.453 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.5433, allocations: 51.41 kB / 499.1 MB, free: 1.391 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.5435, allocations: 177.9 kB / 499.3 MB, free: 1.223 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.5436, allocations: 28.89 kB / 499.3 MB, free: 1.191 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/0.5436, allocations: 114 kB / 499.4 MB, free: 1.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.5437, allocations: 31.05 kB / 499.4 MB, free: 1.062 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.442e-05/0.5437, allocations: 3.562 kB / 499.4 MB, free: 1.062 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.819e-05/0.5438, allocations: 322.3 kB / 499.8 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.544, allocations: 58.64 kB / 499.8 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.5443, allocations: 73.14 kB / 499.9 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.5445, allocations: 70.08 kB / 500 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5445, allocations: 0 / 500 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006096/0.5452, allocations: 182.8 kB / 0.4884 GB, free: 400 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.5452, allocations: 4 kB / 0.4884 GB, free: 396 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.5452, allocations: 4.469 kB / 0.4884 GB, free: 392 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.5452, allocations: 0 / 0.4884 GB, free: 392 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004682/0.5457, allocations: 51.89 kB / 0.4885 GB, free: 340 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008604/0.5466, allocations: 1.214 MB / 0.4897 GB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.5468, allocations: 23.92 kB / 0.4897 GB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.5469, allocations: 12.09 kB / 0.4897 GB, free: 15.05 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001896/0.5471, allocations: 138.2 kB / 0.4898 GB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.5471, allocations: 7.906 kB / 0.4898 GB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007235/0.5479, allocations: 204.2 kB / 0.49 GB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.5479, allocations: 3.953 kB / 0.49 GB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.5479, allocations: 0 / 0.49 GB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.5479, allocations: 11.91 kB / 0.49 GB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003632/0.5483, allocations: 216.7 kB / 0.4902 GB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5483, allocations: 4 kB / 0.4903 GB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004679/0.5488, allocations: 47.95 kB / 0.4903 GB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.5488, allocations: 0 / 0.4903 GB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.5488, allocations: 7.188 kB / 0.4903 GB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008482/0.5497, allocations: 1.221 MB / 0.4915 GB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.5497, allocations: 0 / 0.4915 GB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006327/0.5504, allocations: 264.2 kB / 0.4917 GB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.799e-05/0.5505, allocations: 89 kB / 0.4918 GB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/0.5505, allocations: 0 / 0.4918 GB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.5507, allocations: 11.25 kB / 0.4918 GB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.5508, allocations: 7.984 kB / 0.4919 GB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.5508, allocations: 4 kB / 0.4919 GB, free: 12.78 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001919/0.551, allocations: 150.7 kB / 0.492 GB, free: 12.65 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5511, allocations: 0 / 0.492 GB, free: 12.65 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000431/0.5515, allocations: 47.12 kB / 0.492 GB, free: 12.61 MB / 346.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001147/0.5527, allocations: 0.8448 MB / 0.4929 GB, free: 11.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008776/0.5536, allocations: 149.2 kB / 0.493 GB, free: 11.62 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5536, allocations: 0 / 0.493 GB, free: 11.62 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004844/0.5541, allocations: 87.05 kB / 0.4931 GB, free: 11.54 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.5545, allocations: 25.66 kB / 0.4931 GB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/0.5573, allocations: 1.397 MB / 0.4945 GB, free: 10.19 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.5577, allocations: 0.7318 MB / 0.4952 GB, free: 9.434 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001944/0.5579, allocations: 36.98 kB / 0.4952 GB, free: 9.398 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.558, allocations: 40.86 kB / 0.4953 GB, free: 9.379 MB / 346.7 MB Notification: Performance of SimCode: time 1.372e-06/0.5581, allocations: 0 / 0.4953 GB, free: 9.379 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03057/0.5886, allocations: 4.226 MB / 0.4994 GB, free: 5.285 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002607/0.589, allocations: 260.1 kB / 0.4996 GB, free: 4.945 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.715/3.304, allocations: 7.938 kB / 0.4997 GB, free: 4.938 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat does not exist to compare? outputFormat=mat