Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",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.01035/0.01035, allocations: 173.3 kB / 15.12 MB, free: 5.93 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.258/2.258, allocations: 194.5 MB / 210.3 MB, free: 7.617 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: 116.7 kB / 255.6 MB, free: 10.24 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.3056/0.3056, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000496/0.0004961, allocations: 10.56 kB / 406.3 MB, free: 51.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1175, allocations: 54.87 MB / 461.2 MB, free: 3.191 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5268/0.6444, allocations: 96.11 MB / 0.5442 GB, free: 21.65 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003986/0.6448, allocations: 100.2 kB / 0.5443 GB, free: 21.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06291/0.7078, allocations: 12.34 MB / 0.5564 GB, free: 20.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.115e-06/0.7078, allocations: 0 / 0.5564 GB, free: 20.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.054e-05/0.7079, allocations: 3.875 kB / 0.5564 GB, free: 20.61 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001357/0.7092, allocations: 0.6101 MB / 0.557 GB, free: 20.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.7093, allocations: 15.44 kB / 0.557 GB, free: 20.11 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001109/0.7094, allocations: 73.22 kB / 0.557 GB, free: 20.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.7096, allocations: 38.56 kB / 0.5571 GB, free: 20.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.71, allocations: 240 kB / 0.5573 GB, free: 19.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/0.71, allocations: 22.94 kB / 0.5573 GB, free: 19.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.995e-05/0.7101, allocations: 34.12 kB / 0.5574 GB, free: 19.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.7112, allocations: 366.2 kB / 0.5577 GB, free: 19.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.7112, allocations: 4 kB / 0.5577 GB, free: 19.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.595e-05/0.7113, allocations: 14.5 kB / 0.5577 GB, free: 19.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.7113, allocations: 7.688 kB / 0.5577 GB, free: 19.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009579/0.7123, allocations: 270.2 kB / 0.558 GB, free: 19.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.7146, allocations: 0.8982 MB / 0.5589 GB, free: 19.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004649/0.7151, allocations: 95.55 kB / 0.559 GB, free: 19.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.011e-05/0.7152, allocations: 3.375 kB / 0.559 GB, free: 19.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.7152, allocations: 38.41 kB / 0.559 GB, free: 19.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 3.456e-06/0.7153, allocations: 0 / 0.559 GB, free: 19.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.001258/0.7165, allocations: 0.5086 MB / 0.5595 GB, free: 18.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.7166, allocations: 55.36 kB / 0.5595 GB, free: 18.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006222/0.7172, allocations: 354.2 kB / 0.5599 GB, free: 18.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.7173, allocations: 25.7 kB / 0.5599 GB, free: 18.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.7175, allocations: 245.2 kB / 0.5601 GB, free: 18.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.12e-05/0.7176, allocations: 33.73 kB / 0.5602 GB, free: 18.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.7176, allocations: 7.312 kB / 0.5602 GB, free: 18.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.7177, allocations: 346.1 kB / 0.5605 GB, free: 18.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.7181, allocations: 66.86 kB / 0.5606 GB, free: 18.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004886/0.7186, allocations: 266 kB / 0.5608 GB, free: 17.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004408/0.7191, allocations: 103.5 kB / 0.5609 GB, free: 17.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.7191, allocations: 3.875 kB / 0.5609 GB, free: 17.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001231/0.7204, allocations: 352.2 kB / 0.5613 GB, free: 17.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.7204, allocations: 7.438 kB / 0.5613 GB, free: 17.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.01e-05/0.7205, allocations: 26.2 kB / 0.5613 GB, free: 17.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/0.7206, allocations: 11.72 kB / 0.5613 GB, free: 17.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000396/0.721, allocations: 56.89 kB / 0.5614 GB, free: 17.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.042e-05/0.721, allocations: 11.78 kB / 0.5614 GB, free: 17.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005532/0.7216, allocations: 80.47 kB / 0.5615 GB, free: 17.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.088e-05/0.7216, allocations: 19.16 kB / 0.5615 GB, free: 17.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002252/0.7219, allocations: 150.2 kB / 0.5616 GB, free: 17.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.584e-05/0.722, allocations: 34.38 kB / 0.5616 GB, free: 17.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.7231, allocations: 225.6 kB / 0.5619 GB, free: 17.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-06/0.7231, allocations: 0 / 0.5619 GB, free: 17.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.7231, allocations: 3.906 kB / 0.5619 GB, free: 17.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.7231, allocations: 0 / 0.5619 GB, free: 17.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005359/0.7237, allocations: 281.8 kB / 0.5621 GB, free: 17.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-05/0.7238, allocations: 20.25 kB / 0.5622 GB, free: 17.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.7239, allocations: 13.89 kB / 0.5622 GB, free: 17.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.7239, allocations: 0 / 0.5622 GB, free: 17.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.724, allocations: 4.656 kB / 0.5622 GB, free: 17.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.724, allocations: 0.7031 kB / 0.5622 GB, free: 17.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.724, allocations: 1.469 kB / 0.5622 GB, free: 17.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007938/0.7248, allocations: 267.7 kB / 0.5624 GB, free: 17.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.725, allocations: 108.2 kB / 0.5625 GB, free: 17.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.886e-05/0.7251, allocations: 1.688 kB / 0.5625 GB, free: 17.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003284/0.7254, allocations: 9.672 kB / 0.5625 GB, free: 17.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.385e-05/0.7255, allocations: 5.5 kB / 0.5626 GB, free: 17.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/0.7256, allocations: 7.641 kB / 0.5626 GB, free: 17.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005181/0.7261, allocations: 269.2 kB / 0.5628 GB, free: 16.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7261, allocations: 0 / 0.5628 GB, free: 16.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001362/0.7275, allocations: 147.4 kB / 0.563 GB, free: 16.96 MB / 378.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 (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001908/0.7294, allocations: 0.9714 MB / 0.5639 GB, free: 16.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001257/0.7307, allocations: 330.7 kB / 0.5642 GB, free: 16.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.7307, allocations: 0 / 0.5642 GB, free: 16.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005954/0.7313, allocations: 187.2 kB / 0.5644 GB, free: 15.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005739/0.7319, allocations: 35.06 kB / 0.5644 GB, free: 15.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007063/0.739, allocations: 6.377 MB / 0.5707 GB, free: 26.64 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/0.7396, allocations: 0.7878 MB / 0.5714 GB, free: 25.94 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000241/0.7398, allocations: 38.14 kB / 0.5715 GB, free: 25.92 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.74, allocations: 108.7 kB / 0.5716 GB, free: 25.91 MB / 394.7 MB Notification: Performance of SimCode: time 1.694e-06/0.7401, allocations: 0 / 0.5716 GB, free: 25.91 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05952/0.7996, allocations: 11.95 MB / 0.5832 GB, free: 21.5 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003335/0.8, allocations: 255.3 kB / 0.5835 GB, free: 21.17 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.345/4.145, allocations: 0 / 0.5835 GB, free: 21.17 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat does not exist to compare? outputFormat=mat