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.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,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",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.009558/0.009558, allocations: 175.9 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.201/2.201, allocations: 194.5 MB / 210.3 MB, free: 8.586 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.002043/0.002042, allocations: 120.6 kB / 255.6 MB, free: 11.21 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.2595/0.2595, allocations: 40 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005084/0.0005084, allocations: 14.16 kB / 406.3 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1037, allocations: 54.87 MB / 461.2 MB, free: 3.301 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4887/0.5924, allocations: 87.65 MB / 0.536 GB, free: 27.88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004752/0.593, allocations: 98.7 kB / 0.536 GB, free: 27.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06983/0.6628, allocations: 13.35 MB / 0.5491 GB, free: 26.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.6629, allocations: 1.5 kB / 0.5491 GB, free: 26.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.6629, allocations: 3.469 kB / 0.5491 GB, free: 26.21 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001243/0.6642, allocations: 0.5824 MB / 0.5497 GB, free: 25.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.6642, allocations: 8.531 kB / 0.5497 GB, free: 25.74 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001226/0.6644, allocations: 70.11 kB / 0.5497 GB, free: 25.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.499e-05/0.6645, allocations: 38.19 kB / 0.5498 GB, free: 25.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.6649, allocations: 249.1 kB / 0.55 GB, free: 25.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.6649, allocations: 22.19 kB / 0.55 GB, free: 25.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.421e-05/0.665, allocations: 24.12 kB / 0.5501 GB, free: 25.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.6663, allocations: 439.9 kB / 0.5505 GB, free: 25.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.6663, allocations: 3.953 kB / 0.5505 GB, free: 25.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.102e-05/0.6664, allocations: 9.562 kB / 0.5505 GB, free: 25.37 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.491e-05/0.6664, allocations: 17.84 kB / 0.5505 GB, free: 25.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.6677, allocations: 348 kB / 0.5508 GB, free: 25.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.67, allocations: 1.11 MB / 0.5519 GB, free: 24.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000868/0.6709, allocations: 263.2 kB / 0.5522 GB, free: 24.67 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.105e-05/0.671, allocations: 11.89 kB / 0.5522 GB, free: 24.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.671, allocations: 38.34 kB / 0.5522 GB, free: 24.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 3.417e-06/0.671, allocations: 0 / 0.5522 GB, free: 24.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.001807/0.6728, allocations: 0.6189 MB / 0.5528 GB, free: 24.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.6729, allocations: 102.8 kB / 0.5529 GB, free: 24.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005677/0.6735, allocations: 360.3 kB / 0.5533 GB, free: 24.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.6736, allocations: 33.5 kB / 0.5533 GB, free: 24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.6737, allocations: 195.4 kB / 0.5535 GB, free: 23.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.694e-05/0.6738, allocations: 50.12 kB / 0.5535 GB, free: 23.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.6738, allocations: 3.781 kB / 0.5535 GB, free: 23.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.845e-05/0.6739, allocations: 350.1 kB / 0.5539 GB, free: 23.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005075/0.6744, allocations: 130.8 kB / 0.554 GB, free: 23.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005598/0.675, allocations: 242 kB / 0.5542 GB, free: 23.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005655/0.6756, allocations: 161.1 kB / 0.5544 GB, free: 23.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.6756, allocations: 0 / 0.5544 GB, free: 23.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001436/0.677, allocations: 425.9 kB / 0.5548 GB, free: 23.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.6771, allocations: 7 kB / 0.5548 GB, free: 23.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-05/0.6772, allocations: 23.09 kB / 0.5548 GB, free: 23.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.6772, allocations: 3.906 kB / 0.5548 GB, free: 23.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004265/0.6776, allocations: 61.84 kB / 0.5549 GB, free: 23.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.6777, allocations: 11.23 kB / 0.5549 GB, free: 23.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005106/0.6782, allocations: 60.91 kB / 0.5549 GB, free: 23.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.445e-05/0.6783, allocations: 15.75 kB / 0.555 GB, free: 23.25 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0002616/0.6785, allocations: 169.1 kB / 0.5551 GB, free: 23.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.6786, allocations: 30.92 kB / 0.5551 GB, free: 23.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009667/0.6796, allocations: 301.4 kB / 0.5554 GB, free: 23.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.6796, allocations: 3.812 kB / 0.5554 GB, free: 23.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.6797, allocations: 3.953 kB / 0.5554 GB, free: 23.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.6797, allocations: 3.609 kB / 0.5554 GB, free: 23.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006637/0.6804, allocations: 301.7 kB / 0.5557 GB, free: 22.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.727e-05/0.6804, allocations: 18.83 kB / 0.5558 GB, free: 22.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/0.6807, allocations: 29.08 kB / 0.5558 GB, free: 22.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.6807, allocations: 3.906 kB / 0.5558 GB, free: 22.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.6808, allocations: 11.47 kB / 0.5558 GB, free: 22.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.6808, allocations: 0 / 0.5558 GB, free: 22.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.6808, allocations: 0 / 0.5558 GB, free: 22.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.682, allocations: 0.5548 MB / 0.5563 GB, free: 22.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.6821, allocations: 111.5 kB / 0.5564 GB, free: 22.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.898e-05/0.6822, allocations: 7.859 kB / 0.5565 GB, free: 22.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004357/0.6827, allocations: 25.84 kB / 0.5565 GB, free: 22.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.324e-05/0.6828, allocations: 17.95 kB / 0.5565 GB, free: 22.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/0.6828, allocations: 7.812 kB / 0.5565 GB, free: 22.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004125/0.6832, allocations: 297.1 kB / 0.5568 GB, free: 22.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6832, allocations: 0 / 0.5568 GB, free: 22.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007812/0.684, allocations: 93.72 kB / 0.5569 GB, free: 22.28 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001732/0.6858, allocations: 1.326 MB / 0.5582 GB, free: 21.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.687, allocations: 444 kB / 0.5586 GB, free: 21.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6871, allocations: 0 / 0.5586 GB, free: 21.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005623/0.6876, allocations: 294.4 kB / 0.5589 GB, free: 20.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006945/0.6883, allocations: 61.02 kB / 0.5589 GB, free: 20.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006086/0.6944, allocations: 4.729 MB / 0.5635 GB, free: 33.49 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004569/0.695, allocations: 0.8031 MB / 0.5643 GB, free: 32.79 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003397/0.6953, allocations: 64.97 kB / 0.5644 GB, free: 32.79 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.6955, allocations: 81.39 kB / 0.5645 GB, free: 32.78 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6955, allocations: 0 / 0.5645 GB, free: 32.78 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0319/0.7274, allocations: 8.532 MB / 0.5728 GB, free: 31.91 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003033/0.7278, allocations: 218 kB / 0.573 GB, free: 31.67 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.678/3.406, allocations: 0 / 0.573 GB, free: 31.67 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_res.mat does not exist to compare? outputFormat=mat