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.General.dp_nominalPressureLossLawDensity_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.001425/0.001425, allocations: 105 kB / 19.74 MB, free: 2.562 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.001494/0.001494, allocations: 216.8 kB / 22.92 MB, free: 5.551 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.59 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.1992/0.1992, allocations: 46.89 MB / 359.3 MB, free: 4.969 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.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_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.002261/0.002261, allocations: 83.86 kB / 0.494 GB, free: 9.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2559, allocations: 65.99 MB / 0.5584 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.00301/0.259, allocations: 1.941 MB / 0.5603 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.2607, allocations: 1.15 MB / 0.5615 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.949e-05/0.2607, allocations: 0 / 0.5615 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000288/0.261, allocations: 69.44 kB / 0.5615 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.2612, allocations: 75.52 kB / 0.5616 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.2616, allocations: 151.4 kB / 0.5618 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002955/0.2619, allocations: 266.4 kB / 0.562 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.37e-05/0.2619, allocations: 12.75 kB / 0.562 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.2621, allocations: 103.4 kB / 0.5621 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.2623, allocations: 127.3 kB / 0.5622 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.2623, allocations: 11.98 kB / 0.5622 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004895/0.2628, allocations: 315.5 kB / 0.5625 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.453e-05/0.2629, allocations: 55.64 kB / 0.5626 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.263, allocations: 115.2 kB / 0.5627 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005272/0.2635, allocations: 434.1 kB / 0.5631 GB, free: 396 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2635, allocations: 0 / 0.5631 GB, free: 396 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2635, allocations: 0 / 0.5631 GB, free: 396 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.2635, allocations: 4 kB / 0.5631 GB, free: 392 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0007336/0.2643, allocations: 0.5809 MB / 0.5637 GB, free: 15.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.2643, allocations: 9.109 kB / 0.5637 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.102e-05/0.2644, allocations: 78.7 kB / 0.5638 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/0.2644, allocations: 36.64 kB / 0.5638 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.2647, allocations: 232 kB / 0.564 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.2647, allocations: 28.92 kB / 0.5641 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/0.2647, allocations: 36 kB / 0.5641 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006979/0.2654, allocations: 497.3 kB / 0.5646 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.2655, allocations: 0 / 0.5646 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.2655, allocations: 12 kB / 0.5646 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.065e-05/0.2655, allocations: 28.97 kB / 0.5646 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006336/0.2662, allocations: 431.6 kB / 0.565 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.2677, allocations: 1.197 MB / 0.5662 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.2679, allocations: 70.53 kB / 0.5663 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.268, allocations: 40.83 kB / 0.5663 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.268, allocations: 0 / 0.5663 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.268, allocations: 38.5 kB / 0.5663 GB, free: 12.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.268, allocations: 0 / 0.5663 GB, free: 12.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004538/0.2685, allocations: 161.9 kB / 0.5665 GB, free: 12.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.2685, allocations: 55.34 kB / 0.5665 GB, free: 12.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.2687, allocations: 167.1 kB / 0.5667 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.2687, allocations: 25.7 kB / 0.5667 GB, free: 12.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.2689, allocations: 231.9 kB / 0.5669 GB, free: 12.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.2689, allocations: 27.75 kB / 0.567 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.141e-05/0.269, allocations: 53.7 kB / 0.567 GB, free: 12.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.2691, allocations: 322.8 kB / 0.5673 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.2692, allocations: 51.95 kB / 0.5674 GB, free: 11.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.2695, allocations: 180.2 kB / 0.5676 GB, free: 11.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003801/0.2698, allocations: 240 kB / 0.5678 GB, free: 11.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.2699, allocations: 4 kB / 0.5678 GB, free: 11.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004562/0.2703, allocations: 249.3 kB / 0.568 GB, free: 10.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.2703, allocations: 8 kB / 0.568 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.2703, allocations: 4 kB / 0.568 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.2703, allocations: 7.938 kB / 0.568 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.2707, allocations: 91.89 kB / 0.5681 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.2717, allocations: 1.782 MB / 0.5699 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.2718, allocations: 35.77 kB / 0.5699 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.2719, allocations: 12 kB / 0.5699 GB, free: 8.953 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002119/0.2721, allocations: 178 kB / 0.5701 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.2721, allocations: 15.91 kB / 0.5701 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004736/0.2726, allocations: 197.9 kB / 0.5703 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2726, allocations: 0 / 0.5703 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.2726, allocations: 0 / 0.5703 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2726, allocations: 0 / 0.5703 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000321/0.2729, allocations: 293.5 kB / 0.5706 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2729, allocations: 0 / 0.5706 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.2731, allocations: 63.97 kB / 0.5706 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2731, allocations: 7.938 kB / 0.5706 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.2731, allocations: 3.938 kB / 0.5706 GB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.2742, allocations: 1.778 MB / 0.5724 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2742, allocations: 0 / 0.5724 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.2745, allocations: 219.4 kB / 0.5726 GB, free: 6.066 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.904e-05/0.2745, allocations: 89 kB / 0.5727 GB, free: 5.961 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.2746, allocations: 96 / 0.5727 GB, free: 5.961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.905e-05/0.2746, allocations: 15.98 kB / 0.5727 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.2747, allocations: 4 kB / 0.5727 GB, free: 5.941 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.2747, allocations: 4 kB / 0.5727 GB, free: 5.938 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.39e-05/0.2748, allocations: 115.2 kB / 0.5728 GB, free: 5.824 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2748, allocations: 0 / 0.5728 GB, free: 5.824 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003905/0.2752, allocations: 107.5 kB / 0.5729 GB, free: 5.719 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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007394/0.2759, allocations: 0.8019 MB / 0.5737 GB, free: 4.891 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005235/0.2764, allocations: 177.2 kB / 0.5739 GB, free: 4.719 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2764, allocations: 0 / 0.5739 GB, free: 4.719 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002837/0.2767, allocations: 87.94 kB / 0.5739 GB, free: 4.633 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.2769, allocations: 8.312 kB / 0.574 GB, free: 4.625 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.2794, allocations: 2.227 MB / 0.5761 GB, free: 2.207 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.2798, allocations: 0.7904 MB / 0.5769 GB, free: 1.387 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001484/0.28, allocations: 65.19 kB / 0.577 GB, free: 1.324 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.2801, allocations: 75.41 kB / 0.577 GB, free: 1.25 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2801, allocations: 0 / 0.577 GB, free: 1.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0274/0.3075, allocations: 5.28 MB / 0.5822 GB, free: 12.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/10.56, allocations: 0 / 0.5822 GB, free: 12.11 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.108391129004303]