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_turbulent_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_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_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.0235/0.0235, allocations: 174.2 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.181/2.181, 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.002918/0.002917, allocations: 108.7 kB / 255.6 MB, free: 10.43 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.2502/0.2502, allocations: 40.01 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005018/0.0005017, allocations: 15.12 kB / 406.3 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1316, allocations: 54.88 MB / 461.2 MB, free: 3.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5784/0.7101, allocations: 86.87 MB / 0.5352 GB, free: 27.42 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003853/0.7105, allocations: 101.5 kB / 0.5353 GB, free: 27.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04287/0.7534, allocations: 9.386 MB / 0.5445 GB, free: 26.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.7535, allocations: 1.312 kB / 0.5445 GB, free: 26.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.874e-05/0.7535, allocations: 8.562 kB / 0.5445 GB, free: 26.05 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.001227/0.7547, allocations: 0.5887 MB / 0.545 GB, free: 25.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.7548, allocations: 9.281 kB / 0.545 GB, free: 25.58 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001467/0.7549, allocations: 86.02 kB / 0.5451 GB, free: 25.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.7551, allocations: 42.86 kB / 0.5452 GB, free: 25.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004844/0.7556, allocations: 278.8 kB / 0.5454 GB, free: 25.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.638e-05/0.7556, allocations: 30.77 kB / 0.5455 GB, free: 25.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.7558, allocations: 39.94 kB / 0.5455 GB, free: 25.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.7572, allocations: 0.539 MB / 0.546 GB, free: 25.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.7573, allocations: 0 / 0.546 GB, free: 25.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.842e-05/0.7574, allocations: 17.94 kB / 0.546 GB, free: 25.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.767e-05/0.7575, allocations: 37.06 kB / 0.5461 GB, free: 25.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.7591, allocations: 0.5762 MB / 0.5466 GB, free: 25.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003094/0.7623, allocations: 1.201 MB / 0.5478 GB, free: 24.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.7636, allocations: 383 kB / 0.5482 GB, free: 24.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.956e-05/0.7637, allocations: 7.375 kB / 0.5482 GB, free: 24.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.7637, allocations: 37.28 kB / 0.5482 GB, free: 24.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 3.998e-06/0.7637, allocations: 96 / 0.5482 GB, free: 24.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001702/0.7654, allocations: 477.8 kB / 0.5487 GB, free: 24.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.7655, allocations: 57.77 kB / 0.5487 GB, free: 24.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007584/0.7663, allocations: 408.9 kB / 0.5491 GB, free: 24.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.635e-05/0.7663, allocations: 37.23 kB / 0.5492 GB, free: 24.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.7665, allocations: 185 kB / 0.5493 GB, free: 24.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.7666, allocations: 78.64 kB / 0.5494 GB, free: 24.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.7667, allocations: 5.406 kB / 0.5494 GB, free: 24.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.7668, allocations: 347.1 kB / 0.5498 GB, free: 24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000436/0.7673, allocations: 120.6 kB / 0.5499 GB, free: 24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004088/0.7677, allocations: 122.5 kB / 0.55 GB, free: 23.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004708/0.7682, allocations: 135.3 kB / 0.5501 GB, free: 23.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.7682, allocations: 0 / 0.5501 GB, free: 23.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001159/0.7694, allocations: 348.1 kB / 0.5504 GB, free: 23.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.7694, allocations: 4.562 kB / 0.5504 GB, free: 23.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.7694, allocations: 0 / 0.5504 GB, free: 23.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.7695, allocations: 1.438 kB / 0.5504 GB, free: 23.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.7709, allocations: 151.4 kB / 0.5506 GB, free: 23.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00368/0.7746, allocations: 5.524 MB / 0.556 GB, free: 34.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005534/0.7752, allocations: 48.84 kB / 0.556 GB, free: 34.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/0.7753, allocations: 9.281 kB / 0.556 GB, free: 34.61 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.0003836/0.7757, allocations: 193.4 kB / 0.5562 GB, free: 34.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.712e-05/0.7758, allocations: 33.31 kB / 0.5563 GB, free: 34.47 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.7773, allocations: 462.3 kB / 0.5567 GB, free: 34.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.7773, allocations: 3.938 kB / 0.5567 GB, free: 34.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.7773, allocations: 0 / 0.5567 GB, free: 34.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.7774, allocations: 10.02 kB / 0.5567 GB, free: 34.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007637/0.7781, allocations: 375.8 kB / 0.5571 GB, free: 34.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.7782, allocations: 0 / 0.5571 GB, free: 34.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/0.7795, allocations: 151 kB / 0.5572 GB, free: 34.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.739e-06/0.7795, allocations: 3.906 kB / 0.5572 GB, free: 34.19 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.046e-05/0.7796, allocations: 10.83 kB / 0.5572 GB, free: 34.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003742/0.7833, allocations: 5.518 MB / 0.5626 GB, free: 28.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.7834, allocations: 4.234 kB / 0.5626 GB, free: 28.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.7845, allocations: 450 kB / 0.5631 GB, free: 28.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001968/0.7848, allocations: 119.9 kB / 0.5632 GB, free: 28.62 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.669e-05/0.7849, allocations: 3.438 kB / 0.5632 GB, free: 28.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003523/0.7852, allocations: 19.16 kB / 0.5632 GB, free: 28.61 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.801e-05/0.7853, allocations: 26.03 kB / 0.5632 GB, free: 28.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-05/0.7854, allocations: 14.88 kB / 0.5632 GB, free: 28.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005192/0.7859, allocations: 336.5 kB / 0.5635 GB, free: 28.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7859, allocations: 0 / 0.5635 GB, free: 28.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006152/0.7865, allocations: 108.1 kB / 0.5637 GB, free: 28.5 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.001679/0.7882, allocations: 1.054 MB / 0.5647 GB, free: 27.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001836/0.7901, allocations: 383.2 kB / 0.565 GB, free: 27.79 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.7901, allocations: 0 / 0.565 GB, free: 27.79 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.7915, allocations: 247.3 kB / 0.5653 GB, free: 27.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007337/0.7923, allocations: 92.33 kB / 0.5654 GB, free: 27.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005464/0.7978, allocations: 2.612 MB / 0.5679 GB, free: 27.03 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005438/0.7984, allocations: 0.8617 MB / 0.5688 GB, free: 26.33 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004089/0.7988, allocations: 78.64 kB / 0.5688 GB, free: 26.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.799, allocations: 107.7 kB / 0.5689 GB, free: 26.32 MB / 394.7 MB Notification: Performance of SimCode: time 2.715e-06/0.799, allocations: 0 / 0.5689 GB, free: 26.32 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04276/0.8418, allocations: 10.76 MB / 0.5795 GB, free: 24.99 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/0.8421, allocations: 248.8 kB / 0.5797 GB, free: 24.66 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.121/3.963, allocations: 11.91 kB / 0.5797 GB, free: 24.65 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_turbulent_KC_res.mat does not exist to compare? outputFormat=mat