Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.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.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_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.1+maint.om/package.mo): time 0.0178/0.01781, allocations: 165.6 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.827/1.827, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001951/0.001951, allocations: 119.3 kB / 226.2 MB, free: 10.09 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.5345/0.5345, allocations: 38.06 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006532/0.0006533, allocations: 15.98 kB / 363 MB, free: 5.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1076, allocations: 48.71 MB / 411.7 MB, free: 4.684 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4858/0.5935, allocations: 80.47 MB / 492.2 MB, free: 7.203 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/0.5938, allocations: 98.06 kB / 492.3 MB, free: 7.145 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03814/0.632, allocations: 9.34 MB / 0.4899 GB, free: 15.08 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6321, allocations: 3.938 kB / 0.4899 GB, free: 15.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.656e-05/0.6321, allocations: 4 kB / 0.4899 GB, free: 15.07 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001218/0.6333, allocations: 0.5792 MB / 0.4904 GB, free: 14.47 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.6334, allocations: 12.03 kB / 0.4904 GB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001311/0.6335, allocations: 85.2 kB / 0.4905 GB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.6336, allocations: 39.53 kB / 0.4906 GB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004673/0.6341, allocations: 282.7 kB / 0.4908 GB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/0.6342, allocations: 26.69 kB / 0.4909 GB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.996e-05/0.6343, allocations: 37 kB / 0.4909 GB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.6356, allocations: 0.5439 MB / 0.4914 GB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.6357, allocations: 0 / 0.4914 GB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-05/0.6357, allocations: 13.75 kB / 0.4914 GB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.626e-05/0.6358, allocations: 28.98 kB / 0.4915 GB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/0.6374, allocations: 0.5831 MB / 0.492 GB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002844/0.6402, allocations: 1.203 MB / 0.4932 GB, free: 12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.6414, allocations: 383.8 kB / 0.4936 GB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.518e-05/0.6415, allocations: 12.16 kB / 0.4936 GB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.6415, allocations: 41.19 kB / 0.4936 GB, free: 11.6 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 2.525e-06/0.6416, allocations: 0 / 0.4936 GB, free: 11.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.001659/0.6432, allocations: 480 kB / 0.4941 GB, free: 11.17 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.6433, allocations: 55.34 kB / 0.4941 GB, free: 11.1 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007165/0.644, allocations: 408.8 kB / 0.4945 GB, free: 10.76 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.44e-05/0.6441, allocations: 28.83 kB / 0.4946 GB, free: 10.73 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.6443, allocations: 184.3 kB / 0.4947 GB, free: 10.61 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.6444, allocations: 81.7 kB / 0.4948 GB, free: 10.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.6444, allocations: 3.75 kB / 0.4948 GB, free: 10.54 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.6446, allocations: 353 kB / 0.4952 GB, free: 10.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004379/0.6451, allocations: 118.8 kB / 0.4953 GB, free: 10.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000439/0.6455, allocations: 119.4 kB / 0.4954 GB, free: 9.984 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004717/0.646, allocations: 139 kB / 0.4955 GB, free: 9.863 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.646, allocations: 0 / 0.4955 GB, free: 9.863 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001165/0.6472, allocations: 349.3 kB / 0.4958 GB, free: 9.547 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.6472, allocations: 4 kB / 0.4958 GB, free: 9.543 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.6472, allocations: 4 kB / 0.4959 GB, free: 9.539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.6473, allocations: 4 kB / 0.4959 GB, free: 9.535 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.6487, allocations: 151.8 kB / 0.496 GB, free: 9.391 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004124/0.6528, allocations: 5.523 MB / 0.5014 GB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004695/0.6533, allocations: 47.28 kB / 0.5014 GB, free: 3.684 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-05/0.6534, allocations: 11.98 kB / 0.5014 GB, free: 3.672 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003454/0.6537, allocations: 192.5 kB / 0.5016 GB, free: 3.492 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.135e-05/0.6538, allocations: 31.62 kB / 0.5017 GB, free: 3.461 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/0.6555, allocations: 468.8 kB / 0.5021 GB, free: 3.059 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.6555, allocations: 0 / 0.5021 GB, free: 3.059 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.6556, allocations: 0 / 0.5021 GB, free: 3.059 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.6556, allocations: 0 / 0.5021 GB, free: 3.059 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.6568, allocations: 379.2 kB / 0.5025 GB, free: 2.684 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.6569, allocations: 8 kB / 0.5025 GB, free: 2.676 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002113/0.659, allocations: 143.9 kB / 0.5026 GB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/0.659, allocations: 0 / 0.5026 GB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.747e-05/0.6591, allocations: 11.92 kB / 0.5026 GB, free: 2.527 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006032/0.6651, allocations: 5.526 MB / 0.508 GB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.6652, allocations: 0 / 0.508 GB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/0.6675, allocations: 452.5 kB / 0.5085 GB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003214/0.6679, allocations: 116.6 kB / 0.5086 GB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.6681, allocations: 3.375 kB / 0.5086 GB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006376/0.6687, allocations: 19.48 kB / 0.5086 GB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.6689, allocations: 19.91 kB / 0.5086 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-05/0.669, allocations: 11.94 kB / 0.5086 GB, free: 12.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008952/0.6699, allocations: 341.6 kB / 0.5089 GB, free: 11.99 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6699, allocations: 0 / 0.5089 GB, free: 11.99 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001034/0.6709, allocations: 112.5 kB / 0.5091 GB, free: 11.89 MB / 362.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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {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.002595/0.6736, allocations: 1.051 MB / 0.5101 GB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002032/0.6756, allocations: 372 kB / 0.5104 GB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.6757, allocations: 3.938 kB / 0.5104 GB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001413/0.6771, allocations: 247.6 kB / 0.5107 GB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006772/0.6778, allocations: 84.7 kB / 0.5108 GB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006066/0.6839, allocations: 2.613 MB / 0.5133 GB, free: 7.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006055/0.6845, allocations: 0.8565 MB / 0.5141 GB, free: 7.059 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003921/0.6849, allocations: 83.22 kB / 0.5142 GB, free: 6.973 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/0.6852, allocations: 113.3 kB / 0.5143 GB, free: 6.934 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6852, allocations: 0 / 0.5143 GB, free: 6.934 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05531/0.7405, allocations: 10.78 MB / 0.5249 GB, free: 12.27 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003721/0.7409, allocations: 246.4 kB / 0.5251 GB, free: 11.93 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.024/3.765, allocations: 8.062 kB / 0.5251 GB, free: 11.93 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat