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.001781/0.001781, allocations: 108.6 kB / 19.8 MB, free: 2.5 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.002487/0.002487, allocations: 214.2 kB / 23 MB, free: 5.582 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.493/1.493, allocations: 230.2 MB / 256.2 MB, free: 8.543 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.2293/0.2293, allocations: 46.9 MB / 359.4 MB, free: 4.887 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.003337/0.003337, allocations: 87.84 kB / 0.4942 GB, free: 8.977 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3375, allocations: 65.99 MB / 0.5586 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003211/0.3407, allocations: 1.671 MB / 0.5602 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.3424, allocations: 0.9318 MB / 0.5611 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.795e-05/0.3425, allocations: 4 kB / 0.5611 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.3427, allocations: 27.83 kB / 0.5612 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.3429, allocations: 51.75 kB / 0.5612 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005137/0.3435, allocations: 135.5 kB / 0.5614 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.3437, allocations: 139.3 kB / 0.5615 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.446e-05/0.3437, allocations: 13.25 kB / 0.5615 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.3439, allocations: 59.7 kB / 0.5616 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.344, allocations: 71.67 kB / 0.5616 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.344, allocations: 8 kB / 0.5616 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004009/0.3444, allocations: 211.6 kB / 0.5618 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.963e-05/0.3445, allocations: 39.89 kB / 0.5619 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.155e-05/0.3446, allocations: 63.55 kB / 0.5619 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004409/0.345, allocations: 241 kB / 0.5622 GB, free: 1.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.345, allocations: 0 / 0.5622 GB, free: 1.461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.345, allocations: 0 / 0.5622 GB, free: 1.461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.345, allocations: 4 kB / 0.5622 GB, free: 1.457 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.0007268/0.3458, allocations: 482.5 kB / 0.5626 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3458, allocations: 8.031 kB / 0.5626 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.744e-05/0.3459, allocations: 50.73 kB / 0.5627 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.347, allocations: 116.6 kB / 0.5628 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.3473, allocations: 228.1 kB / 0.563 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.3473, allocations: 4.375 kB / 0.563 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.3473, allocations: 16.36 kB / 0.563 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006811/0.348, allocations: 317.5 kB / 0.5633 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.348, allocations: 0 / 0.5633 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/0.348, allocations: 7.984 kB / 0.5633 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/0.3481, allocations: 19.98 kB / 0.5634 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008211/0.3489, allocations: 327.7 kB / 0.5637 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.3504, allocations: 0.8297 MB / 0.5645 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007269/0.3511, allocations: 218.3 kB / 0.5647 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002931/0.3514, allocations: 84.84 kB / 0.5648 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.3515, allocations: 4 kB / 0.5648 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.3515, allocations: 34.56 kB / 0.5648 GB, free: 14.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.3515, allocations: 0 / 0.5648 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.001051/0.3525, allocations: 297.2 kB / 0.5651 GB, free: 14.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.3526, allocations: 51.41 kB / 0.5651 GB, free: 14.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.3528, allocations: 187.3 kB / 0.5653 GB, free: 13.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.3528, allocations: 25.7 kB / 0.5653 GB, free: 13.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.3529, allocations: 147.7 kB / 0.5655 GB, free: 13.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.353, allocations: 39.67 kB / 0.5655 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.587e-05/0.3531, allocations: 53.62 kB / 0.5656 GB, free: 13.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3532, allocations: 322.8 kB / 0.5659 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002982/0.3535, allocations: 87.89 kB / 0.566 GB, free: 13.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003382/0.3538, allocations: 141.4 kB / 0.5661 GB, free: 13.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006388/0.3545, allocations: 218.6 kB / 0.5663 GB, free: 12.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3545, allocations: 0 / 0.5663 GB, free: 12.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007579/0.3552, allocations: 273.8 kB / 0.5666 GB, free: 12.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3553, allocations: 12 kB / 0.5666 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.3553, allocations: 8.031 kB / 0.5666 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3553, allocations: 7.938 kB / 0.5666 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004396/0.3557, allocations: 75.92 kB / 0.5667 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.3569, allocations: 1.785 MB / 0.5684 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.3572, allocations: 27.86 kB / 0.5684 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.3572, allocations: 15.97 kB / 0.5685 GB, free: 10.62 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.0001574/0.3573, allocations: 141.8 kB / 0.5686 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.3574, allocations: 12.08 kB / 0.5686 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008249/0.3582, allocations: 270.6 kB / 0.5689 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3582, allocations: 0 / 0.5689 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3582, allocations: 0 / 0.5689 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3582, allocations: 0 / 0.5689 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.3586, allocations: 261.5 kB / 0.5691 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3586, allocations: 0 / 0.5691 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003586/0.3589, allocations: 75.8 kB / 0.5692 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3589, allocations: 0 / 0.5692 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.359, allocations: 11.98 kB / 0.5692 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.3601, allocations: 1.785 MB / 0.5709 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3601, allocations: 4.031 kB / 0.5709 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007357/0.3608, allocations: 323.3 kB / 0.5712 GB, free: 7.598 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.3609, allocations: 85.06 kB / 0.5713 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.3609, allocations: 4 kB / 0.5713 GB, free: 7.492 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.3611, allocations: 7.984 kB / 0.5713 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/0.3611, allocations: 16.16 kB / 0.5714 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.3612, allocations: 7.984 kB / 0.5714 GB, free: 7.461 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.3613, allocations: 149.5 kB / 0.5715 GB, free: 7.316 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3613, allocations: 0 / 0.5715 GB, free: 7.316 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003575/0.3617, allocations: 59.83 kB / 0.5716 GB, free: 7.258 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.001234/0.3629, allocations: 0.88 MB / 0.5724 GB, free: 6.352 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008714/0.3638, allocations: 227.6 kB / 0.5726 GB, free: 6.129 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3638, allocations: 4 kB / 0.5726 GB, free: 6.125 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004746/0.3642, allocations: 128.2 kB / 0.5728 GB, free: 6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.3645, allocations: 19.94 kB / 0.5728 GB, free: 5.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.3682, allocations: 2.345 MB / 0.5751 GB, free: 3.523 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.3686, allocations: 0.7358 MB / 0.5758 GB, free: 2.758 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001967/0.3688, allocations: 68.98 kB / 0.5759 GB, free: 2.691 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.3689, allocations: 59.38 kB / 0.5759 GB, free: 2.633 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3689, allocations: 0 / 0.5759 GB, free: 2.633 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/0.3987, allocations: 4.838 MB / 0.5806 GB, free: 13.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.98, allocations: 4.562 kB / 0.5806 GB, free: 13.91 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_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.797843113017734] 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'] 12.079105837008683 12.105185945 11.755355649 Calling exit ...