Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.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.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01334/0.01334, allocations: 176.7 kB / 15.12 MB, free: 5.988 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.146/2.146, 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.001991/0.00199, allocations: 116.7 kB / 255.6 MB, free: 10.24 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.2838/0.2838, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004922/0.0004923, allocations: 9.781 kB / 406.3 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1153, allocations: 54.87 MB / 461.2 MB, free: 3.191 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4943/0.6096, allocations: 86.81 MB / 0.5351 GB, free: 27.21 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003707/0.6101, allocations: 100.2 kB / 0.5352 GB, free: 27.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04152/0.6516, allocations: 9.348 MB / 0.5444 GB, free: 25.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6516, allocations: 4 kB / 0.5444 GB, free: 25.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.8e-05/0.6517, allocations: 4.5 kB / 0.5444 GB, free: 25.85 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001143/0.6528, allocations: 0.5822 MB / 0.5449 GB, free: 25.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.6529, allocations: 9.031 kB / 0.5449 GB, free: 25.38 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001218/0.653, allocations: 91.06 kB / 0.545 GB, free: 25.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.881e-05/0.6531, allocations: 42.36 kB / 0.5451 GB, free: 25.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004852/0.6536, allocations: 278.1 kB / 0.5453 GB, free: 25.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.531e-05/0.6537, allocations: 30.81 kB / 0.5454 GB, free: 25.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.765e-05/0.6538, allocations: 35.84 kB / 0.5454 GB, free: 25.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.6551, allocations: 0.5389 MB / 0.5459 GB, free: 25.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.6551, allocations: 2 kB / 0.5459 GB, free: 25.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.862e-05/0.6552, allocations: 17.53 kB / 0.5459 GB, free: 25.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.099e-05/0.6553, allocations: 37.58 kB / 0.546 GB, free: 25.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.6568, allocations: 0.5781 MB / 0.5465 GB, free: 25.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002979/0.6598, allocations: 1.193 MB / 0.5477 GB, free: 24.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.661, allocations: 379.5 kB / 0.5481 GB, free: 24.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.565e-05/0.6611, allocations: 15.27 kB / 0.5481 GB, free: 24.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.6612, allocations: 35.5 kB / 0.5481 GB, free: 24.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 2.705e-06/0.6612, allocations: 0 / 0.5481 GB, free: 24.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001721/0.6629, allocations: 479.3 kB / 0.5486 GB, free: 24.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.663, allocations: 57.89 kB / 0.5486 GB, free: 24.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007749/0.6638, allocations: 411 kB / 0.549 GB, free: 24.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.6638, allocations: 31.2 kB / 0.549 GB, free: 24.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.664, allocations: 185.1 kB / 0.5492 GB, free: 24.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.963e-05/0.6641, allocations: 77.83 kB / 0.5493 GB, free: 24.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.6641, allocations: 8.781 kB / 0.5493 GB, free: 24.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.6643, allocations: 351.3 kB / 0.5496 GB, free: 23.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000432/0.6647, allocations: 119.2 kB / 0.5498 GB, free: 23.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000418/0.6651, allocations: 119.9 kB / 0.5499 GB, free: 23.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005111/0.6657, allocations: 134.7 kB / 0.55 GB, free: 23.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.6657, allocations: 0 / 0.55 GB, free: 23.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001217/0.6669, allocations: 345.4 kB / 0.5503 GB, free: 23.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.667, allocations: 4.969 kB / 0.5503 GB, free: 23.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.667, allocations: 0 / 0.5503 GB, free: 23.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.667, allocations: 5.375 kB / 0.5503 GB, free: 23.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.6684, allocations: 153.8 kB / 0.5505 GB, free: 23.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003847/0.6723, allocations: 5.525 MB / 0.5559 GB, free: 34.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005433/0.6728, allocations: 53.08 kB / 0.5559 GB, free: 34.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.447e-05/0.6729, allocations: 10.75 kB / 0.5559 GB, free: 34.39 MB / 394.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.0003883/0.6733, allocations: 186.1 kB / 0.5561 GB, free: 34.28 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-05/0.6734, allocations: 33.08 kB / 0.5562 GB, free: 34.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/0.6749, allocations: 465.1 kB / 0.5566 GB, free: 34.19 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.675, allocations: 7.328 kB / 0.5566 GB, free: 34.19 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.675, allocations: 0 / 0.5566 GB, free: 34.19 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.675, allocations: 5.922 kB / 0.5566 GB, free: 34.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008004/0.6758, allocations: 372.2 kB / 0.557 GB, free: 33.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.6758, allocations: 4 kB / 0.557 GB, free: 33.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/0.6771, allocations: 155.2 kB / 0.5571 GB, free: 33.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.6771, allocations: 0 / 0.5571 GB, free: 33.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.791e-05/0.6772, allocations: 12.69 kB / 0.5571 GB, free: 33.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003869/0.681, allocations: 5.519 MB / 0.5625 GB, free: 28.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.6811, allocations: 3.953 kB / 0.5625 GB, free: 28.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.6823, allocations: 453 kB / 0.563 GB, free: 28.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.6826, allocations: 115.9 kB / 0.5631 GB, free: 28.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.652e-05/0.6827, allocations: 3.688 kB / 0.5631 GB, free: 28.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/0.6831, allocations: 15.11 kB / 0.5631 GB, free: 28.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.6832, allocations: 15 kB / 0.5631 GB, free: 28.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.829e-05/0.6833, allocations: 15.38 kB / 0.5631 GB, free: 28.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005297/0.6838, allocations: 341.1 kB / 0.5634 GB, free: 28.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6838, allocations: 0 / 0.5634 GB, free: 28.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005976/0.6844, allocations: 115.9 kB / 0.5635 GB, free: 28.3 MB / 394.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.001654/0.6861, allocations: 1.052 MB / 0.5646 GB, free: 27.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001799/0.6879, allocations: 378.8 kB / 0.5649 GB, free: 27.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.688, allocations: 0 / 0.5649 GB, free: 27.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001368/0.6893, allocations: 242.8 kB / 0.5652 GB, free: 27.58 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006951/0.69, allocations: 92.72 kB / 0.5653 GB, free: 27.56 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005227/0.6953, allocations: 2.618 MB / 0.5678 GB, free: 26.83 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005076/0.6958, allocations: 0.8535 MB / 0.5686 GB, free: 26.14 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003509/0.6962, allocations: 85.3 kB / 0.5687 GB, free: 26.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.6964, allocations: 106.8 kB / 0.5688 GB, free: 26.12 MB / 394.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6964, allocations: 0 / 0.5688 GB, free: 26.12 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03778/0.7342, allocations: 10.8 MB / 0.5794 GB, free: 24.79 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/0.7344, allocations: 242.6 kB / 0.5796 GB, free: 24.46 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.128/3.863, allocations: 0 / 0.5796 GB, free: 24.46 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat