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_nominalDensityViscosity_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.00124/0.00124, allocations: 110.5 kB / 21.22 MB, free: 0.5156 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.001404/0.001404, allocations: 209.3 kB / 24.54 MB, free: 3.906 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.455/1.455, allocations: 230.5 MB / 258.2 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] 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.2176/0.2176, allocations: 46.94 MB / 361.6 MB, free: 4.18 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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.002335/0.002335, allocations: 83.88 kB / 0.497 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3771, allocations: 66.08 MB / 0.5615 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.005094/0.3822, allocations: 1.85 MB / 0.5633 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.3841, allocations: 0.6357 MB / 0.564 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.538e-05/0.3842, allocations: 3.938 kB / 0.564 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004014/0.3846, allocations: 55.73 kB / 0.564 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.3849, allocations: 75.58 kB / 0.5641 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00061/0.3855, allocations: 127.4 kB / 0.5642 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004521/0.3859, allocations: 222.8 kB / 0.5644 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.581e-05/0.386, allocations: 20.52 kB / 0.5645 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.3862, allocations: 95.52 kB / 0.5645 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.3865, allocations: 103.5 kB / 0.5646 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.3865, allocations: 8 kB / 0.5646 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006741/0.3872, allocations: 227.7 kB / 0.5649 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.3873, allocations: 51.77 kB / 0.5649 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.3874, allocations: 99.3 kB / 0.565 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007436/0.3882, allocations: 336.6 kB / 0.5653 GB, free: 388 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3882, allocations: 0 / 0.5653 GB, free: 388 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3882, allocations: 0 / 0.5653 GB, free: 388 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.353e-06/0.3882, allocations: 0 / 0.5653 GB, free: 388 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001076/0.3893, allocations: 469.5 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.3893, allocations: 8.031 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/0.3894, allocations: 74.7 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003335/0.3927, allocations: 204.4 kB / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005479/0.3933, allocations: 214.1 kB / 0.5663 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.3933, allocations: 16.88 kB / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.516e-05/0.3934, allocations: 28.36 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/0.3952, allocations: 0.4929 MB / 0.5668 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.3952, allocations: 4 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.855e-05/0.3952, allocations: 7.984 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.638e-05/0.3953, allocations: 32.64 kB / 0.5668 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002369/0.3977, allocations: 0.5763 MB / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004006/0.4017, allocations: 1.139 MB / 0.5685 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.4029, allocations: 166.4 kB / 0.5687 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006986/0.4036, allocations: 88.7 kB / 0.5687 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.4036, allocations: 4 kB / 0.5687 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.4037, allocations: 34.55 kB / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 2.264e-06/0.4037, allocations: 4 kB / 0.5688 GB, free: 12.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.002251/0.4059, allocations: 301.3 kB / 0.5691 GB, free: 12.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/0.406, allocations: 55.41 kB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005268/0.4065, allocations: 277.9 kB / 0.5694 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/0.4066, allocations: 29.7 kB / 0.5694 GB, free: 11.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.4068, allocations: 167.7 kB / 0.5696 GB, free: 11.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.509e-05/0.4068, allocations: 27.78 kB / 0.5696 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.407, allocations: 37.69 kB / 0.5696 GB, free: 11.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.4072, allocations: 334.8 kB / 0.57 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006934/0.4078, allocations: 83.91 kB / 0.57 GB, free: 11.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007357/0.4086, allocations: 119.3 kB / 0.5702 GB, free: 11.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.4101, allocations: 215.1 kB / 0.5704 GB, free: 10.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4101, allocations: 0 / 0.5704 GB, free: 10.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001684/0.4118, allocations: 265.2 kB / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.4118, allocations: 4 kB / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.4118, allocations: 12.08 kB / 0.5706 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.4118, allocations: 0 / 0.5706 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01126/0.4231, allocations: 463.2 kB / 0.5711 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00526/0.4283, allocations: 1.941 MB / 0.573 GB, free: 8.234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007504/0.4291, allocations: 51.91 kB / 0.573 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.4291, allocations: 4 kB / 0.573 GB, free: 8.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0003371/0.4295, allocations: 165.7 kB / 0.5732 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.4296, allocations: 19.86 kB / 0.5732 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.4297, allocations: 33.78 kB / 0.5732 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.4297, allocations: 3.938 kB / 0.5732 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.4297, allocations: 0 / 0.5732 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.4297, allocations: 3.938 kB / 0.5732 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006356/0.4303, allocations: 264.5 kB / 0.5735 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.4303, allocations: 4 kB / 0.5735 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01095/0.4413, allocations: 451.3 kB / 0.5739 GB, free: 7.195 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.4413, allocations: 4 kB / 0.5739 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/0.4413, allocations: 7.984 kB / 0.5739 GB, free: 7.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0031/0.4444, allocations: 1.941 MB / 0.5758 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4444, allocations: 0 / 0.5758 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008936/0.4453, allocations: 323.3 kB / 0.5761 GB, free: 4.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.423e-05/0.4454, allocations: 31.78 kB / 0.5762 GB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.317e-05/0.4454, allocations: 0 / 0.5762 GB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003938/0.4458, allocations: 15.97 kB / 0.5762 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.483e-05/0.4459, allocations: 7.984 kB / 0.5762 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/0.4459, allocations: 15.92 kB / 0.5762 GB, free: 4.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002467/0.4462, allocations: 209.2 kB / 0.5764 GB, free: 4.566 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4462, allocations: 0 / 0.5764 GB, free: 4.566 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003769/0.4465, allocations: 67.89 kB / 0.5765 GB, free: 4.5 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.001247/0.4478, allocations: 0.8528 MB / 0.5773 GB, free: 3.621 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00642/0.4542, allocations: 0.5933 MB / 0.5779 GB, free: 3.027 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.4542, allocations: 4.188 kB / 0.5779 GB, free: 3.023 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005703/0.4599, allocations: 495.2 kB / 0.5784 GB, free: 2.539 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.4604, allocations: 57.55 kB / 0.5784 GB, free: 2.484 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004913/0.4653, allocations: 2.982 MB / 0.5813 GB, free: 15.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.4657, allocations: 0.7791 MB / 0.5821 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001735/0.4659, allocations: 53.91 kB / 0.5821 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.466, allocations: 67.41 kB / 0.5822 GB, free: 14.48 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.466, allocations: 0 / 0.5822 GB, free: 14.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03323/0.4992, allocations: 8.016 MB / 0.59 GB, free: 6.609 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.13, allocations: 11.38 kB / 0.59 GB, free: 6.602 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201879 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.991112442221493] Failed to read output from testmodel.py, exit status != 0: ['time', 'eta[1]', 'eta[2]', 'eta[3]', 'rho[1]', 'rho[2]', 'rho[3]', 'input_mdot[1]', 'input_mdot[2]', 'input_mdot[3]', 'input_dp[1]', 'input_dp[2]', 'input_dp[3]', 'M_FLOW[1]', 'M_FLOW[2]', 'M_FLOW[3]', 'DP[1]', 'DP[2]', 'DP[3]', 'DP_plot[1]', 'DP_plot[2]', 'DP_plot[3]', 'input_DP.y'] 12.228839016985148 12.247880534 11.855404358 Calling exit ...