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_nominalPressureLossLawDensity_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.001299/0.001299, allocations: 105.1 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.001421/0.001421, allocations: 213.9 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.419/1.419, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2233/0.2233, allocations: 46.93 MB / 361.6 MB, free: 4.207 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_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_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.002322/0.002322, allocations: 83.86 kB / 0.497 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3323, allocations: 66.07 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003361/0.3357, allocations: 1.951 MB / 0.5634 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.3376, allocations: 1.146 MB / 0.5646 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.391e-05/0.3376, allocations: 0 / 0.5646 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.3379, allocations: 85.48 kB / 0.5646 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.3381, allocations: 71.52 kB / 0.5647 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004019/0.3385, allocations: 151.4 kB / 0.5648 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003066/0.3388, allocations: 266.4 kB / 0.5651 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.193e-05/0.3389, allocations: 16.92 kB / 0.5651 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.3391, allocations: 107.4 kB / 0.5652 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.3393, allocations: 119.3 kB / 0.5653 GB, free: 404 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.3393, allocations: 8 kB / 0.5653 GB, free: 396 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005224/0.3398, allocations: 323.5 kB / 0.5657 GB, free: 72 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.523e-05/0.3399, allocations: 55.64 kB / 0.5657 GB, free: 16 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.34, allocations: 115.4 kB / 0.5658 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005743/0.3406, allocations: 438.1 kB / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3406, allocations: 4 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3406, allocations: 0 / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.3406, allocations: 0 / 0.5662 GB, free: 15.46 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0007677/0.3414, allocations: 0.5017 MB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3414, allocations: 8.031 kB / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.787e-05/0.3415, allocations: 74.72 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.339e-05/0.3416, allocations: 40.64 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.3418, allocations: 182.1 kB / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.123e-05/0.3418, allocations: 36.92 kB / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/0.3419, allocations: 32 kB / 0.5671 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007265/0.3426, allocations: 489.4 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3426, allocations: 0 / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.972e-05/0.3427, allocations: 19.98 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.916e-05/0.3427, allocations: 24.98 kB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006532/0.3433, allocations: 431.7 kB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.3449, allocations: 1.15 MB / 0.5691 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.3451, allocations: 74.53 kB / 0.5692 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.3452, allocations: 40.83 kB / 0.5692 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.3452, allocations: 7.938 kB / 0.5692 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.3453, allocations: 38.5 kB / 0.5693 GB, free: 12.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.3453, allocations: 0 / 0.5693 GB, free: 12.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004612/0.3457, allocations: 149.7 kB / 0.5694 GB, free: 12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.3458, allocations: 55.34 kB / 0.5695 GB, free: 11.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.3459, allocations: 166.4 kB / 0.5696 GB, free: 11.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.3459, allocations: 29.7 kB / 0.5697 GB, free: 11.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.3461, allocations: 223.9 kB / 0.5699 GB, free: 11.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.3461, allocations: 31.73 kB / 0.5699 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.48e-05/0.3462, allocations: 57.7 kB / 0.57 GB, free: 11.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3463, allocations: 322.8 kB / 0.5703 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.3465, allocations: 47.95 kB / 0.5703 GB, free: 11.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.3467, allocations: 185 kB / 0.5705 GB, free: 10.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/0.3471, allocations: 244 kB / 0.5707 GB, free: 10.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.3471, allocations: 4 kB / 0.5707 GB, free: 10.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004749/0.3475, allocations: 261.4 kB / 0.571 GB, free: 10.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3476, allocations: 4 kB / 0.571 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3476, allocations: 4 kB / 0.571 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.3476, allocations: 12.5 kB / 0.571 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.3479, allocations: 87.91 kB / 0.5711 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/0.349, allocations: 1.782 MB / 0.5728 GB, free: 8.277 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.3491, allocations: 27.78 kB / 0.5728 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.3492, allocations: 20 kB / 0.5729 GB, free: 8.23 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0002696/0.3494, allocations: 173.7 kB / 0.573 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.485e-05/0.3495, allocations: 11.91 kB / 0.573 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004767/0.35, allocations: 202 kB / 0.5732 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.35, allocations: 3.984 kB / 0.5732 GB, free: 7.832 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.35, allocations: 4 kB / 0.5732 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.35, allocations: 0 / 0.5732 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.3503, allocations: 260.6 kB / 0.5735 GB, free: 7.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3503, allocations: 0 / 0.5735 GB, free: 7.531 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.3505, allocations: 59.97 kB / 0.5736 GB, free: 7.473 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3505, allocations: 0 / 0.5736 GB, free: 7.473 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.3505, allocations: 11.94 kB / 0.5736 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/0.3516, allocations: 1.77 MB / 0.5753 GB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3516, allocations: 0 / 0.5753 GB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003787/0.352, allocations: 231.6 kB / 0.5755 GB, free: 5.379 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/0.352, allocations: 11.89 kB / 0.5755 GB, free: 5.367 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.352, allocations: 0 / 0.5755 GB, free: 5.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.791e-05/0.3521, allocations: 7.984 kB / 0.5755 GB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.746e-05/0.3522, allocations: 11.98 kB / 0.5755 GB, free: 5.348 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.3522, allocations: 4 kB / 0.5755 GB, free: 5.344 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.945e-05/0.3523, allocations: 115.9 kB / 0.5757 GB, free: 5.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3523, allocations: 3.938 kB / 0.5757 GB, free: 5.227 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004841/0.3528, allocations: 107.6 kB / 0.5758 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 (7): * Single equations (assignments): 4 * 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.0008813/0.3536, allocations: 0.8019 MB / 0.5765 GB, free: 4.289 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005562/0.3542, allocations: 180.8 kB / 0.5767 GB, free: 4.113 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3542, allocations: 0 / 0.5767 GB, free: 4.113 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002802/0.3545, allocations: 83.95 kB / 0.5768 GB, free: 4.031 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.3548, allocations: 11.88 kB / 0.5768 GB, free: 4.023 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/0.3575, allocations: 2.228 MB / 0.579 GB, free: 1.605 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.358, allocations: 0.8021 MB / 0.5798 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001747/0.3582, allocations: 61.19 kB / 0.5798 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.3583, allocations: 75.41 kB / 0.5799 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3583, allocations: 0 / 0.5799 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02983/0.3881, allocations: 5.405 MB / 0.5852 GB, free: 11.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.68, allocations: 7.875 kB / 0.5852 GB, free: 11.37 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.662302521057427] Failed to read output from testmodel.py, exit status != 0: ['time', 'A_cross', 'A_cross_nom', 'dp_nom', 'm_flow_nom', 'exp', 'NominalMassFlowRate', 'V_flow_nom', 'zeta_TOT', 'zeta_TOT_nom', 'rho_nom', 'rho[1]', 'rho[2]', 'rho[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'] 11.776379973161966 11.799608467 11.454659556 Calling exit ...