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_laminar.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_laminar,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.02236/0.02236, allocations: 175.9 kB / 15.12 MB, free: 5.934 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.188/2.188, allocations: 194.5 MB / 210.3 MB, free: 7.801 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.002037, allocations: 112.7 kB / 255.6 MB, free: 10.42 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.2659/0.2659, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006526/0.0006526, allocations: 13.25 kB / 406.3 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1088, allocations: 54.87 MB / 461.2 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5071/0.616, allocations: 88.76 MB / 0.537 GB, free: 21.87 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003339/0.6164, allocations: 95.47 kB / 0.5371 GB, free: 21.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05109/0.6675, allocations: 12.16 MB / 0.549 GB, free: 20.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6675, allocations: 0 / 0.549 GB, free: 20.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.983e-05/0.6675, allocations: 4.969 kB / 0.549 GB, free: 20.39 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001471/0.669, allocations: 0.686 MB / 0.5497 GB, free: 19.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.6691, allocations: 8.5 kB / 0.5497 GB, free: 19.88 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002203/0.6693, allocations: 88.97 kB / 0.5498 GB, free: 19.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.6695, allocations: 53.88 kB / 0.5498 GB, free: 19.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005358/0.67, allocations: 295.2 kB / 0.5501 GB, free: 19.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.505e-05/0.6701, allocations: 33.88 kB / 0.5501 GB, free: 19.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.6702, allocations: 47.22 kB / 0.5502 GB, free: 19.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00196/0.6722, allocations: 0.6593 MB / 0.5508 GB, free: 19.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.6722, allocations: 0 / 0.5508 GB, free: 19.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.273e-05/0.6723, allocations: 22.92 kB / 0.5508 GB, free: 19.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.669e-05/0.6724, allocations: 32.62 kB / 0.5509 GB, free: 19.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/0.6742, allocations: 0.4938 MB / 0.5513 GB, free: 19.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003417/0.6776, allocations: 1.534 MB / 0.5528 GB, free: 18.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009338/0.6786, allocations: 311.3 kB / 0.5531 GB, free: 18.74 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-05/0.6787, allocations: 14.78 kB / 0.5532 GB, free: 18.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.6788, allocations: 42.44 kB / 0.5532 GB, free: 18.69 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 3.647e-06/0.6788, allocations: 0 / 0.5532 GB, free: 18.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.002203/0.681, allocations: 0.7682 MB / 0.5539 GB, free: 18.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.6811, allocations: 102.8 kB / 0.554 GB, free: 18.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008509/0.6819, allocations: 493.1 kB / 0.5545 GB, free: 18.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.954e-05/0.682, allocations: 25.7 kB / 0.5545 GB, free: 18.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.6822, allocations: 233.3 kB / 0.5548 GB, free: 17.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.255e-05/0.6823, allocations: 62.22 kB / 0.5548 GB, free: 17.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.6824, allocations: 7.531 kB / 0.5548 GB, free: 17.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.6825, allocations: 360.7 kB / 0.5552 GB, free: 17.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006249/0.6831, allocations: 167.7 kB / 0.5553 GB, free: 17.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006679/0.6838, allocations: 286.3 kB / 0.5556 GB, free: 17.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006951/0.6845, allocations: 212.8 kB / 0.5558 GB, free: 17.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.6845, allocations: 0 / 0.5558 GB, free: 17.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001739/0.6863, allocations: 0.5195 MB / 0.5563 GB, free: 17.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.6863, allocations: 7.5 kB / 0.5563 GB, free: 17.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001129/0.6864, allocations: 46.31 kB / 0.5564 GB, free: 17.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/0.6865, allocations: 7.797 kB / 0.5564 GB, free: 17.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/0.6869, allocations: 51.45 kB / 0.5564 GB, free: 17.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.6869, allocations: 3.906 kB / 0.5564 GB, free: 17.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006116/0.6875, allocations: 78.41 kB / 0.5565 GB, free: 17.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.959e-05/0.6876, allocations: 18.38 kB / 0.5565 GB, free: 17.28 MB / 378.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.0003603/0.688, allocations: 213 kB / 0.5567 GB, free: 17.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.6881, allocations: 39 kB / 0.5568 GB, free: 17.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.6896, allocations: 465.2 kB / 0.5572 GB, free: 17.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.6897, allocations: 3.906 kB / 0.5572 GB, free: 17.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.6897, allocations: 3.953 kB / 0.5572 GB, free: 17.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.6897, allocations: 2.484 kB / 0.5572 GB, free: 17.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009341/0.6906, allocations: 390.6 kB / 0.5576 GB, free: 16.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000105/0.6908, allocations: 37.14 kB / 0.5576 GB, free: 16.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/0.6911, allocations: 36.23 kB / 0.5577 GB, free: 16.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.6911, allocations: 0 / 0.5577 GB, free: 16.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.758e-05/0.6911, allocations: 7.844 kB / 0.5577 GB, free: 16.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.6911, allocations: 3.141 kB / 0.5577 GB, free: 16.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.6912, allocations: 3.844 kB / 0.5577 GB, free: 16.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.6926, allocations: 0.6574 MB / 0.5583 GB, free: 16.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/0.6929, allocations: 122.8 kB / 0.5584 GB, free: 16.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.693, allocations: 3.812 kB / 0.5584 GB, free: 16.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005113/0.6935, allocations: 29.59 kB / 0.5585 GB, free: 16.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.6937, allocations: 21.77 kB / 0.5585 GB, free: 16.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.424e-05/0.6937, allocations: 14.75 kB / 0.5585 GB, free: 16.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000644/0.6944, allocations: 393.3 kB / 0.5589 GB, free: 16.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6944, allocations: 0 / 0.5589 GB, free: 16.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009398/0.6953, allocations: 142 kB / 0.559 GB, free: 16.27 MB / 378.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.002125/0.6975, allocations: 1.457 MB / 0.5604 GB, free: 15.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001588/0.6991, allocations: 0.6872 MB / 0.5611 GB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.6991, allocations: 0 / 0.5611 GB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007978/0.6999, allocations: 496.5 kB / 0.5616 GB, free: 14.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009656/0.7009, allocations: 108.1 kB / 0.5617 GB, free: 14.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007835/0.7088, allocations: 5.657 MB / 0.5672 GB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.7099, allocations: 0.8714 MB / 0.5681 GB, free: 26.23 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004636/0.7104, allocations: 83.5 kB / 0.5681 GB, free: 26.22 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.7106, allocations: 115.7 kB / 0.5682 GB, free: 26.21 MB / 394.7 MB Notification: Performance of SimCode: time 1.443e-06/0.7106, allocations: 1.469 kB / 0.5682 GB, free: 26.21 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05357/0.7642, allocations: 12.65 MB / 0.5806 GB, free: 21.71 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002652/0.7645, allocations: 215.6 kB / 0.5808 GB, free: 21.48 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.87/3.635, allocations: 0 / 0.5808 GB, free: 21.48 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_laminar_res.mat does not exist to compare? outputFormat=mat