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_overall.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_overall,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",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.01432/0.01432, allocations: 176 kB / 15.12 MB, free: 5.98 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.178/2.178, allocations: 194.5 MB / 210.3 MB, free: 7.609 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.002049/0.002049, allocations: 128.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.2693/0.2693, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004628/0.0004628, allocations: 14.84 kB / 406.3 MB, free: 51.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1045, allocations: 54.88 MB / 461.2 MB, free: 3.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5001/0.6047, allocations: 94.2 MB / 0.5423 GB, free: 21.74 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003839/0.6051, allocations: 97.02 kB / 0.5424 GB, free: 21.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1024/0.7076, allocations: 24.03 MB / 0.5659 GB, free: 18.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.7076, allocations: 4 kB / 0.5659 GB, free: 18.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.817e-05/0.7076, allocations: 7.719 kB / 0.5659 GB, free: 18.58 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001634/0.7093, allocations: 0.7614 MB / 0.5667 GB, free: 17.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.7094, allocations: 15.62 kB / 0.5667 GB, free: 17.97 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00017/0.7095, allocations: 105 kB / 0.5668 GB, free: 17.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.7097, allocations: 58.38 kB / 0.5668 GB, free: 17.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005221/0.7102, allocations: 306.8 kB / 0.5671 GB, free: 17.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.925e-05/0.7103, allocations: 38.59 kB / 0.5672 GB, free: 17.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.7104, allocations: 52.22 kB / 0.5672 GB, free: 17.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/0.7122, allocations: 0.7816 MB / 0.568 GB, free: 17.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/0.7123, allocations: 3.953 kB / 0.568 GB, free: 17.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.329e-05/0.7123, allocations: 21.5 kB / 0.568 GB, free: 17.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.469e-05/0.7124, allocations: 27.88 kB / 0.568 GB, free: 17.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.7141, allocations: 0.5793 MB / 0.5686 GB, free: 17.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003625/0.7177, allocations: 1.692 MB / 0.5702 GB, free: 16.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009344/0.7187, allocations: 314.8 kB / 0.5705 GB, free: 16.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.55e-05/0.7188, allocations: 15.14 kB / 0.5706 GB, free: 16.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.7189, allocations: 38.17 kB / 0.5706 GB, free: 16.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 3.747e-06/0.7189, allocations: 0 / 0.5706 GB, free: 16.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.002223/0.7211, allocations: 0.7649 MB / 0.5713 GB, free: 15.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.7212, allocations: 106.8 kB / 0.5714 GB, free: 15.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009817/0.7222, allocations: 0.5672 MB / 0.572 GB, free: 15.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.877e-05/0.7223, allocations: 36.92 kB / 0.572 GB, free: 15.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/0.7225, allocations: 279.5 kB / 0.5723 GB, free: 15.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.463e-05/0.7226, allocations: 85.06 kB / 0.5724 GB, free: 14.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/0.7227, allocations: 11.12 kB / 0.5724 GB, free: 14.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.7228, allocations: 363.2 kB / 0.5727 GB, free: 14.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007649/0.7236, allocations: 201.5 kB / 0.5729 GB, free: 14.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008412/0.7244, allocations: 479.9 kB / 0.5734 GB, free: 14.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008505/0.7253, allocations: 278.7 kB / 0.5737 GB, free: 14.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.7253, allocations: 3.875 kB / 0.5737 GB, free: 14.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00213/0.7275, allocations: 0.7122 MB / 0.5744 GB, free: 13.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.905e-05/0.7276, allocations: 11.62 kB / 0.5744 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001524/0.7277, allocations: 42.88 kB / 0.5744 GB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.787e-05/0.7278, allocations: 19.14 kB / 0.5744 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005045/0.7283, allocations: 82.02 kB / 0.5745 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.07e-05/0.7283, allocations: 15.41 kB / 0.5745 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007626/0.7291, allocations: 89.06 kB / 0.5746 GB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/0.7292, allocations: 34.27 kB / 0.5746 GB, free: 13.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,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 (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0004315/0.7296, allocations: 257.3 kB / 0.5749 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.7298, allocations: 49.02 kB / 0.5749 GB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/0.7314, allocations: 494.5 kB / 0.5754 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.7315, allocations: 3.906 kB / 0.5754 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.7315, allocations: 0 / 0.5754 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.7315, allocations: 0 / 0.5754 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009416/0.7324, allocations: 409.1 kB / 0.5758 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001098/0.7326, allocations: 42.95 kB / 0.5758 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002948/0.7329, allocations: 31.31 kB / 0.5759 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.268e-06/0.7329, allocations: 3.906 kB / 0.5759 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/0.733, allocations: 19.02 kB / 0.5759 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.733, allocations: 0 / 0.5759 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.733, allocations: 0 / 0.5759 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.7345, allocations: 0.6672 MB / 0.5765 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002158/0.7347, allocations: 131.3 kB / 0.5767 GB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.7348, allocations: 3.875 kB / 0.5767 GB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005492/0.7354, allocations: 27.11 kB / 0.5767 GB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.7355, allocations: 30.67 kB / 0.5767 GB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.614e-05/0.7356, allocations: 15.61 kB / 0.5767 GB, free: 12.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007371/0.7363, allocations: 447.1 kB / 0.5772 GB, free: 12.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.423e-06/0.7364, allocations: 0 / 0.5772 GB, free: 12.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001297/0.7377, allocations: 204.6 kB / 0.5774 GB, free: 12.31 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.00247/0.7402, allocations: 1.52 MB / 0.5788 GB, free: 11.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001801/0.742, allocations: 0.7691 MB / 0.5796 GB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.7421, allocations: 0 / 0.5796 GB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007741/0.7428, allocations: 0.4913 MB / 0.5801 GB, free: 10.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009923/0.7439, allocations: 113.7 kB / 0.5802 GB, free: 10.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.7545, allocations: 9.763 MB / 0.5897 GB, free: 18.28 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005835/0.7551, allocations: 0.902 MB / 0.5906 GB, free: 17.49 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005702/0.7557, allocations: 130 kB / 0.5907 GB, free: 17.43 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.756, allocations: 143.9 kB / 0.5909 GB, free: 17.41 MB / 394.7 MB Notification: Performance of SimCode: time 1.542e-06/0.756, allocations: 0 / 0.5909 GB, free: 17.41 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05637/0.8123, allocations: 15.2 MB / 0.6057 GB, free: 10 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004563/0.8129, allocations: 211.7 kB / 0.6059 GB, free: 9.77 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.915/3.728, allocations: 0 / 0.6059 GB, free: 9.77 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_overall_res.mat does not exist to compare? outputFormat=mat