Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001175/0.001175, allocations: 105.7 kB / 19.74 MB, free: 2.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001269/0.001269, allocations: 214.8 kB / 22.92 MB, free: 5.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 230.2 MB / 256.2 MB, free: 8.582 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2033/0.2033, allocations: 46.89 MB / 359.3 MB, free: 5.059 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 75.88 kB / 0.494 GB, free: 9.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2644, allocations: 65.99 MB / 0.5584 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.003174/0.2676, allocations: 2.234 MB / 0.5606 GB, free: 2.965 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004411/0.272, allocations: 3.361 MB / 0.5639 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.293e-05/0.2721, allocations: 4 kB / 0.5639 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003465/0.2724, allocations: 97.25 kB / 0.564 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003068/0.2727, allocations: 143.2 kB / 0.5641 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.2742, allocations: 0.8915 MB / 0.565 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005456/0.2748, allocations: 0.5748 MB / 0.5656 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.818e-05/0.2748, allocations: 25.77 kB / 0.5656 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002927/0.2751, allocations: 246.5 kB / 0.5658 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/0.2755, allocations: 290.4 kB / 0.5661 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.442e-05/0.2755, allocations: 16 kB / 0.5661 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002619/0.2781, allocations: 1.981 MB / 0.5681 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.2783, allocations: 143.2 kB / 0.5682 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002444/0.2785, allocations: 274 kB / 0.5685 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001994/0.2805, allocations: 1.705 MB / 0.5701 GB, free: 9.199 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.2805, allocations: 3.938 kB / 0.5701 GB, free: 9.195 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2805, allocations: 0 / 0.5701 GB, free: 9.195 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.2805, allocations: 4 kB / 0.5701 GB, free: 9.191 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001679/0.2822, allocations: 1.063 MB / 0.5712 GB, free: 8.078 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.2822, allocations: 8.031 kB / 0.5712 GB, free: 8.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001567/0.2824, allocations: 148.1 kB / 0.5713 GB, free: 7.918 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.2825, allocations: 76.47 kB / 0.5714 GB, free: 7.844 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.2829, allocations: 358.5 kB / 0.5717 GB, free: 7.453 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.432e-05/0.283, allocations: 54 kB / 0.5718 GB, free: 7.398 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.2831, allocations: 71.98 kB / 0.5719 GB, free: 7.328 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.2848, allocations: 1.221 MB / 0.573 GB, free: 6.098 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.2848, allocations: 4 kB / 0.5731 GB, free: 6.094 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.473e-05/0.2849, allocations: 35.92 kB / 0.5731 GB, free: 6.059 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.844e-05/0.285, allocations: 85.94 kB / 0.5732 GB, free: 5.977 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002436/0.2874, allocations: 1.718 MB / 0.5748 GB, free: 4.258 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00411/0.2915, allocations: 2.928 MB / 0.5777 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008199/0.2923, allocations: 404.6 kB / 0.5781 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.2926, allocations: 129.3 kB / 0.5782 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.2926, allocations: 8.281 kB / 0.5782 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.2927, allocations: 38.78 kB / 0.5783 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.753e-06/0.2927, allocations: 4 kB / 0.5783 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009416/0.2936, allocations: 483.4 kB / 0.5787 GB, free: 112 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.2936, allocations: 59.34 kB / 0.5788 GB, free: 40 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.2938, allocations: 206.5 kB / 0.579 GB, free: 15.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.2939, allocations: 29.7 kB / 0.579 GB, free: 15.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/0.2941, allocations: 407.5 kB / 0.5794 GB, free: 15.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.626e-05/0.2942, allocations: 127 kB / 0.5795 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.2943, allocations: 122.1 kB / 0.5796 GB, free: 15.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2945, allocations: 338.8 kB / 0.58 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/0.2948, allocations: 152.9 kB / 0.5801 GB, free: 14.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004314/0.2952, allocations: 342.4 kB / 0.5804 GB, free: 14.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007558/0.2959, allocations: 0.5326 MB / 0.5809 GB, free: 13.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.296, allocations: 0 / 0.5809 GB, free: 13.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000894/0.2968, allocations: 0.5401 MB / 0.5815 GB, free: 13.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.2969, allocations: 8 kB / 0.5815 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.2969, allocations: 8 kB / 0.5815 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.2969, allocations: 11.98 kB / 0.5815 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006839/0.2976, allocations: 211.7 kB / 0.5817 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.2993, allocations: 2.997 MB / 0.5846 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.2995, allocations: 55.66 kB / 0.5847 GB, free: 9.645 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/0.2996, allocations: 32 kB / 0.5847 GB, free: 9.613 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (geometry[5],roughness,geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003271/0.2999, allocations: 273.6 kB / 0.585 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/0.3, allocations: 31.86 kB / 0.585 GB, free: 9.305 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.3011, allocations: 0.5503 MB / 0.5855 GB, free: 8.758 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3011, allocations: 4 kB / 0.5855 GB, free: 8.754 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3011, allocations: 0 / 0.5855 GB, free: 8.754 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3011, allocations: 3.984 kB / 0.5855 GB, free: 8.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.3028, allocations: 1.17 MB / 0.5867 GB, free: 7.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3028, allocations: 4 kB / 0.5867 GB, free: 7.496 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005976/0.3034, allocations: 175.8 kB / 0.5869 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.3034, allocations: 4.25 kB / 0.5869 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.3034, allocations: 20 kB / 0.5869 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001586/0.305, allocations: 2.961 MB / 0.5898 GB, free: 4.223 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.305, allocations: 8.016 kB / 0.5898 GB, free: 4.215 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006868/0.3057, allocations: 0.4942 MB / 0.5903 GB, free: 3.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.534e-05/0.3058, allocations: 108.8 kB / 0.5904 GB, free: 3.555 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.3058, allocations: 11.94 kB / 0.5904 GB, free: 3.543 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.306, allocations: 19.98 kB / 0.5904 GB, free: 3.523 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.868e-05/0.3061, allocations: 35.94 kB / 0.5904 GB, free: 3.488 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.3061, allocations: 20 kB / 0.5905 GB, free: 3.469 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.3062, allocations: 135.5 kB / 0.5906 GB, free: 3.336 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3062, allocations: 4 kB / 0.5906 GB, free: 3.332 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009161/0.3071, allocations: 358.3 kB / 0.5909 GB, free: 2.98 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001535/0.3086, allocations: 1.296 MB / 0.5922 GB, free: 1.633 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.3096, allocations: 469 kB / 0.5926 GB, free: 1.176 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3096, allocations: 0 / 0.5926 GB, free: 1.176 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005862/0.3102, allocations: 248.5 kB / 0.5929 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.3106, allocations: 32 kB / 0.5929 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004755/0.3153, allocations: 4.003 MB / 0.5968 GB, free: 12.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005747/0.3159, allocations: 0.9945 MB / 0.5978 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003794/0.3163, allocations: 166.5 kB / 0.598 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/0.3165, allocations: 211.3 kB / 0.5982 GB, free: 11.2 MB / 446.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3165, allocations: 4 kB / 0.5982 GB, free: 11.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03712/0.3536, allocations: 12.76 MB / 0.6106 GB, free: 14.57 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.01, allocations: 9.812 kB / 0.6106 GB, free: 14.57 MB / 462.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201879 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.642872587995953]