Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",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.009999/0.009999, allocations: 177.2 kB / 15.12 MB, free: 6.043 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.039/2.039, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.002038/0.002038, 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.2539/0.2539, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006391/0.0006391, allocations: 12.31 kB / 406.3 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1767, allocations: 54.87 MB / 461.2 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6628/0.8396, allocations: 89.44 MB / 0.5377 GB, free: 21.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004717/0.8402, allocations: 95.86 kB / 0.5378 GB, free: 21.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03791/0.8781, allocations: 7.846 MB / 0.5455 GB, free: 20.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.8781, allocations: 0 / 0.5455 GB, free: 20.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.8782, allocations: 3.156 kB / 0.5455 GB, free: 20.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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007102/0.8789, allocations: 485.3 kB / 0.5459 GB, free: 20.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.8789, allocations: 9.5 kB / 0.5459 GB, free: 20.52 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.303e-05/0.879, allocations: 53.62 kB / 0.546 GB, free: 20.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/0.8791, allocations: 22.56 kB / 0.546 GB, free: 20.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.8793, allocations: 216.1 kB / 0.5462 GB, free: 20.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.8793, allocations: 17.2 kB / 0.5462 GB, free: 20.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.8794, allocations: 18.28 kB / 0.5462 GB, free: 20.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000528/0.8799, allocations: 203.9 kB / 0.5464 GB, free: 20.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.88, allocations: 0 / 0.5464 GB, free: 20.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.88, allocations: 11.88 kB / 0.5464 GB, free: 20.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.88, allocations: 8.734 kB / 0.5465 GB, free: 20.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004716/0.8805, allocations: 159.4 kB / 0.5466 GB, free: 20.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.8816, allocations: 0.5785 MB / 0.5472 GB, free: 19.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.8819, allocations: 69.67 kB / 0.5472 GB, free: 19.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.882, allocations: 1.094 kB / 0.5472 GB, free: 19.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.882, allocations: 31.66 kB / 0.5473 GB, free: 19.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.174e-06/0.882, allocations: 0 / 0.5473 GB, free: 19.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007767/0.8828, allocations: 311.1 kB / 0.5476 GB, free: 19.56 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.8829, allocations: 56.48 kB / 0.5476 GB, free: 19.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/0.8832, allocations: 234.5 kB / 0.5478 GB, free: 19.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.8832, allocations: 25.7 kB / 0.5479 GB, free: 19.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.439e-05/0.8833, allocations: 161.1 kB / 0.548 GB, free: 19.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.8834, allocations: 21.95 kB / 0.548 GB, free: 19.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.281e-05/0.8834, allocations: 3.562 kB / 0.548 GB, free: 19.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.131e-05/0.8835, allocations: 328.6 kB / 0.5484 GB, free: 18.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.8837, allocations: 46.06 kB / 0.5484 GB, free: 18.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.884, allocations: 136.9 kB / 0.5485 GB, free: 18.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.8842, allocations: 58.12 kB / 0.5486 GB, free: 18.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.8842, allocations: 1.625 kB / 0.5486 GB, free: 18.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007327/0.885, allocations: 212.8 kB / 0.5488 GB, free: 18.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.8851, allocations: 6.812 kB / 0.5488 GB, free: 18.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.365e-05/0.8851, allocations: 11.03 kB / 0.5488 GB, free: 18.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.8852, allocations: 5.406 kB / 0.5488 GB, free: 18.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.8854, allocations: 39.78 kB / 0.5489 GB, free: 18.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.8854, allocations: 8.469 kB / 0.5489 GB, free: 18.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.8857, allocations: 36.64 kB / 0.5489 GB, free: 18.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.8858, allocations: 9.5 kB / 0.5489 GB, free: 18.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001402/0.8859, allocations: 125.4 kB / 0.549 GB, free: 18.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.109e-05/0.886, allocations: 20.28 kB / 0.549 GB, free: 18.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006461/0.8866, allocations: 156.3 kB / 0.5492 GB, free: 18.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.8867, allocations: 5.031 kB / 0.5492 GB, free: 18.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.8867, allocations: 3.953 kB / 0.5492 GB, free: 18.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.8867, allocations: 1.031 kB / 0.5492 GB, free: 18.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.887, allocations: 221.9 kB / 0.5494 GB, free: 18.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.093e-05/0.887, allocations: 7.406 kB / 0.5494 GB, free: 18.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.542e-05/0.8872, allocations: 12.19 kB / 0.5494 GB, free: 18.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.8872, allocations: 1.594 kB / 0.5494 GB, free: 18.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.8872, allocations: 1.5 kB / 0.5494 GB, free: 18.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.8872, allocations: 4.188 kB / 0.5494 GB, free: 18.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.8872, allocations: 5.219 kB / 0.5494 GB, free: 18.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004924/0.8877, allocations: 220.3 kB / 0.5497 GB, free: 18.15 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-05/0.8878, allocations: 95.84 kB / 0.5497 GB, free: 18.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/0.8879, allocations: 1.719 kB / 0.5498 GB, free: 18.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.888, allocations: 9.203 kB / 0.5498 GB, free: 18.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.8881, allocations: 5.953 kB / 0.5498 GB, free: 18.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.8881, allocations: 2.344 kB / 0.5498 GB, free: 18.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002056/0.8883, allocations: 178.6 kB / 0.5499 GB, free: 17.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.8883, allocations: 0 / 0.5499 GB, free: 17.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006761/0.889, allocations: 90.53 kB / 0.55 GB, free: 17.95 MB / 378.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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001152/0.8902, allocations: 0.86 MB / 0.5509 GB, free: 17.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007539/0.891, allocations: 181.1 kB / 0.551 GB, free: 17.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.891, allocations: 0 / 0.551 GB, free: 17.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003148/0.8913, allocations: 101.8 kB / 0.5511 GB, free: 17.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.8917, allocations: 25.89 kB / 0.5512 GB, free: 17.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003241/0.895, allocations: 3.348 MB / 0.5544 GB, free: 14.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.8952, allocations: 0.7374 MB / 0.5551 GB, free: 13.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.8953, allocations: 16.67 kB / 0.5552 GB, free: 13.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.8955, allocations: 57.72 kB / 0.5552 GB, free: 13.64 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.8955, allocations: 0 / 0.5552 GB, free: 13.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03467/0.9302, allocations: 6.643 MB / 0.5617 GB, free: 12.96 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003165/0.9306, allocations: 246.5 kB / 0.5619 GB, free: 12.63 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.142/4.073, allocations: 4 kB / 0.5619 GB, free: 12.63 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat does not exist to compare? outputFormat=mat