Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_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.01466/0.01467, 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 2.175/2.175, allocations: 194.5 MB / 210.3 MB, free: 7.605 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.001994/0.001994, allocations: 120.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.2581/0.2581, allocations: 39.99 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004832/0.0004832, allocations: 10.41 kB / 406.3 MB, free: 51.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09929/0.09981, allocations: 54.88 MB / 461.2 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4917/0.5915, allocations: 85.7 MB / 0.534 GB, free: 26.53 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00041/0.592, allocations: 99.09 kB / 0.5341 GB, free: 26.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05304/0.6451, allocations: 11.85 MB / 0.5457 GB, free: 25.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.6451, allocations: 1.312 kB / 0.5457 GB, free: 25.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.6451, allocations: 3.375 kB / 0.5457 GB, free: 25.25 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0008805/0.646, allocations: 0.5111 MB / 0.5462 GB, free: 24.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.6461, allocations: 14.28 kB / 0.5462 GB, free: 24.82 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.305e-05/0.6462, allocations: 61.09 kB / 0.5463 GB, free: 24.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.097e-05/0.6463, allocations: 30.2 kB / 0.5463 GB, free: 24.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.6466, allocations: 235.5 kB / 0.5465 GB, free: 24.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.6466, allocations: 17.09 kB / 0.5466 GB, free: 24.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.876e-05/0.6467, allocations: 31.59 kB / 0.5466 GB, free: 24.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008843/0.6476, allocations: 364.6 kB / 0.5469 GB, free: 24.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.6476, allocations: 4 kB / 0.5469 GB, free: 24.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/0.6477, allocations: 13.55 kB / 0.5469 GB, free: 24.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.917e-05/0.6477, allocations: 25.02 kB / 0.547 GB, free: 24.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009909/0.6487, allocations: 376.5 kB / 0.5473 GB, free: 24.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.6507, allocations: 0.8529 MB / 0.5482 GB, free: 24.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007535/0.6515, allocations: 267.4 kB / 0.5484 GB, free: 24.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.347e-05/0.6516, allocations: 2.406 kB / 0.5484 GB, free: 24.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.6516, allocations: 43.77 kB / 0.5485 GB, free: 24.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 2.255e-06/0.6516, allocations: 0 / 0.5485 GB, free: 24.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001223/0.6528, allocations: 340.8 kB / 0.5488 GB, free: 24.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.6529, allocations: 57.5 kB / 0.5488 GB, free: 23.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004853/0.6534, allocations: 306.5 kB / 0.5491 GB, free: 23.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.6534, allocations: 29.02 kB / 0.5492 GB, free: 23.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.6535, allocations: 168.2 kB / 0.5493 GB, free: 23.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.687e-05/0.6536, allocations: 58.12 kB / 0.5494 GB, free: 23.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.6536, allocations: 7.25 kB / 0.5494 GB, free: 23.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.262e-05/0.6537, allocations: 346 kB / 0.5497 GB, free: 23.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.6541, allocations: 98.28 kB / 0.5498 GB, free: 23.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003911/0.6545, allocations: 189.6 kB / 0.55 GB, free: 23.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004316/0.655, allocations: 125.4 kB / 0.5501 GB, free: 23.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.655, allocations: 1.594 kB / 0.5501 GB, free: 23.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001027/0.656, allocations: 355.5 kB / 0.5505 GB, free: 23.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.6561, allocations: 6.031 kB / 0.5505 GB, free: 23.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.6561, allocations: 3.375 kB / 0.5505 GB, free: 23.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.6561, allocations: 12.89 kB / 0.5505 GB, free: 23.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.6571, allocations: 122.4 kB / 0.5506 GB, free: 23.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/0.6589, allocations: 3.652 MB / 0.5542 GB, free: 19.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003956/0.6593, allocations: 34.33 kB / 0.5542 GB, free: 19.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.6594, allocations: 15.12 kB / 0.5542 GB, free: 19.6 MB / 378.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: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002865/0.6597, allocations: 186.3 kB / 0.5544 GB, free: 19.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-05/0.6598, allocations: 26.97 kB / 0.5544 GB, free: 19.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.6609, allocations: 331 kB / 0.5547 GB, free: 19.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.6609, allocations: 1.719 kB / 0.5547 GB, free: 19.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6609, allocations: 4 kB / 0.5547 GB, free: 19.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.6609, allocations: 0 / 0.5547 GB, free: 19.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.662, allocations: 301 kB / 0.555 GB, free: 35.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.6621, allocations: 1.469 kB / 0.555 GB, free: 35.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000888/0.663, allocations: 107 kB / 0.5551 GB, free: 35.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.453e-06/0.663, allocations: 0 / 0.5551 GB, free: 35.19 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.663, allocations: 7.672 kB / 0.5551 GB, free: 35.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002413/0.6654, allocations: 3.652 MB / 0.5587 GB, free: 31.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.6655, allocations: 3.938 kB / 0.5587 GB, free: 31.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008509/0.6663, allocations: 361.6 kB / 0.559 GB, free: 31.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.6665, allocations: 104.3 kB / 0.5591 GB, free: 31.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.558e-05/0.6665, allocations: 5.969 kB / 0.5591 GB, free: 31.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/0.6668, allocations: 18.33 kB / 0.5592 GB, free: 31.39 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.64e-05/0.6669, allocations: 9.031 kB / 0.5592 GB, free: 31.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.667, allocations: 11.28 kB / 0.5592 GB, free: 31.39 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003689/0.6673, allocations: 242.5 kB / 0.5594 GB, free: 31.31 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.733e-06/0.6674, allocations: 0 / 0.5594 GB, free: 31.31 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005594/0.6679, allocations: 80.97 kB / 0.5595 GB, free: 31.3 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001289/0.6692, allocations: 0.9459 MB / 0.5604 GB, free: 30.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001422/0.6707, allocations: 307.8 kB / 0.5607 GB, free: 30.58 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6707, allocations: 0 / 0.5607 GB, free: 30.58 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008984/0.6716, allocations: 168.8 kB / 0.5609 GB, free: 30.58 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004788/0.6721, allocations: 75.25 kB / 0.5609 GB, free: 30.56 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.6764, allocations: 3.71 MB / 0.5646 GB, free: 28.06 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.6769, allocations: 0.8031 MB / 0.5653 GB, free: 27.36 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003372/0.6772, allocations: 77.22 kB / 0.5654 GB, free: 27.35 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.6774, allocations: 76.56 kB / 0.5655 GB, free: 27.34 MB / 394.7 MB Notification: Performance of SimCode: time 1.413e-06/0.6774, allocations: 3.938 kB / 0.5655 GB, free: 27.34 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0333/0.7107, allocations: 7.944 MB / 0.5733 GB, free: 26.59 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002658/0.711, allocations: 253.9 kB / 0.5735 GB, free: 26.26 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.978/3.689, allocations: 0 / 0.5735 GB, free: 26.26 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat