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.001896/0.001896, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002261/0.002261, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.475/1.475, allocations: 230.5 MB / 258.2 MB, free: 8.055 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.2486/0.2486, allocations: 46.93 MB / 361.6 MB, free: 4.219 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.002259/0.002259, allocations: 75.88 kB / 0.497 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3481, allocations: 66.09 MB / 0.5615 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003045/0.3512, allocations: 1.686 MB / 0.5632 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.3527, allocations: 0.9277 MB / 0.5641 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.929e-05/0.3528, allocations: 0 / 0.5641 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001953/0.353, allocations: 31.83 kB / 0.5641 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.3532, allocations: 55.67 kB / 0.5642 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.3536, allocations: 135.5 kB / 0.5643 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.3538, allocations: 143.3 kB / 0.5644 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/0.3538, allocations: 9.641 kB / 0.5644 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.075e-05/0.3539, allocations: 59.7 kB / 0.5645 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.354, allocations: 67.73 kB / 0.5646 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.354, allocations: 4 kB / 0.5646 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003612/0.3544, allocations: 219.6 kB / 0.5648 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.527e-05/0.3545, allocations: 35.78 kB / 0.5648 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.435e-05/0.3545, allocations: 67.59 kB / 0.5649 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003619/0.3549, allocations: 237.2 kB / 0.5651 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3549, allocations: 4 kB / 0.5651 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3549, allocations: 0 / 0.5651 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.3549, allocations: 4 kB / 0.5651 GB, free: 0.6484 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.0006066/0.3555, allocations: 405.4 kB / 0.5655 GB, free: 228 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.3555, allocations: 8.031 kB / 0.5655 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.632e-05/0.3556, allocations: 50.73 kB / 0.5656 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.3567, allocations: 116.6 kB / 0.5657 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.3569, allocations: 174.2 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.3569, allocations: 12.38 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.357, allocations: 12.38 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006488/0.3576, allocations: 317.5 kB / 0.5662 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3576, allocations: 4 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.3577, allocations: 4 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-05/0.3577, allocations: 19.98 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007809/0.3585, allocations: 315.7 kB / 0.5665 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.36, allocations: 0.8028 MB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007172/0.3607, allocations: 218.3 kB / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002738/0.361, allocations: 80.77 kB / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.361, allocations: 11.98 kB / 0.5676 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.361, allocations: 38.5 kB / 0.5676 GB, free: 13.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.361, allocations: 0 / 0.5676 GB, free: 13.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009895/0.362, allocations: 293.3 kB / 0.5679 GB, free: 13.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.3621, allocations: 55.41 kB / 0.5679 GB, free: 13.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.3623, allocations: 183.2 kB / 0.5681 GB, free: 13.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.3623, allocations: 33.7 kB / 0.5681 GB, free: 13.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.463e-05/0.3624, allocations: 143.7 kB / 0.5683 GB, free: 13.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.3624, allocations: 35.67 kB / 0.5683 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.483e-05/0.3625, allocations: 53.62 kB / 0.5684 GB, free: 13.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3627, allocations: 322.8 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002825/0.3629, allocations: 87.89 kB / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.3633, allocations: 141 kB / 0.5689 GB, free: 12.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005999/0.3639, allocations: 218.6 kB / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.3639, allocations: 4 kB / 0.5691 GB, free: 12.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007343/0.3646, allocations: 269.2 kB / 0.5694 GB, free: 12.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3646, allocations: 4 kB / 0.5694 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.3646, allocations: 7.938 kB / 0.5694 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3647, allocations: 480 / 0.5694 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/0.3651, allocations: 83.86 kB / 0.5695 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/0.3662, allocations: 1.786 MB / 0.5712 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.3664, allocations: 27.83 kB / 0.5712 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.3664, allocations: 11.98 kB / 0.5712 GB, free: 10.02 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.0001496/0.3666, allocations: 149.9 kB / 0.5714 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.902e-05/0.3666, allocations: 11.89 kB / 0.5714 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008001/0.3674, allocations: 262.7 kB / 0.5716 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3674, allocations: 0 / 0.5716 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.3674, allocations: 4 kB / 0.5716 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3674, allocations: 7.938 kB / 0.5717 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.3677, allocations: 232.5 kB / 0.5719 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3677, allocations: 0 / 0.5719 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003535/0.3681, allocations: 71.86 kB / 0.5719 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3681, allocations: 0 / 0.5719 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.3681, allocations: 15.98 kB / 0.572 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.3692, allocations: 1.785 MB / 0.5737 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3692, allocations: 0 / 0.5737 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000716/0.37, allocations: 319.5 kB / 0.574 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/0.37, allocations: 19.88 kB / 0.574 GB, free: 7.016 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.37, allocations: 0 / 0.574 GB, free: 7.016 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.3702, allocations: 11.98 kB / 0.574 GB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.093e-05/0.3703, allocations: 15.91 kB / 0.5741 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.3703, allocations: 11.98 kB / 0.5741 GB, free: 6.977 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.3704, allocations: 137.6 kB / 0.5742 GB, free: 6.844 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3704, allocations: 4 kB / 0.5742 GB, free: 6.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003573/0.3708, allocations: 59.83 kB / 0.5743 GB, free: 6.781 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.001178/0.372, allocations: 0.8763 MB / 0.5751 GB, free: 5.879 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008323/0.3728, allocations: 231.6 kB / 0.5753 GB, free: 5.652 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3728, allocations: 448 / 0.5753 GB, free: 5.652 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004481/0.3733, allocations: 127.9 kB / 0.5755 GB, free: 5.527 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.3735, allocations: 12.88 kB / 0.5755 GB, free: 5.516 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00358/0.3771, allocations: 2.346 MB / 0.5778 GB, free: 3.043 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.3775, allocations: 0.7436 MB / 0.5785 GB, free: 2.273 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001996/0.3777, allocations: 65.45 kB / 0.5785 GB, free: 2.211 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.3778, allocations: 55.39 kB / 0.5786 GB, free: 2.156 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3778, allocations: 0 / 0.5786 GB, free: 2.156 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/0.4053, allocations: 4.95 MB / 0.5834 GB, free: 13.33 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.85, allocations: 8.391 kB / 0.5834 GB, free: 13.33 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.891495685093105] 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.94231511792168 11.958561693 11.600547390000001 Calling exit ...