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_thickEdgedOverall_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.001517/0.001517, allocations: 105 kB / 19.74 MB, free: 2.566 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.001572/0.001572, allocations: 214.9 kB / 22.92 MB, free: 5.535 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.284/1.284, allocations: 230.2 MB / 256.1 MB, free: 8.762 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.2005/0.2005, allocations: 46.9 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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_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.002072/0.002072, allocations: 83.88 kB / 0.494 GB, free: 9.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2595, allocations: 65.98 MB / 0.5584 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002858/0.2623, allocations: 1.85 MB / 0.5603 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.2643, allocations: 1.388 MB / 0.5616 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.522e-05/0.2644, allocations: 3.938 kB / 0.5616 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002359/0.2646, allocations: 51.73 kB / 0.5617 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.2648, allocations: 99.48 kB / 0.5618 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004445/0.2653, allocations: 219.2 kB / 0.562 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003925/0.2657, allocations: 405.7 kB / 0.5623 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5e-05/0.2657, allocations: 12.75 kB / 0.5624 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002379/0.266, allocations: 163.1 kB / 0.5625 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.2662, allocations: 179.1 kB / 0.5627 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.2662, allocations: 12 kB / 0.5627 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006648/0.2669, allocations: 467 kB / 0.5631 GB, free: 368 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.2671, allocations: 131.4 kB / 0.5633 GB, free: 236 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.2672, allocations: 198.6 kB / 0.5635 GB, free: 36 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007331/0.268, allocations: 0.6279 MB / 0.5641 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.268, allocations: 3.984 kB / 0.5641 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.268, allocations: 0 / 0.5641 GB, free: 15.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.268, allocations: 4 kB / 0.5641 GB, free: 15.4 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001097/0.2691, allocations: 0.7866 MB / 0.5648 GB, free: 14.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.2691, allocations: 8.031 kB / 0.5649 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/0.2692, allocations: 98.69 kB / 0.565 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.303e-05/0.2693, allocations: 56.56 kB / 0.565 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.2697, allocations: 315.6 kB / 0.5653 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.2697, allocations: 45.3 kB / 0.5653 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.347e-05/0.2698, allocations: 43.94 kB / 0.5654 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009284/0.2707, allocations: 0.6914 MB / 0.5661 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.2707, allocations: 4 kB / 0.5661 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.489e-05/0.2707, allocations: 16 kB / 0.5661 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.369e-05/0.2708, allocations: 57.28 kB / 0.5661 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.2718, allocations: 0.7233 MB / 0.5668 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002281/0.2741, allocations: 1.72 MB / 0.5685 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005946/0.2747, allocations: 339.4 kB / 0.5688 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002619/0.275, allocations: 141.2 kB / 0.569 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.173e-05/0.275, allocations: 16.14 kB / 0.569 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.275, allocations: 38.8 kB / 0.569 GB, free: 10.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.442e-06/0.275, allocations: 0 / 0.569 GB, free: 10.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0009696/0.276, allocations: 491.7 kB / 0.5695 GB, free: 9.578 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.276, allocations: 55.41 kB / 0.5696 GB, free: 9.512 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004582/0.2765, allocations: 453.5 kB / 0.57 GB, free: 9.055 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.2765, allocations: 33.7 kB / 0.57 GB, free: 9.016 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.2767, allocations: 260.1 kB / 0.5703 GB, free: 8.758 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.155e-05/0.2768, allocations: 107.1 kB / 0.5704 GB, free: 8.652 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.2769, allocations: 81.47 kB / 0.5705 GB, free: 8.566 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.2771, allocations: 350.8 kB / 0.5708 GB, free: 8.215 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.2773, allocations: 139.9 kB / 0.5709 GB, free: 8.078 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/0.2777, allocations: 253.3 kB / 0.5712 GB, free: 7.781 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006455/0.2783, allocations: 434.9 kB / 0.5716 GB, free: 7.309 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2783, allocations: 7.938 kB / 0.5716 GB, free: 7.301 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000841/0.2792, allocations: 485.1 kB / 0.572 GB, free: 6.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.2792, allocations: 8 kB / 0.5721 GB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.2792, allocations: 4 kB / 0.5721 GB, free: 6.809 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.2792, allocations: 4 kB / 0.5721 GB, free: 6.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005955/0.2798, allocations: 159.8 kB / 0.5722 GB, free: 6.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/0.2819, allocations: 3.614 MB / 0.5757 GB, free: 2.895 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.2822, allocations: 63.44 kB / 0.5758 GB, free: 2.832 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/0.2822, allocations: 31.92 kB / 0.5758 GB, free: 2.801 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002281/0.2824, allocations: 213.7 kB / 0.576 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.136e-05/0.2825, allocations: 39.95 kB / 0.5761 GB, free: 2.543 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.2835, allocations: 0.5334 MB / 0.5766 GB, free: 2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.2835, allocations: 4 kB / 0.5766 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2835, allocations: 0 / 0.5766 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.2835, allocations: 4 kB / 0.5766 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005307/0.2841, allocations: 453.1 kB / 0.577 GB, free: 1.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2841, allocations: 0 / 0.577 GB, free: 1.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000521/0.2846, allocations: 147.9 kB / 0.5772 GB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.2846, allocations: 0 / 0.5772 GB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.2846, allocations: 19.98 kB / 0.5772 GB, free: 1.336 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001951/0.2866, allocations: 3.606 MB / 0.5807 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2866, allocations: 0 / 0.5807 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.2876, allocations: 0.6599 MB / 0.5814 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.2878, allocations: 164.7 kB / 0.5815 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.01e-05/0.2878, allocations: 4 kB / 0.5815 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.288, allocations: 24.08 kB / 0.5815 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.01e-05/0.2881, allocations: 27.91 kB / 0.5816 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.2881, allocations: 16 kB / 0.5816 GB, free: 12.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003549/0.2885, allocations: 343.1 kB / 0.5819 GB, free: 12.33 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2885, allocations: 0 / 0.5819 GB, free: 12.33 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000499/0.289, allocations: 167.5 kB / 0.5821 GB, free: 12.17 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00147/0.2904, allocations: 1.282 MB / 0.5833 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.2915, allocations: 424.3 kB / 0.5837 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2915, allocations: 0 / 0.5837 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006266/0.2921, allocations: 251.8 kB / 0.584 GB, free: 10.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.2925, allocations: 37.48 kB / 0.584 GB, free: 10.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005804/0.2983, allocations: 4.889 MB / 0.5888 GB, free: 5.109 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.2987, allocations: 0.9014 MB / 0.5897 GB, free: 4.18 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002864/0.299, allocations: 143 kB / 0.5898 GB, free: 4.043 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.2992, allocations: 163.4 kB / 0.59 GB, free: 3.883 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2992, allocations: 0 / 0.59 GB, free: 3.883 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03659/0.3358, allocations: 11.3 MB / 0.601 GB, free: 8.699 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.22, allocations: 0 / 0.601 GB, free: 8.699 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.882249513990246]