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_pressureLossCoefficient_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.001751/0.001751, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002305/0.002305, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.494/1.494, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.226/0.226, allocations: 46.93 MB / 361.6 MB, free: 4.191 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_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.003481/0.003481, allocations: 79.88 kB / 0.497 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3573, allocations: 66.09 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003034/0.3603, allocations: 1.703 MB / 0.5632 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.3618, allocations: 0.8579 MB / 0.564 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.983e-05/0.3619, allocations: 4 kB / 0.564 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.3621, allocations: 35.83 kB / 0.5641 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.3623, allocations: 59.66 kB / 0.5641 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.3626, allocations: 107.6 kB / 0.5642 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.3629, allocations: 155.2 kB / 0.5644 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.658e-05/0.3629, allocations: 12.86 kB / 0.5644 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.3631, allocations: 67.7 kB / 0.5645 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.3633, allocations: 75.73 kB / 0.5645 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.3633, allocations: 4 kB / 0.5645 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003178/0.3636, allocations: 167.7 kB / 0.5647 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.193e-05/0.3637, allocations: 39.84 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.278e-05/0.3637, allocations: 59.61 kB / 0.5648 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003239/0.3641, allocations: 209.3 kB / 0.565 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3641, allocations: 0 / 0.565 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3641, allocations: 3.938 kB / 0.565 GB, free: 0.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3641, allocations: 0 / 0.565 GB, free: 0.75 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.000633/0.3647, allocations: 393.5 kB / 0.5654 GB, free: 344 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3647, allocations: 8.031 kB / 0.5654 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.697e-05/0.3648, allocations: 54.73 kB / 0.5654 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004614/0.3653, allocations: 52.78 kB / 0.5655 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.3655, allocations: 162.3 kB / 0.5656 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.3655, allocations: 12.38 kB / 0.5656 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.3655, allocations: 19.88 kB / 0.5657 GB, free: 0 / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004552/0.366, allocations: 245.3 kB / 0.5659 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.366, allocations: 0 / 0.5659 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.366, allocations: 8 kB / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.174e-05/0.3661, allocations: 15.98 kB / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004369/0.3665, allocations: 223.8 kB / 0.5661 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.3676, allocations: 0.6978 MB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.3678, allocations: 90.5 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.368, allocations: 48.75 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.368, allocations: 0 / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.368, allocations: 34.5 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 8.31e-07/0.368, allocations: 0 / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005182/0.3685, allocations: 169.5 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.3686, allocations: 51.41 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.3688, allocations: 191.2 kB / 0.5674 GB, free: 14.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.3688, allocations: 25.7 kB / 0.5674 GB, free: 14.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.3689, allocations: 143.9 kB / 0.5675 GB, free: 13.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.3689, allocations: 19.8 kB / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.809e-05/0.369, allocations: 45.64 kB / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3691, allocations: 326.8 kB / 0.5679 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.3693, allocations: 47.89 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.3694, allocations: 98.81 kB / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.3698, allocations: 162.6 kB / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.3698, allocations: 0 / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003815/0.3701, allocations: 181.7 kB / 0.5684 GB, free: 12.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.3702, allocations: 8 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3702, allocations: 0 / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.3702, allocations: 8.219 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008861/0.3711, allocations: 95.81 kB / 0.5685 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.3726, allocations: 1.809 MB / 0.5703 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.3727, allocations: 27.64 kB / 0.5703 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.3727, allocations: 7.984 kB / 0.5703 GB, free: 10.97 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 (14): * Single equations (assignments): 11 * 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.0001603/0.3729, allocations: 149.9 kB / 0.5704 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/0.3729, allocations: 11.91 kB / 0.5704 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004692/0.3734, allocations: 175 kB / 0.5706 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3734, allocations: 4 kB / 0.5706 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3734, allocations: 0 / 0.5706 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3734, allocations: 0 / 0.5706 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.3737, allocations: 208.5 kB / 0.5708 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3737, allocations: 0 / 0.5708 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000689/0.3744, allocations: 91.84 kB / 0.5709 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3744, allocations: 4 kB / 0.5709 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.3744, allocations: 3.984 kB / 0.5709 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/0.3757, allocations: 1.766 MB / 0.5726 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3757, allocations: 0 / 0.5726 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/0.376, allocations: 251.2 kB / 0.5729 GB, free: 8.176 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.3761, allocations: 19.89 kB / 0.5729 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.3761, allocations: 4 kB / 0.5729 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.3762, allocations: 12.08 kB / 0.5729 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.3763, allocations: 7.984 kB / 0.5729 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.3763, allocations: 7.938 kB / 0.5729 GB, free: 8.125 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001394/0.3764, allocations: 141.6 kB / 0.5731 GB, free: 7.988 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3764, allocations: 0 / 0.5731 GB, free: 7.988 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003097/0.3767, allocations: 43.94 kB / 0.5731 GB, free: 7.945 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 (11): * Single equations (assignments): 8 * 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.0007926/0.3775, allocations: 0.7903 MB / 0.5739 GB, free: 7.129 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.3788, allocations: 196.2 kB / 0.5741 GB, free: 6.938 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.3788, allocations: 4 kB / 0.5741 GB, free: 6.934 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006413/0.3794, allocations: 103.8 kB / 0.5742 GB, free: 6.832 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.3798, allocations: 41.27 kB / 0.5742 GB, free: 6.793 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/0.3825, allocations: 2.101 MB / 0.5762 GB, free: 4.574 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.3829, allocations: 0.7358 MB / 0.577 GB, free: 3.812 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001124/0.383, allocations: 45.27 kB / 0.577 GB, free: 3.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.245e-05/0.3831, allocations: 43.42 kB / 0.5771 GB, free: 3.727 MB / 414.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3831, allocations: 0 / 0.5771 GB, free: 3.727 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02944/0.4126, allocations: 5.169 MB / 0.5821 GB, free: 14.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.9, allocations: 4 kB / 0.5821 GB, free: 14.7 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.938295020256191] Failed to read output from testmodel.py, exit status != 0: ['time', 'zeta_TOT[1]', 'zeta_TOT[2]', 'zeta_TOT[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.996812610886991 12.020608635 11.651993153 Calling exit ...