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.Bend.dp_edgedOverall_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.001434/0.001434, allocations: 106.5 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.00161/0.00161, allocations: 215.6 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.289/1.289, allocations: 230.2 MB / 256.2 MB, free: 8.57 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.2011/0.2011, allocations: 46.89 MB / 359.3 MB, free: 4.945 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.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_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.0021/0.0021, allocations: 83.86 kB / 0.494 GB, free: 9.066 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2524, allocations: 65.98 MB / 0.5584 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.002789/0.2552, allocations: 1.804 MB / 0.5602 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002701/0.2579, allocations: 1.942 MB / 0.5621 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.118e-05/0.258, allocations: 0 / 0.5621 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.2582, allocations: 43.75 kB / 0.5621 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002269/0.2584, allocations: 79.62 kB / 0.5622 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009521/0.2594, allocations: 0.5721 MB / 0.5628 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000261/0.2597, allocations: 242.7 kB / 0.563 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.867e-05/0.2597, allocations: 5.688 kB / 0.563 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.2599, allocations: 115.5 kB / 0.5631 GB, free: 392 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.26, allocations: 111.5 kB / 0.5632 GB, free: 280 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.2601, allocations: 11.94 kB / 0.5632 GB, free: 268 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.2616, allocations: 1.17 MB / 0.5644 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.044e-05/0.2617, allocations: 63.69 kB / 0.5644 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.2618, allocations: 111.3 kB / 0.5645 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.2628, allocations: 0.8113 MB / 0.5653 GB, free: 14.11 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2628, allocations: 8 kB / 0.5653 GB, free: 14.1 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2629, allocations: 0 / 0.5653 GB, free: 14.1 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.2629, allocations: 0 / 0.5653 GB, free: 14.1 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0008719/0.2637, allocations: 0.6071 MB / 0.5659 GB, free: 13.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.2638, allocations: 8.031 kB / 0.5659 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.097e-05/0.2638, allocations: 70.7 kB / 0.566 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/0.2639, allocations: 28.75 kB / 0.566 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.2641, allocations: 231.5 kB / 0.5663 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.2642, allocations: 24.42 kB / 0.5663 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.2642, allocations: 19.98 kB / 0.5663 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005673/0.2648, allocations: 368.4 kB / 0.5667 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.2648, allocations: 0 / 0.5667 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.2648, allocations: 11.98 kB / 0.5667 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.357e-05/0.2649, allocations: 40.62 kB / 0.5667 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006226/0.2655, allocations: 386.3 kB / 0.5671 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.2668, allocations: 1.016 MB / 0.5681 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005741/0.2674, allocations: 272.9 kB / 0.5683 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.2676, allocations: 84.8 kB / 0.5684 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.926e-05/0.2676, allocations: 16.05 kB / 0.5684 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.2676, allocations: 34.56 kB / 0.5685 GB, free: 10.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=21): time 1.734e-06/0.2676, allocations: 0 / 0.5685 GB, free: 10.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=21): time 0.000726/0.2684, allocations: 320.3 kB / 0.5688 GB, free: 10.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.2684, allocations: 63.34 kB / 0.5688 GB, free: 10.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.2686, allocations: 231.8 kB / 0.569 GB, free: 10.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.2686, allocations: 33.64 kB / 0.5691 GB, free: 10.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.532e-05/0.2687, allocations: 152.4 kB / 0.5692 GB, free: 9.871 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.943e-05/0.2688, allocations: 71.39 kB / 0.5693 GB, free: 9.801 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.409e-05/0.2689, allocations: 45.7 kB / 0.5693 GB, free: 9.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.269, allocations: 334.8 kB / 0.5696 GB, free: 9.414 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.2692, allocations: 83.92 kB / 0.5697 GB, free: 9.332 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.2694, allocations: 105.8 kB / 0.5698 GB, free: 9.223 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/0.2698, allocations: 201.8 kB / 0.57 GB, free: 9.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2698, allocations: 4 kB / 0.57 GB, free: 9.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004942/0.2703, allocations: 257.3 kB / 0.5703 GB, free: 8.758 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.2703, allocations: 11.94 kB / 0.5703 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.2703, allocations: 0 / 0.5703 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.2703, allocations: 3.938 kB / 0.5703 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/0.2707, allocations: 91.94 kB / 0.5704 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.272, allocations: 2.383 MB / 0.5727 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.2722, allocations: 31.8 kB / 0.5727 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.2722, allocations: 15.94 kB / 0.5727 GB, free: 6.129 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.2724, allocations: 165.7 kB / 0.5729 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.2724, allocations: 23.86 kB / 0.5729 GB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007011/0.2731, allocations: 343.5 kB / 0.5733 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.2731, allocations: 4 kB / 0.5733 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2731, allocations: 0 / 0.5733 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2731, allocations: 0 / 0.5733 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00035/0.2735, allocations: 317.4 kB / 0.5736 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2735, allocations: 0 / 0.5736 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003848/0.2739, allocations: 95.89 kB / 0.5737 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2739, allocations: 0 / 0.5737 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.2739, allocations: 8 kB / 0.5737 GB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/0.2752, allocations: 2.391 MB / 0.576 GB, free: 2.637 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2752, allocations: 0 / 0.576 GB, free: 2.637 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005469/0.2757, allocations: 355.8 kB / 0.5763 GB, free: 2.273 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.2759, allocations: 132.8 kB / 0.5765 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.2759, allocations: 4 kB / 0.5765 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.2761, allocations: 12.08 kB / 0.5765 GB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.2761, allocations: 19.98 kB / 0.5765 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.2761, allocations: 11.98 kB / 0.5765 GB, free: 2.078 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001448/0.2763, allocations: 169.5 kB / 0.5767 GB, free: 1.914 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2763, allocations: 0 / 0.5767 GB, free: 1.914 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004671/0.2767, allocations: 179.2 kB / 0.5768 GB, free: 1.738 MB / 414.1 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001187/0.2779, allocations: 1.036 MB / 0.5778 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006826/0.2786, allocations: 259.7 kB / 0.5781 GB, free: 432 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2786, allocations: 0 / 0.5781 GB, free: 432 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004353/0.279, allocations: 159.8 kB / 0.5782 GB, free: 272 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.2794, allocations: 47.86 kB / 0.5783 GB, free: 224 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/0.2828, allocations: 2.836 MB / 0.5811 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.2832, allocations: 0.787 MB / 0.5818 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001927/0.2834, allocations: 81.77 kB / 0.5819 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.2836, allocations: 87.39 kB / 0.582 GB, free: 12.3 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2836, allocations: 0 / 0.582 GB, free: 12.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/0.3157, allocations: 8.861 MB / 0.5906 GB, free: 3.574 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.75, allocations: 4.062 kB / 0.5907 GB, free: 3.57 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.289867639003205]