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_laminar_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_laminar_KC,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_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.009845/0.009845, 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.17/2.17, allocations: 194.5 MB / 210.3 MB, free: 8.781 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.002059/0.002059, allocations: 120.6 kB / 255.6 MB, free: 11.4 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.2813/0.2813, allocations: 40.01 MB / 340.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004742/0.0004738, allocations: 13.53 kB / 406.3 MB, free: 52.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.106, allocations: 54.87 MB / 461.2 MB, free: 3.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5136/0.6196, allocations: 88.38 MB / 0.5367 GB, free: 27.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003419/0.62, allocations: 98.48 kB / 0.5368 GB, free: 27.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05156/0.6716, allocations: 11.73 MB / 0.5482 GB, free: 26.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.6716, allocations: 0 / 0.5482 GB, free: 26.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.192e-05/0.6717, allocations: 6.312 kB / 0.5482 GB, free: 26.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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001485/0.6732, allocations: 0.6229 MB / 0.5488 GB, free: 25.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.6732, allocations: 16.2 kB / 0.5488 GB, free: 25.75 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001673/0.6734, allocations: 94.09 kB / 0.5489 GB, free: 25.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.6736, allocations: 49.98 kB / 0.549 GB, free: 25.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005567/0.6741, allocations: 292.5 kB / 0.5493 GB, free: 25.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.708e-05/0.6742, allocations: 33.28 kB / 0.5493 GB, free: 25.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.6743, allocations: 52.94 kB / 0.5493 GB, free: 25.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.6761, allocations: 0.6394 MB / 0.55 GB, free: 25.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.6761, allocations: 0 / 0.55 GB, free: 25.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.953e-05/0.6762, allocations: 26.61 kB / 0.55 GB, free: 25.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.505e-05/0.6763, allocations: 39.12 kB / 0.55 GB, free: 25.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/0.6782, allocations: 0.7004 MB / 0.5507 GB, free: 25.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003251/0.6815, allocations: 1.382 MB / 0.5521 GB, free: 24.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.6827, allocations: 452 kB / 0.5525 GB, free: 24.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.075e-05/0.6828, allocations: 12.08 kB / 0.5525 GB, free: 24.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.6828, allocations: 38.58 kB / 0.5525 GB, free: 24.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 3.406e-06/0.6829, allocations: 0 / 0.5525 GB, free: 24.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001686/0.6845, allocations: 0.5384 MB / 0.5531 GB, free: 24.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.6846, allocations: 51.41 kB / 0.5531 GB, free: 24.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006737/0.6853, allocations: 448.4 kB / 0.5535 GB, free: 24.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.731e-05/0.6853, allocations: 33.45 kB / 0.5536 GB, free: 24.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.6855, allocations: 209.7 kB / 0.5538 GB, free: 24.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.782e-05/0.6856, allocations: 110.9 kB / 0.5539 GB, free: 24.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.6856, allocations: 3.562 kB / 0.5539 GB, free: 24.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.6858, allocations: 354.7 kB / 0.5542 GB, free: 24.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004925/0.6863, allocations: 152.4 kB / 0.5544 GB, free: 24.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005273/0.6868, allocations: 250.8 kB / 0.5546 GB, free: 23.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005492/0.6874, allocations: 202.2 kB / 0.5548 GB, free: 23.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.6874, allocations: 3.906 kB / 0.5548 GB, free: 23.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001317/0.6887, allocations: 497.2 kB / 0.5553 GB, free: 23.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.6887, allocations: 11.77 kB / 0.5553 GB, free: 23.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.6888, allocations: 3.906 kB / 0.5553 GB, free: 23.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/0.6888, allocations: 7.281 kB / 0.5553 GB, free: 23.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/0.6905, allocations: 196.2 kB / 0.5555 GB, free: 23.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004315/0.6948, allocations: 7.297 MB / 0.5626 GB, free: 32.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000656/0.6955, allocations: 53.64 kB / 0.5627 GB, free: 32.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.515e-05/0.6956, allocations: 22.64 kB / 0.5627 GB, free: 32.78 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.000408/0.696, allocations: 236.6 kB / 0.5629 GB, free: 32.64 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.992e-05/0.6961, allocations: 39.2 kB / 0.5629 GB, free: 32.61 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.6977, allocations: 0.5351 MB / 0.5635 GB, free: 32.54 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.6977, allocations: 3.906 kB / 0.5635 GB, free: 32.54 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6977, allocations: 0 / 0.5635 GB, free: 32.54 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.6977, allocations: 0 / 0.5635 GB, free: 32.54 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007055/0.6984, allocations: 407.2 kB / 0.5639 GB, free: 32.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.6984, allocations: 4 kB / 0.5639 GB, free: 32.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001561/0.7, allocations: 193.2 kB / 0.564 GB, free: 32.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.7, allocations: 11.83 kB / 0.5641 GB, free: 32.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.732e-05/0.7001, allocations: 10.98 kB / 0.5641 GB, free: 32.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004737/0.7048, allocations: 7.29 MB / 0.5712 GB, free: 25.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.7049, allocations: 0 / 0.5712 GB, free: 25.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.7062, allocations: 0.5057 MB / 0.5717 GB, free: 25.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/0.7064, allocations: 123.3 kB / 0.5718 GB, free: 24.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.772e-05/0.7065, allocations: 7.625 kB / 0.5718 GB, free: 24.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004019/0.7069, allocations: 18.69 kB / 0.5718 GB, free: 24.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.7071, allocations: 24.94 kB / 0.5719 GB, free: 24.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.7071, allocations: 11.09 kB / 0.5719 GB, free: 24.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005585/0.7077, allocations: 352.6 kB / 0.5722 GB, free: 24.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7077, allocations: 0 / 0.5722 GB, free: 24.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007605/0.7085, allocations: 137.2 kB / 0.5723 GB, free: 24.88 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.0018/0.7103, allocations: 1.114 MB / 0.5734 GB, free: 24.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002207/0.7125, allocations: 498.5 kB / 0.5739 GB, free: 24.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.7125, allocations: 3.938 kB / 0.5739 GB, free: 24.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001575/0.7141, allocations: 306.2 kB / 0.5742 GB, free: 24.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007403/0.7149, allocations: 102.5 kB / 0.5743 GB, free: 24.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00672/0.7216, allocations: 4.777 MB / 0.579 GB, free: 21.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005619/0.7222, allocations: 0.8928 MB / 0.5798 GB, free: 20.69 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005356/0.7228, allocations: 134.9 kB / 0.58 GB, free: 20.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002276/0.723, allocations: 126.6 kB / 0.5801 GB, free: 20.66 MB / 394.7 MB Notification: Performance of SimCode: time 1.162e-06/0.723, allocations: 0 / 0.5801 GB, free: 20.66 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04404/0.7671, allocations: 12.88 MB / 0.5927 GB, free: 16.58 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002912/0.7675, allocations: 255.6 kB / 0.5929 GB, free: 16.24 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.015/3.782, allocations: 0 / 0.5929 GB, free: 16.24 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_laminar_KC_res.mat does not exist to compare? outputFormat=mat