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.001437/0.001437, allocations: 105 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.001516/0.001516, allocations: 216.2 kB / 22.92 MB, free: 5.195 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.294/1.294, allocations: 230.2 MB / 256.1 MB, free: 8.594 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.2003/0.2003, allocations: 46.89 MB / 359.3 MB, free: 4.977 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.002179/0.002179, allocations: 79.86 kB / 0.494 GB, free: 9.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2617, allocations: 65.99 MB / 0.5584 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.003183/0.2649, allocations: 2.225 MB / 0.5606 GB, free: 2.969 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004516/0.2694, allocations: 3.372 MB / 0.5639 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.597e-05/0.2695, allocations: 0 / 0.5639 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003485/0.2698, allocations: 97.25 kB / 0.564 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.2701, allocations: 143.2 kB / 0.5641 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001609/0.2717, allocations: 0.8915 MB / 0.565 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005771/0.2723, allocations: 0.5709 MB / 0.5656 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.184e-05/0.2724, allocations: 33.69 kB / 0.5656 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003084/0.2727, allocations: 246.6 kB / 0.5658 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003476/0.273, allocations: 282.5 kB / 0.5661 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.143e-05/0.2731, allocations: 16 kB / 0.5661 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002624/0.2757, allocations: 1.984 MB / 0.5681 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.2758, allocations: 143.2 kB / 0.5682 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000255/0.2761, allocations: 282 kB / 0.5685 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00204/0.2781, allocations: 1.701 MB / 0.5701 GB, free: 9.191 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2781, allocations: 0 / 0.5701 GB, free: 9.191 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.2781, allocations: 4 kB / 0.5701 GB, free: 9.188 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.2782, allocations: 0 / 0.5701 GB, free: 9.188 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.001721/0.2799, allocations: 1.059 MB / 0.5712 GB, free: 8.078 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2799, allocations: 8.031 kB / 0.5712 GB, free: 8.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001667/0.2801, allocations: 148.1 kB / 0.5713 GB, free: 7.918 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.2802, allocations: 76.47 kB / 0.5714 GB, free: 7.844 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004526/0.2807, allocations: 358.5 kB / 0.5717 GB, free: 7.453 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.455e-05/0.2807, allocations: 54 kB / 0.5718 GB, free: 7.398 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.2808, allocations: 68 kB / 0.5718 GB, free: 7.332 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.2825, allocations: 1.233 MB / 0.573 GB, free: 6.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.2826, allocations: 0 / 0.573 GB, free: 6.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.563e-05/0.2826, allocations: 28 kB / 0.5731 GB, free: 6.062 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.849e-05/0.2827, allocations: 81.95 kB / 0.5732 GB, free: 5.984 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00245/0.2852, allocations: 1.722 MB / 0.5748 GB, free: 4.262 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004099/0.2893, allocations: 2.932 MB / 0.5777 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008376/0.2901, allocations: 408.6 kB / 0.5781 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002591/0.2904, allocations: 129.3 kB / 0.5782 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.2904, allocations: 8.281 kB / 0.5782 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.2904, allocations: 46.77 kB / 0.5783 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.834e-06/0.2904, allocations: 0 / 0.5783 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009375/0.2914, allocations: 479.4 kB / 0.5787 GB, free: 108 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.2914, allocations: 63.28 kB / 0.5788 GB, free: 32 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.2916, allocations: 210.6 kB / 0.579 GB, free: 15.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.2917, allocations: 29.7 kB / 0.579 GB, free: 15.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.2919, allocations: 403.5 kB / 0.5794 GB, free: 15.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.292, allocations: 130.9 kB / 0.5795 GB, free: 15.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.2922, allocations: 126.1 kB / 0.5796 GB, free: 15.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.2923, allocations: 330.8 kB / 0.58 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002759/0.2926, allocations: 149 kB / 0.5801 GB, free: 14.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/0.293, allocations: 350.3 kB / 0.5804 GB, free: 14.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007473/0.2938, allocations: 0.5249 MB / 0.5809 GB, free: 13.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.2938, allocations: 8 kB / 0.581 GB, free: 13.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008861/0.2946, allocations: 0.5476 MB / 0.5815 GB, free: 13.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.2947, allocations: 10.19 kB / 0.5815 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.2947, allocations: 4 kB / 0.5815 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.2947, allocations: 12 kB / 0.5815 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006934/0.2954, allocations: 208.3 kB / 0.5817 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/0.297, allocations: 2.997 MB / 0.5846 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.2973, allocations: 55.66 kB / 0.5847 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/0.2973, allocations: 32 kB / 0.5847 GB, free: 9.602 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.0002971/0.2976, allocations: 273.6 kB / 0.585 GB, free: 9.324 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.989e-05/0.2977, allocations: 27.86 kB / 0.585 GB, free: 9.297 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.2988, allocations: 0.558 MB / 0.5856 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.2988, allocations: 4 kB / 0.5856 GB, free: 8.738 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2988, allocations: 0 / 0.5856 GB, free: 8.738 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2988, allocations: 0 / 0.5856 GB, free: 8.738 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.3004, allocations: 1.166 MB / 0.5867 GB, free: 7.492 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.3004, allocations: 4 kB / 0.5867 GB, free: 7.488 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005905/0.301, allocations: 180 kB / 0.5869 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.301, allocations: 4 kB / 0.5869 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.301, allocations: 19.98 kB / 0.5869 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/0.3026, allocations: 2.957 MB / 0.5898 GB, free: 4.215 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.3026, allocations: 7.969 kB / 0.5898 GB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006849/0.3033, allocations: 0.4904 MB / 0.5903 GB, free: 3.676 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.492e-05/0.3033, allocations: 108.8 kB / 0.5904 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/0.3034, allocations: 11.94 kB / 0.5904 GB, free: 3.539 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.3036, allocations: 15.94 kB / 0.5904 GB, free: 3.523 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.832e-05/0.3036, allocations: 43.89 kB / 0.5904 GB, free: 3.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.3037, allocations: 16 kB / 0.5905 GB, free: 3.465 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.947e-05/0.3038, allocations: 139.5 kB / 0.5906 GB, free: 3.328 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3038, allocations: 0 / 0.5906 GB, free: 3.328 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008785/0.3046, allocations: 362.3 kB / 0.5909 GB, free: 2.973 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.001531/0.3062, allocations: 1.3 MB / 0.5922 GB, free: 1.621 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009892/0.3072, allocations: 465 kB / 0.5926 GB, free: 1.168 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3072, allocations: 0 / 0.5926 GB, free: 1.168 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005802/0.3077, allocations: 248.5 kB / 0.5929 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.3081, allocations: 40.47 kB / 0.5929 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004731/0.3128, allocations: 3.993 MB / 0.5968 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005641/0.3134, allocations: 0.9829 MB / 0.5978 GB, free: 11.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003849/0.3138, allocations: 178.5 kB / 0.598 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/0.314, allocations: 211.4 kB / 0.5982 GB, free: 11.2 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.314, allocations: 0 / 0.5982 GB, free: 11.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03705/0.3511, allocations: 12.77 MB / 0.6106 GB, free: 14.55 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11, allocations: 2.188 kB / 0.6106 GB, free: 14.55 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.578929035007604]