Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",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.01438/0.01438, allocations: 165.4 kB / 15.11 MB, free: 5.934 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.679/1.679, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001961/0.001961, allocations: 115.3 kB / 226.2 MB, free: 10.1 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.5118/0.5118, allocations: 38.06 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006437/0.0006437, allocations: 12 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1049, allocations: 48.7 MB / 411.7 MB, free: 4.695 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4478/0.5528, allocations: 82.41 MB / 494.1 MB, free: 5.355 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003372/0.5532, allocations: 97.34 kB / 494.2 MB, free: 5.301 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05888/0.6121, allocations: 13.65 MB / 0.496 GB, free: 9.453 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.6122, allocations: 0 / 0.496 GB, free: 9.453 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.217e-05/0.6122, allocations: 4 kB / 0.496 GB, free: 9.449 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001616/0.6138, allocations: 0.6602 MB / 0.4966 GB, free: 8.766 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.6139, allocations: 12.03 kB / 0.4966 GB, free: 8.754 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001591/0.6141, allocations: 75.53 kB / 0.4967 GB, free: 8.695 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.6142, allocations: 46.8 kB / 0.4967 GB, free: 8.652 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005362/0.6147, allocations: 285.6 kB / 0.497 GB, free: 8.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/0.6148, allocations: 23.12 kB / 0.497 GB, free: 8.328 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.499e-05/0.6149, allocations: 38.38 kB / 0.4971 GB, free: 8.305 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.6164, allocations: 0.5635 MB / 0.4976 GB, free: 7.848 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.6165, allocations: 3.938 kB / 0.4976 GB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.658e-05/0.6165, allocations: 17.31 kB / 0.4976 GB, free: 7.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.971e-05/0.6166, allocations: 22.02 kB / 0.4977 GB, free: 7.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.6182, allocations: 434.9 kB / 0.4981 GB, free: 7.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002994/0.6212, allocations: 1.317 MB / 0.4994 GB, free: 6.277 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.6222, allocations: 313.2 kB / 0.4997 GB, free: 5.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.048e-05/0.6223, allocations: 4 kB / 0.4997 GB, free: 5.977 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.6224, allocations: 34.56 kB / 0.4997 GB, free: 5.934 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 4.278e-06/0.6224, allocations: 0 / 0.4997 GB, free: 5.934 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.002382/0.6248, allocations: 0.7589 MB / 0.5004 GB, free: 5.164 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.6249, allocations: 106.8 kB / 0.5005 GB, free: 5.035 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000865/0.6258, allocations: 447.5 kB / 0.501 GB, free: 4.672 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.812e-05/0.6258, allocations: 33.58 kB / 0.501 GB, free: 4.637 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.626, allocations: 217.5 kB / 0.5012 GB, free: 4.492 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.265e-05/0.6262, allocations: 57.92 kB / 0.5013 GB, free: 4.441 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.6262, allocations: 3.25 kB / 0.5013 GB, free: 4.441 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.6264, allocations: 360.1 kB / 0.5016 GB, free: 4.098 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006799/0.6271, allocations: 158.3 kB / 0.5018 GB, free: 3.957 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007195/0.6278, allocations: 233.4 kB / 0.502 GB, free: 3.715 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007291/0.6286, allocations: 179.5 kB / 0.5021 GB, free: 3.562 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.6286, allocations: 0 / 0.5021 GB, free: 3.562 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001873/0.6305, allocations: 470.3 kB / 0.5026 GB, free: 3.148 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/0.6306, allocations: 9.406 kB / 0.5026 GB, free: 3.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/0.6307, allocations: 31.97 kB / 0.5026 GB, free: 3.109 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.6307, allocations: 4 kB / 0.5026 GB, free: 3.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003688/0.6311, allocations: 48.2 kB / 0.5027 GB, free: 3.059 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.6311, allocations: 4 kB / 0.5027 GB, free: 3.055 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005232/0.6317, allocations: 58.62 kB / 0.5027 GB, free: 3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.923e-05/0.6318, allocations: 18.92 kB / 0.5028 GB, free: 2.984 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0003889/0.6321, allocations: 206.4 kB / 0.503 GB, free: 2.793 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.6323, allocations: 39.53 kB / 0.503 GB, free: 2.754 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/0.6339, allocations: 438 kB / 0.5034 GB, free: 2.379 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/0.634, allocations: 7.984 kB / 0.5034 GB, free: 2.371 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.634, allocations: 0 / 0.5034 GB, free: 2.371 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.634, allocations: 0 / 0.5034 GB, free: 2.371 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009278/0.6349, allocations: 378.6 kB / 0.5038 GB, free: 2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001061/0.6351, allocations: 31.97 kB / 0.5038 GB, free: 1.969 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/0.6354, allocations: 31.91 kB / 0.5038 GB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.958e-06/0.6354, allocations: 7.938 kB / 0.5039 GB, free: 1.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.691e-05/0.6355, allocations: 11.31 kB / 0.5039 GB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/0.6355, allocations: 7.984 kB / 0.5039 GB, free: 1.914 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.6355, allocations: 4 kB / 0.5039 GB, free: 1.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.6371, allocations: 0.6475 MB / 0.5045 GB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003491/0.6375, allocations: 169.7 kB / 0.5047 GB, free: 1.102 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.382e-05/0.6376, allocations: 3.938 kB / 0.5047 GB, free: 1.098 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004773/0.6381, allocations: 27.22 kB / 0.5047 GB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.6382, allocations: 31.23 kB / 0.5047 GB, free: 1.047 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/0.6383, allocations: 8 kB / 0.5047 GB, free: 1.039 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006436/0.6389, allocations: 364.7 kB / 0.5051 GB, free: 0.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6389, allocations: 0 / 0.5051 GB, free: 0.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008765/0.6398, allocations: 126.8 kB / 0.5052 GB, free: 0.6328 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.002534/0.6424, allocations: 1.435 MB / 0.5066 GB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001643/0.6441, allocations: 0.5841 MB / 0.5072 GB, free: 14.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.6441, allocations: 0 / 0.5072 GB, free: 14.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008667/0.645, allocations: 405.9 kB / 0.5076 GB, free: 14.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008697/0.6459, allocations: 99.27 kB / 0.5077 GB, free: 14.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007794/0.6537, allocations: 4.466 MB / 0.512 GB, free: 9.938 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006138/0.6543, allocations: 0.8595 MB / 0.5129 GB, free: 9.059 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003355/0.6547, allocations: 63.22 kB / 0.5129 GB, free: 8.996 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/0.6549, allocations: 109.3 kB / 0.513 GB, free: 8.961 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.6549, allocations: 4 kB / 0.513 GB, free: 8.957 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04418/0.6991, allocations: 11.58 MB / 0.5243 GB, free: 13.46 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000361/0.6995, allocations: 230.8 kB / 0.5246 GB, free: 13.22 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.124/3.824, allocations: 4 kB / 0.5246 GB, free: 13.22 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat does not exist to compare? outputFormat=mat