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_idealGas_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.001723/0.001723, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.00201/0.00201, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.472/1.472, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.2562/0.2562, allocations: 46.93 MB / 361.6 MB, free: 4.168 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_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_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.002289/0.002289, allocations: 79.88 kB / 0.497 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3535, allocations: 66.08 MB / 0.5615 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.00312/0.3567, allocations: 1.812 MB / 0.5633 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.3584, allocations: 1.022 MB / 0.5643 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.931e-05/0.3585, allocations: 0 / 0.5643 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.3587, allocations: 59.67 kB / 0.5644 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002423/0.359, allocations: 71.58 kB / 0.5644 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.3594, allocations: 119.5 kB / 0.5645 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.3597, allocations: 222.8 kB / 0.5648 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.278e-05/0.3597, allocations: 13.97 kB / 0.5648 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.3598, allocations: 83.53 kB / 0.5648 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.36, allocations: 107.5 kB / 0.5649 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.3601, allocations: 11.98 kB / 0.565 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003694/0.3604, allocations: 203.7 kB / 0.5652 GB, free: 424 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.707e-05/0.3605, allocations: 59.69 kB / 0.5652 GB, free: 364 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.3606, allocations: 91.36 kB / 0.5653 GB, free: 272 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004507/0.3611, allocations: 312.6 kB / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3611, allocations: 0 / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3611, allocations: 4 kB / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.964e-06/0.3611, allocations: 4 kB / 0.5656 GB, free: 15.95 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008144/0.3619, allocations: 469.3 kB / 0.5661 GB, free: 15.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3619, allocations: 12.03 kB / 0.5661 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.528e-05/0.362, allocations: 54.73 kB / 0.5661 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008563/0.3629, allocations: 136.6 kB / 0.5662 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.3633, allocations: 206.1 kB / 0.5664 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.3633, allocations: 16.81 kB / 0.5665 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.038e-05/0.3633, allocations: 32.05 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007515/0.3641, allocations: 430.5 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.3641, allocations: 4 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.3641, allocations: 8 kB / 0.5669 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.427e-05/0.3642, allocations: 28.48 kB / 0.5669 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007938/0.365, allocations: 393.6 kB / 0.5673 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.3671, allocations: 1.449 MB / 0.5687 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.3674, allocations: 90.52 kB / 0.5688 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.3675, allocations: 48.81 kB / 0.5689 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.3676, allocations: 3.938 kB / 0.5689 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.3676, allocations: 34.56 kB / 0.5689 GB, free: 12.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.502e-06/0.3676, allocations: 0 / 0.5689 GB, free: 12.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005835/0.3682, allocations: 197.5 kB / 0.5691 GB, free: 12.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.3682, allocations: 51.41 kB / 0.5691 GB, free: 12.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003719/0.3686, allocations: 333.8 kB / 0.5695 GB, free: 11.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.3686, allocations: 25.7 kB / 0.5695 GB, free: 11.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.3688, allocations: 179.6 kB / 0.5696 GB, free: 11.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.3688, allocations: 23.8 kB / 0.5697 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.583e-05/0.3689, allocations: 41.66 kB / 0.5697 GB, free: 11.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3691, allocations: 334.8 kB / 0.57 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.3692, allocations: 71.94 kB / 0.5701 GB, free: 11.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.3695, allocations: 120.3 kB / 0.5702 GB, free: 10.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003774/0.3698, allocations: 189 kB / 0.5704 GB, free: 10.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.3698, allocations: 4 kB / 0.5704 GB, free: 10.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005268/0.3704, allocations: 245.2 kB / 0.5706 GB, free: 10.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3704, allocations: 6.344 kB / 0.5706 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3704, allocations: 0 / 0.5706 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.3704, allocations: 4 kB / 0.5706 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/0.372, allocations: 119.8 kB / 0.5708 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/0.3741, allocations: 1.84 MB / 0.5726 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.3745, allocations: 39.81 kB / 0.5726 GB, free: 8.418 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.3745, allocations: 8 kB / 0.5726 GB, free: 8.41 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 16 * 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.0001983/0.3747, allocations: 165.6 kB / 0.5728 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/0.3747, allocations: 19.86 kB / 0.5728 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005639/0.3753, allocations: 207.1 kB / 0.573 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.3753, allocations: 0 / 0.573 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3753, allocations: 3.938 kB / 0.573 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.3753, allocations: 3.984 kB / 0.573 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000358/0.3757, allocations: 244.5 kB / 0.5732 GB, free: 7.719 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3757, allocations: 0 / 0.5732 GB, free: 7.719 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/0.3769, allocations: 99.86 kB / 0.5733 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.3769, allocations: 4 kB / 0.5733 GB, free: 7.617 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.3769, allocations: 7.984 kB / 0.5733 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/0.3784, allocations: 1.785 MB / 0.5751 GB, free: 5.754 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3784, allocations: 0 / 0.5751 GB, free: 5.754 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004932/0.3789, allocations: 267.2 kB / 0.5753 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.351e-05/0.379, allocations: 27.78 kB / 0.5753 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.379, allocations: 4 kB / 0.5753 GB, free: 5.445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.3792, allocations: 8.094 kB / 0.5754 GB, free: 5.438 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/0.3793, allocations: 7.984 kB / 0.5754 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.3793, allocations: 4 kB / 0.5754 GB, free: 5.426 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002957/0.3796, allocations: 249.2 kB / 0.5756 GB, free: 5.184 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3796, allocations: 0 / 0.5756 GB, free: 5.184 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003507/0.38, allocations: 63.95 kB / 0.5757 GB, free: 5.121 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.000837/0.3808, allocations: 0.8019 MB / 0.5764 GB, free: 4.293 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002413/0.3832, allocations: 247.7 kB / 0.5767 GB, free: 4.051 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3832, allocations: 0 / 0.5767 GB, free: 4.051 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009822/0.3842, allocations: 111.8 kB / 0.5768 GB, free: 3.941 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.3846, allocations: 50.16 kB / 0.5768 GB, free: 3.891 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003977/0.3886, allocations: 2.916 MB / 0.5797 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.389, allocations: 0.7714 MB / 0.5804 GB, free: 48 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001661/0.3891, allocations: 54.3 kB / 0.5805 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.3893, allocations: 75.36 kB / 0.5806 GB, free: 15.92 MB / 430.1 MB Notification: Performance of SimCode: time 9.71e-07/0.3893, allocations: 0 / 0.5806 GB, free: 15.92 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03366/0.4229, allocations: 7.935 MB / 0.5883 GB, free: 8.145 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.29, allocations: 11.73 kB / 0.5883 GB, free: 8.133 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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_idealGas_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.382246944122016] Failed to read output from testmodel.py, exit status != 0: ['time', 'frac_KmToRs[1]', 'frac_KmToRs[2]', 'frac_KmToRs[3]', 'dp_nom[1]', 'dp_nom[2]', 'dp_nom[3]', 'p_2[1]', 'p_2[2]', 'p_2[3]', 'm_flow_nom[1]', 'm_flow_nom[2]', 'm_flow_nom[3]', 'Km[1]', 'Km[2]', 'Km[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.386251260060817 12.401703349 12.037564161 Calling exit ...