Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01603/0.01603, allocations: 165.5 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.948/1.948, allocations: 170.8 MB / 186.6 MB, free: 1.109 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002919/0.002919, allocations: 99.41 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.6067/0.6067, allocations: 38.05 MB / 303.7 MB, free: 42.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006511/0.0006511, allocations: 8 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1492, allocations: 48.71 MB / 411.7 MB, free: 4.695 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5273/0.6766, allocations: 82.47 MB / 494.2 MB, free: 5.285 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/0.677, allocations: 90.44 kB / 494.3 MB, free: 5.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05105/0.728, allocations: 12.15 MB / 0.4946 GB, free: 10.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.7281, allocations: 0 / 0.4946 GB, free: 10.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.325e-05/0.7281, allocations: 8 kB / 0.4946 GB, free: 10.61 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001578/0.7297, allocations: 0.6931 MB / 0.4952 GB, free: 9.898 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.7298, allocations: 8.031 kB / 0.4952 GB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/0.7299, allocations: 93.14 kB / 0.4953 GB, free: 9.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.7301, allocations: 43.44 kB / 0.4954 GB, free: 9.777 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005929/0.7307, allocations: 299.8 kB / 0.4957 GB, free: 9.461 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.186e-05/0.7308, allocations: 39.42 kB / 0.4957 GB, free: 9.438 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.7309, allocations: 45.62 kB / 0.4957 GB, free: 9.406 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.7327, allocations: 0.6678 MB / 0.4964 GB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.7327, allocations: 0 / 0.4964 GB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.541e-05/0.7328, allocations: 17.12 kB / 0.4964 GB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-05/0.7329, allocations: 28.8 kB / 0.4964 GB, free: 8.836 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.7345, allocations: 0.4939 MB / 0.4969 GB, free: 8.438 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003596/0.7381, allocations: 1.538 MB / 0.4984 GB, free: 7.031 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.7393, allocations: 315.6 kB / 0.4987 GB, free: 6.723 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.171e-05/0.7394, allocations: 15.94 kB / 0.4987 GB, free: 6.707 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.7394, allocations: 37.31 kB / 0.4988 GB, free: 6.664 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 4.549e-06/0.7394, allocations: 3.938 kB / 0.4988 GB, free: 6.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.00244/0.7419, allocations: 0.7573 MB / 0.4995 GB, free: 5.883 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.169e-05/0.742, allocations: 110.7 kB / 0.4996 GB, free: 5.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.743, allocations: 495.7 kB / 0.5001 GB, free: 5.348 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.561e-05/0.7431, allocations: 28.95 kB / 0.5001 GB, free: 5.316 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.7433, allocations: 231.5 kB / 0.5003 GB, free: 5.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.7435, allocations: 66.64 kB / 0.5004 GB, free: 5.102 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.7435, allocations: 11.47 kB / 0.5004 GB, free: 5.094 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.7437, allocations: 362 kB / 0.5008 GB, free: 4.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006996/0.7444, allocations: 158.7 kB / 0.5009 GB, free: 4.605 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007946/0.7452, allocations: 286.2 kB / 0.5012 GB, free: 4.297 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007647/0.746, allocations: 205.6 kB / 0.5014 GB, free: 4.121 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.7461, allocations: 0 / 0.5014 GB, free: 4.121 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001948/0.748, allocations: 0.5171 MB / 0.5019 GB, free: 3.648 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.7481, allocations: 8 kB / 0.5019 GB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001357/0.7482, allocations: 39.22 kB / 0.5019 GB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.189e-05/0.7483, allocations: 4 kB / 0.5019 GB, free: 3.602 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004426/0.7487, allocations: 51.89 kB / 0.502 GB, free: 3.551 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/0.7488, allocations: 10.59 kB / 0.502 GB, free: 3.543 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006299/0.7494, allocations: 71.09 kB / 0.5021 GB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.079e-05/0.7495, allocations: 23 kB / 0.5021 GB, free: 3.457 MB / 346.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: 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 (33): * Single equations (assignments): 21 * 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.0004458/0.75, allocations: 227.5 kB / 0.5023 GB, free: 3.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.7501, allocations: 43.44 kB / 0.5023 GB, free: 3.207 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/0.7517, allocations: 460.4 kB / 0.5028 GB, free: 2.801 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.7518, allocations: 4 kB / 0.5028 GB, free: 2.797 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.7518, allocations: 0 / 0.5028 GB, free: 2.797 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.7518, allocations: 4 kB / 0.5028 GB, free: 2.793 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009895/0.7528, allocations: 394.3 kB / 0.5032 GB, free: 2.406 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001188/0.753, allocations: 31.97 kB / 0.5032 GB, free: 2.375 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003021/0.7533, allocations: 35.91 kB / 0.5032 GB, free: 2.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.7533, allocations: 0 / 0.5032 GB, free: 2.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.402e-05/0.7534, allocations: 15.23 kB / 0.5032 GB, free: 2.328 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.7534, allocations: 0 / 0.5032 GB, free: 2.328 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.7534, allocations: 0 / 0.5032 GB, free: 2.328 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.7551, allocations: 0.6544 MB / 0.5039 GB, free: 1.684 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003766/0.7555, allocations: 182 kB / 0.5041 GB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.7556, allocations: 15.12 kB / 0.5041 GB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005228/0.7561, allocations: 27.97 kB / 0.5041 GB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.7563, allocations: 23.28 kB / 0.5041 GB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.347e-05/0.7564, allocations: 8 kB / 0.5041 GB, free: 1.434 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007932/0.7572, allocations: 394.3 kB / 0.5045 GB, free: 1.125 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.02e-07/0.7572, allocations: 0 / 0.5045 GB, free: 1.125 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001063/0.7583, allocations: 142.7 kB / 0.5046 GB, free: 0.9922 MB / 346.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.002715/0.761, allocations: 1.444 MB / 0.5061 GB, free: 15.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001958/0.763, allocations: 0.6847 MB / 0.5067 GB, free: 14.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.7631, allocations: 0 / 0.5067 GB, free: 14.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009486/0.764, allocations: 491.4 kB / 0.5072 GB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000974/0.765, allocations: 111.9 kB / 0.5073 GB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009811/0.7749, allocations: 5.656 MB / 0.5128 GB, free: 8.867 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006726/0.7756, allocations: 0.8709 MB / 0.5137 GB, free: 7.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004715/0.7761, allocations: 95.27 kB / 0.5138 GB, free: 7.883 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/0.7763, allocations: 123.5 kB / 0.5139 GB, free: 7.844 MB / 362.7 MB Notification: Performance of SimCode: time 1.322e-06/0.7764, allocations: 0 / 0.5139 GB, free: 7.844 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0496/0.826, allocations: 12.65 MB / 0.5262 GB, free: 11.29 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003869/0.8264, allocations: 227.6 kB / 0.5265 GB, free: 11.04 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.119/3.945, allocations: 3.938 kB / 0.5265 GB, free: 11.04 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat does not exist to compare? outputFormat=mat