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.Orifice.dp_suddenChange_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.001515/0.001515, allocations: 109.8 kB / 19.74 MB, free: 2.582 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.001852/0.001852, allocations: 217.4 kB / 22.92 MB, free: 5.562 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.304/1.304, allocations: 230.2 MB / 256.1 MB, free: 8.637 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.2024/0.2024, allocations: 46.89 MB / 359.3 MB, free: 4.98 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.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_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.00209/0.00209, allocations: 83.84 kB / 0.494 GB, free: 9.102 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2568, allocations: 66 MB / 0.5584 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002791/0.2596, allocations: 1.816 MB / 0.5602 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.2616, allocations: 1.427 MB / 0.5616 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.031e-05/0.2617, allocations: 0 / 0.5616 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.2619, allocations: 43.77 kB / 0.5617 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.262, allocations: 51.62 kB / 0.5617 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004883/0.2625, allocations: 262.7 kB / 0.562 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.2626, allocations: 99.45 kB / 0.562 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.873e-05/0.2627, allocations: 9.125 kB / 0.5621 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.2628, allocations: 55.7 kB / 0.5621 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.073e-05/0.2629, allocations: 47.78 kB / 0.5622 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.2629, allocations: 4 kB / 0.5622 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007027/0.2636, allocations: 0.5068 MB / 0.5627 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.999e-05/0.2637, allocations: 15.92 kB / 0.5627 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.862e-05/0.2637, allocations: 47.67 kB / 0.5627 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005041/0.2642, allocations: 360.7 kB / 0.5631 GB, free: 492 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2642, allocations: 3.938 kB / 0.5631 GB, free: 488 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2642, allocations: 4 kB / 0.5631 GB, free: 484 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.2642, allocations: 0 / 0.5631 GB, free: 484 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005792/0.2648, allocations: 450.9 kB / 0.5635 GB, free: 15.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.2648, allocations: 8.031 kB / 0.5635 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.792e-05/0.2649, allocations: 46.73 kB / 0.5635 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.2649, allocations: 16.84 kB / 0.5636 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.265, allocations: 180.2 kB / 0.5637 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.2651, allocations: 15.94 kB / 0.5637 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.2651, allocations: 12 kB / 0.5638 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.2654, allocations: 137.6 kB / 0.5639 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.2654, allocations: 0 / 0.5639 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.2654, allocations: 7.938 kB / 0.5639 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.84e-06/0.2654, allocations: 4 kB / 0.5639 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.2657, allocations: 135.9 kB / 0.564 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008378/0.2665, allocations: 0.5183 MB / 0.5645 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.2668, allocations: 90.59 kB / 0.5646 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.2669, allocations: 48.83 kB / 0.5647 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.2669, allocations: 3.984 kB / 0.5647 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.267, allocations: 34.56 kB / 0.5647 GB, free: 14.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 2.716e-06/0.267, allocations: 3.984 kB / 0.5647 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004577/0.2674, allocations: 165.4 kB / 0.5649 GB, free: 14.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.2675, allocations: 59.41 kB / 0.5649 GB, free: 14.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.611e-05/0.2675, allocations: 109.8 kB / 0.565 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.2676, allocations: 29.7 kB / 0.5651 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.994e-05/0.2676, allocations: 115.7 kB / 0.5652 GB, free: 14.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.2676, allocations: 39.67 kB / 0.5652 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.2677, allocations: 37.64 kB / 0.5652 GB, free: 14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.2678, allocations: 322.8 kB / 0.5656 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.2679, allocations: 43.95 kB / 0.5656 GB, free: 13.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.2681, allocations: 73.12 kB / 0.5657 GB, free: 13.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.2683, allocations: 136.9 kB / 0.5658 GB, free: 13.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2683, allocations: 0 / 0.5658 GB, free: 13.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003264/0.2687, allocations: 158 kB / 0.5659 GB, free: 13.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.2687, allocations: 12.03 kB / 0.566 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.2687, allocations: 0 / 0.566 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.2687, allocations: 0 / 0.566 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.2689, allocations: 47.97 kB / 0.566 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003474/0.2692, allocations: 0.5898 MB / 0.5666 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.733e-05/0.2693, allocations: 11.94 kB / 0.5666 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.2694, allocations: 16.09 kB / 0.5666 GB, free: 12.53 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.885e-05/0.2694, allocations: 117.8 kB / 0.5667 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.2695, allocations: 7.953 kB / 0.5667 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003896/0.2699, allocations: 174.2 kB / 0.5669 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.2699, allocations: 7.938 kB / 0.5669 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2699, allocations: 0 / 0.5669 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2699, allocations: 0 / 0.5669 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.2701, allocations: 217.6 kB / 0.5671 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.2701, allocations: 3.938 kB / 0.5671 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.2703, allocations: 43.97 kB / 0.5672 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2703, allocations: 0 / 0.5672 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.2703, allocations: 0 / 0.5672 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003179/0.2706, allocations: 0.6015 MB / 0.5677 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2706, allocations: 0 / 0.5677 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004691/0.2711, allocations: 290.7 kB / 0.568 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.899e-05/0.2712, allocations: 93.22 kB / 0.5681 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.2712, allocations: 12 kB / 0.5681 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.2713, allocations: 4 kB / 0.5681 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.2714, allocations: 15.92 kB / 0.5681 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.2714, allocations: 4 kB / 0.5681 GB, free: 10.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.73e-05/0.2714, allocations: 95.2 kB / 0.5682 GB, free: 10.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2714, allocations: 0 / 0.5682 GB, free: 10.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003328/0.2717, allocations: 79.62 kB / 0.5683 GB, free: 10.67 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009243/0.2727, allocations: 0.8997 MB / 0.5692 GB, free: 9.742 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003754/0.273, allocations: 127.8 kB / 0.5693 GB, free: 9.617 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.273, allocations: 0 / 0.5693 GB, free: 9.617 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.2732, allocations: 71.45 kB / 0.5694 GB, free: 9.551 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.2735, allocations: 18.12 kB / 0.5694 GB, free: 9.535 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.2756, allocations: 1.728 MB / 0.5711 GB, free: 7.695 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.2759, allocations: 0.7078 MB / 0.5718 GB, free: 6.961 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.589e-05/0.276, allocations: 24.95 kB / 0.5718 GB, free: 6.938 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.39e-05/0.2761, allocations: 31.42 kB / 0.5718 GB, free: 6.906 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2761, allocations: 0 / 0.5718 GB, free: 6.906 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02823/0.3043, allocations: 3.855 MB / 0.5756 GB, free: 3.184 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/10.59, allocations: 0 / 0.5756 GB, free: 3.184 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.180004383990308]