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_volumeFlowRate_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.001303/0.001303, allocations: 111.5 kB / 20.18 MB, free: 1.961 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.001475/0.001475, allocations: 208.1 kB / 23.43 MB, free: 5.086 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.433/1.433, allocations: 230.2 MB / 256.8 MB, free: 8.57 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.2391/0.2391, allocations: 46.9 MB / 360 MB, free: 4.73 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_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.002239/0.002239, allocations: 83.86 kB / 0.495 GB, free: 8.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.354, allocations: 65.99 MB / 0.5595 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003069/0.3571, allocations: 1.674 MB / 0.5611 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.3586, allocations: 0.928 MB / 0.562 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.569e-05/0.3587, allocations: 0 / 0.562 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.3589, allocations: 35.77 kB / 0.5621 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.3591, allocations: 51.73 kB / 0.5621 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004256/0.3595, allocations: 131.5 kB / 0.5622 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.3597, allocations: 139.3 kB / 0.5624 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/0.3597, allocations: 13.25 kB / 0.5624 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.483e-05/0.3598, allocations: 59.77 kB / 0.5624 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.36, allocations: 75.61 kB / 0.5625 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.36, allocations: 4 kB / 0.5625 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000355/0.3603, allocations: 211.7 kB / 0.5627 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.622e-05/0.3604, allocations: 35.88 kB / 0.5627 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.137e-05/0.3605, allocations: 67.55 kB / 0.5628 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003701/0.3609, allocations: 237 kB / 0.563 GB, free: 1.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3609, allocations: 3.938 kB / 0.563 GB, free: 1.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3609, allocations: 4 kB / 0.563 GB, free: 1.332 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.3609, allocations: 4 kB / 0.563 GB, free: 1.328 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006978/0.3616, allocations: 474.5 kB / 0.5635 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3616, allocations: 12.03 kB / 0.5635 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.889e-05/0.3617, allocations: 50.73 kB / 0.5636 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.3629, allocations: 120.6 kB / 0.5637 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.3631, allocations: 224.1 kB / 0.5639 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.3632, allocations: 8.375 kB / 0.5639 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.3632, allocations: 16.38 kB / 0.5639 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007051/0.3639, allocations: 321.4 kB / 0.5642 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3639, allocations: 0 / 0.5642 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.3639, allocations: 4 kB / 0.5642 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.193e-05/0.364, allocations: 23.98 kB / 0.5642 GB, free: 0 / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008505/0.3648, allocations: 319.7 kB / 0.5645 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.3664, allocations: 0.8297 MB / 0.5654 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007403/0.3671, allocations: 218.3 kB / 0.5656 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002799/0.3674, allocations: 84.81 kB / 0.5656 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.3674, allocations: 0 / 0.5656 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.3675, allocations: 38.56 kB / 0.5657 GB, free: 14.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.3675, allocations: 0 / 0.5657 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.001073/0.3686, allocations: 293.5 kB / 0.566 GB, free: 14.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.3686, allocations: 59.41 kB / 0.566 GB, free: 14.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.3688, allocations: 183.3 kB / 0.5662 GB, free: 13.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.3688, allocations: 25.8 kB / 0.5662 GB, free: 13.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.3689, allocations: 151.6 kB / 0.5664 GB, free: 13.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.369, allocations: 31.69 kB / 0.5664 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-05/0.3691, allocations: 57.62 kB / 0.5665 GB, free: 13.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3692, allocations: 326.8 kB / 0.5668 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.3695, allocations: 79.89 kB / 0.5668 GB, free: 13.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003442/0.3699, allocations: 145 kB / 0.567 GB, free: 13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006313/0.3705, allocations: 222.6 kB / 0.5672 GB, free: 12.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3705, allocations: 0 / 0.5672 GB, free: 12.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007626/0.3713, allocations: 273.4 kB / 0.5674 GB, free: 12.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.3713, allocations: 4 kB / 0.5675 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.3713, allocations: 7.938 kB / 0.5675 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3713, allocations: 0 / 0.5675 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004877/0.3718, allocations: 83.86 kB / 0.5675 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.3729, allocations: 1.782 MB / 0.5693 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.3732, allocations: 27.83 kB / 0.5693 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.3732, allocations: 15.97 kB / 0.5693 GB, free: 10.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 14 * 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.0001677/0.3734, allocations: 145.9 kB / 0.5695 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.769e-05/0.3734, allocations: 19.89 kB / 0.5695 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008254/0.3742, allocations: 270.7 kB / 0.5697 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3742, allocations: 4 kB / 0.5697 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3743, allocations: 0 / 0.5697 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3743, allocations: 4 kB / 0.5697 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/0.3746, allocations: 257.5 kB / 0.57 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3746, allocations: 0 / 0.57 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003633/0.375, allocations: 75.86 kB / 0.5701 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.375, allocations: 0 / 0.5701 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.375, allocations: 11.98 kB / 0.5701 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.3761, allocations: 1.785 MB / 0.5718 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.3761, allocations: 3.984 kB / 0.5718 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007495/0.3768, allocations: 323.3 kB / 0.5721 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.476e-05/0.3769, allocations: 85.06 kB / 0.5722 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.3769, allocations: 0 / 0.5722 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.3772, allocations: 11.98 kB / 0.5722 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.3772, allocations: 11.97 kB / 0.5722 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.3772, allocations: 15.98 kB / 0.5723 GB, free: 7.328 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.3774, allocations: 137.6 kB / 0.5724 GB, free: 7.195 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3774, allocations: 0 / 0.5724 GB, free: 7.195 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003763/0.3778, allocations: 63.83 kB / 0.5724 GB, free: 7.133 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 (10): * Single equations (assignments): 7 * 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.001261/0.379, allocations: 0.884 MB / 0.5733 GB, free: 6.219 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000871/0.3799, allocations: 227.7 kB / 0.5735 GB, free: 5.996 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3799, allocations: 3.938 kB / 0.5735 GB, free: 5.992 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004616/0.3803, allocations: 132.2 kB / 0.5737 GB, free: 5.863 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.3806, allocations: 12 kB / 0.5737 GB, free: 5.852 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003835/0.3845, allocations: 2.338 MB / 0.5759 GB, free: 3.391 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.3849, allocations: 0.7397 MB / 0.5767 GB, free: 2.621 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002153/0.3851, allocations: 65.36 kB / 0.5767 GB, free: 2.559 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.3853, allocations: 55.38 kB / 0.5768 GB, free: 2.504 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3853, allocations: 0 / 0.5768 GB, free: 2.504 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02989/0.4151, allocations: 4.844 MB / 0.5815 GB, free: 13.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.87, allocations: 10.78 kB / 0.5815 GB, free: 13.78 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.726029903977178] Failed to read output from testmodel.py, exit status != 0: ['time', 'V_flow[1]', 'V_flow[2]', 'V_flow[3]', 'a[1]', 'a[2]', 'a[3]', 'rho', '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'] 11.96385315200314 11.979708149 11.615876881 Calling exit ...