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_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_overall_KC,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_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.01025/0.01025, allocations: 176.1 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.207/2.207, allocations: 194.5 MB / 210.3 MB, free: 7.613 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.002165/0.002165, allocations: 124.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.3053/0.3053, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004778, allocations: 11.19 kB / 406.3 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1102, allocations: 54.87 MB / 461.2 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4939/0.6042, allocations: 93.54 MB / 0.5417 GB, free: 27.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003701/0.6046, allocations: 98.3 kB / 0.5418 GB, free: 27.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1001/0.7047, allocations: 23.49 MB / 0.5647 GB, free: 23.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.7047, allocations: 0 / 0.5647 GB, free: 23.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.7048, allocations: 7.719 kB / 0.5647 GB, free: 23.94 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001493/0.7063, allocations: 0.708 MB / 0.5654 GB, free: 23.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.7063, allocations: 7.812 kB / 0.5654 GB, free: 23.41 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001499/0.7065, allocations: 108.3 kB / 0.5655 GB, free: 23.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.7066, allocations: 58.83 kB / 0.5656 GB, free: 23.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/0.7071, allocations: 305.2 kB / 0.5659 GB, free: 23.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.951e-05/0.7071, allocations: 43.3 kB / 0.5659 GB, free: 23.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.7073, allocations: 57.44 kB / 0.566 GB, free: 23.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.7088, allocations: 0.738 MB / 0.5667 GB, free: 22.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.7089, allocations: 0 / 0.5667 GB, free: 22.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.911e-05/0.7089, allocations: 24.8 kB / 0.5667 GB, free: 22.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.03e-05/0.709, allocations: 48.03 kB / 0.5668 GB, free: 22.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/0.7108, allocations: 0.8004 MB / 0.5676 GB, free: 22.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003203/0.714, allocations: 1.547 MB / 0.5691 GB, free: 21.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.7152, allocations: 453.3 kB / 0.5695 GB, free: 21.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.656e-05/0.7152, allocations: 12.11 kB / 0.5695 GB, free: 21.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.7153, allocations: 38.33 kB / 0.5695 GB, free: 21.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 2.745e-06/0.7153, allocations: 0 / 0.5695 GB, free: 21.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001703/0.717, allocations: 0.5441 MB / 0.5701 GB, free: 21.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.7171, allocations: 55.38 kB / 0.5701 GB, free: 21.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007934/0.7179, allocations: 0.5261 MB / 0.5706 GB, free: 21.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.7179, allocations: 29.27 kB / 0.5707 GB, free: 21.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.7181, allocations: 274.4 kB / 0.5709 GB, free: 21.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.106e-05/0.7182, allocations: 100 kB / 0.571 GB, free: 20.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.662e-05/0.7183, allocations: 7.188 kB / 0.571 GB, free: 20.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.7184, allocations: 360.6 kB / 0.5714 GB, free: 20.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005432/0.719, allocations: 196.1 kB / 0.5716 GB, free: 20.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006512/0.7196, allocations: 437.2 kB / 0.572 GB, free: 20.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006682/0.7203, allocations: 275.1 kB / 0.5722 GB, free: 20.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/0.7203, allocations: 7.938 kB / 0.5723 GB, free: 20.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001694/0.722, allocations: 0.6816 MB / 0.5729 GB, free: 19.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.7221, allocations: 17.86 kB / 0.5729 GB, free: 19.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.7221, allocations: 7.812 kB / 0.5729 GB, free: 19.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.064e-05/0.7221, allocations: 11.78 kB / 0.573 GB, free: 19.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/0.724, allocations: 242.2 kB / 0.5732 GB, free: 19.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004195/0.7282, allocations: 7.307 MB / 0.5803 GB, free: 28.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008288/0.7291, allocations: 85.52 kB / 0.5804 GB, free: 28.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.056e-05/0.7292, allocations: 30.28 kB / 0.5804 GB, free: 28.61 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (64): * Single equations (assignments): 52 * 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.0004788/0.7297, allocations: 260.7 kB / 0.5807 GB, free: 28.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.7298, allocations: 58.48 kB / 0.5807 GB, free: 28.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/0.7316, allocations: 0.5587 MB / 0.5813 GB, free: 28.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.7316, allocations: 3.812 kB / 0.5813 GB, free: 28.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.7316, allocations: 3.938 kB / 0.5813 GB, free: 28.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.7316, allocations: 3.906 kB / 0.5813 GB, free: 28.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008455/0.7325, allocations: 432.2 kB / 0.5817 GB, free: 27.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.7325, allocations: 0 / 0.5817 GB, free: 27.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/0.7342, allocations: 200.5 kB / 0.5819 GB, free: 27.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/0.7342, allocations: 7.859 kB / 0.5819 GB, free: 27.86 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.174e-05/0.7343, allocations: 11.58 kB / 0.5819 GB, free: 27.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004766/0.7391, allocations: 7.304 MB / 0.589 GB, free: 20.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.7391, allocations: 3.906 kB / 0.5891 GB, free: 20.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.7404, allocations: 0.5016 MB / 0.5895 GB, free: 20.42 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/0.7407, allocations: 135.6 kB / 0.5897 GB, free: 20.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.7408, allocations: 0 / 0.5897 GB, free: 20.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004405/0.7412, allocations: 22.48 kB / 0.5897 GB, free: 20.28 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.7413, allocations: 23.77 kB / 0.5897 GB, free: 20.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.567e-05/0.7414, allocations: 19.52 kB / 0.5897 GB, free: 20.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006569/0.7421, allocations: 401.4 kB / 0.5901 GB, free: 20.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7421, allocations: 4 kB / 0.5901 GB, free: 20.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001063/0.7432, allocations: 191.1 kB / 0.5903 GB, free: 20.08 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.002242/0.7454, allocations: 1.211 MB / 0.5915 GB, free: 19.22 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002528/0.748, allocations: 0.5788 MB / 0.592 GB, free: 19.06 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.748, allocations: 0 / 0.592 GB, free: 19.06 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001705/0.7498, allocations: 305.9 kB / 0.5923 GB, free: 18.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008618/0.7506, allocations: 110 kB / 0.5924 GB, free: 18.95 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009191/0.7599, allocations: 8.885 MB / 0.6011 GB, free: 11.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005995/0.7605, allocations: 0.9189 MB / 0.602 GB, free: 11.02 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007312/0.7613, allocations: 162.2 kB / 0.6022 GB, free: 10.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/0.7615, allocations: 147.8 kB / 0.6023 GB, free: 10.93 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/0.7615, allocations: 3.938 kB / 0.6023 GB, free: 10.92 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04993/0.8115, allocations: 15.28 MB / 0.6172 GB, free: 3.543 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000284/0.8119, allocations: 251.7 kB / 0.6175 GB, free: 3.207 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.294/4.106, allocations: 0 / 0.6175 GB, free: 3.207 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_KC_res.mat does not exist to compare? outputFormat=mat