Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 216.5 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.476/1.476, allocations: 230.6 MB / 258.3 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2272/0.2272, allocations: 44.94 MB / 359.6 MB, free: 6.027 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 67.91 kB / 0.4938 GB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3133, allocations: 65.47 MB / 0.5577 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003873/0.3172, allocations: 1.794 MB / 0.5595 GB, free: 5.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.3185, allocations: 0.5812 MB / 0.5601 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.3186, allocations: 4 kB / 0.5601 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.3189, allocations: 47.69 kB / 0.5601 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.3192, allocations: 83.56 kB / 0.5602 GB, free: 5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004308/0.3196, allocations: 111.5 kB / 0.5603 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003372/0.3199, allocations: 230.8 kB / 0.5605 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.81e-05/0.32, allocations: 12.59 kB / 0.5605 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.3201, allocations: 95.44 kB / 0.5606 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.3203, allocations: 107.5 kB / 0.5607 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.3203, allocations: 12 kB / 0.5607 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003501/0.3207, allocations: 171.8 kB / 0.5609 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.796e-05/0.3208, allocations: 55.7 kB / 0.561 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.3209, allocations: 83.47 kB / 0.561 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005686/0.3215, allocations: 324.5 kB / 0.5613 GB, free: 3.816 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3215, allocations: 0 / 0.5613 GB, free: 3.816 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3215, allocations: 0 / 0.5613 GB, free: 3.816 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.3215, allocations: 0 / 0.5613 GB, free: 3.816 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0008999/0.3224, allocations: 473.4 kB / 0.5618 GB, free: 3.324 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.3224, allocations: 16.03 kB / 0.5618 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.443e-05/0.3225, allocations: 4.688 kB / 0.5618 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.035e-05/0.3225, allocations: 66.72 kB / 0.5619 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00198/0.3245, allocations: 200.4 kB / 0.5621 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.3249, allocations: 218.1 kB / 0.5623 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.3249, allocations: 16.86 kB / 0.5623 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.468e-05/0.325, allocations: 28.38 kB / 0.5623 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.3261, allocations: 0.4928 MB / 0.5628 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3261, allocations: 4 kB / 0.5628 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.108e-05/0.3261, allocations: 15.97 kB / 0.5628 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.894e-05/0.3262, allocations: 24.64 kB / 0.5628 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.3275, allocations: 0.584 MB / 0.5634 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/0.3297, allocations: 0.9222 MB / 0.5643 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006937/0.3304, allocations: 162.4 kB / 0.5645 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000351/0.3308, allocations: 84.77 kB / 0.5646 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.3308, allocations: 4 kB / 0.5646 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.3308, allocations: 34.56 kB / 0.5646 GB, free: 368 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.3308, allocations: 3.938 kB / 0.5646 GB, free: 364 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.001255/0.3321, allocations: 305.4 kB / 0.5649 GB, free: 52 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.3322, allocations: 55.41 kB / 0.5649 GB, free: 15.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003044/0.3325, allocations: 277.9 kB / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.3325, allocations: 29.64 kB / 0.5652 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.3326, allocations: 171.7 kB / 0.5654 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.3327, allocations: 23.78 kB / 0.5654 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.962e-05/0.3328, allocations: 41.62 kB / 0.5655 GB, free: 15.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3329, allocations: 334.8 kB / 0.5658 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003777/0.3333, allocations: 95.91 kB / 0.5659 GB, free: 14.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004195/0.3337, allocations: 126.8 kB / 0.566 GB, free: 14.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007562/0.3345, allocations: 211.2 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3345, allocations: 0 / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008953/0.3354, allocations: 257.3 kB / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3354, allocations: 10.66 kB / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3354, allocations: 0 / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3354, allocations: 0 / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006512/0.3419, allocations: 475.3 kB / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003078/0.345, allocations: 1.937 MB / 0.5688 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004306/0.3454, allocations: 47.92 kB / 0.5688 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.589e-05/0.3455, allocations: 11.98 kB / 0.5688 GB, free: 11.84 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.000207/0.3457, allocations: 157.7 kB / 0.569 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.562e-05/0.3457, allocations: 23.84 kB / 0.569 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.191e-05/0.3458, allocations: 29.72 kB / 0.569 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3458, allocations: 0 / 0.569 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.3458, allocations: 3.984 kB / 0.5691 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3458, allocations: 0 / 0.5691 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003892/0.3462, allocations: 244.5 kB / 0.5693 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3462, allocations: 4 kB / 0.5693 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006268/0.3525, allocations: 451.3 kB / 0.5697 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.3525, allocations: 4 kB / 0.5697 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.3525, allocations: 3.984 kB / 0.5697 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003072/0.3556, allocations: 1.941 MB / 0.5716 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3556, allocations: 96 / 0.5716 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009935/0.3566, allocations: 335.1 kB / 0.5719 GB, free: 8.527 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.483e-05/0.3567, allocations: 23.84 kB / 0.572 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.428e-05/0.3567, allocations: 0 / 0.572 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.3571, allocations: 15.97 kB / 0.572 GB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.242e-05/0.3572, allocations: 15.92 kB / 0.572 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.3572, allocations: 7.984 kB / 0.572 GB, free: 8.465 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002321/0.3575, allocations: 213.1 kB / 0.5722 GB, free: 8.262 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3575, allocations: 4 kB / 0.5722 GB, free: 8.258 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003912/0.3579, allocations: 67.89 kB / 0.5723 GB, free: 8.191 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.001381/0.3592, allocations: 0.8586 MB / 0.5731 GB, free: 7.309 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006563/0.3658, allocations: 0.5968 MB / 0.5737 GB, free: 6.711 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.3658, allocations: 0 / 0.5737 GB, free: 6.711 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006074/0.3719, allocations: 499.4 kB / 0.5742 GB, free: 6.223 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004864/0.3724, allocations: 52.34 kB / 0.5742 GB, free: 6.172 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005226/0.3776, allocations: 2.993 MB / 0.5771 GB, free: 3.078 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.3778, allocations: 165.2 kB / 0.5773 GB, free: 2.902 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001795/0.3779, allocations: 53.91 kB / 0.5774 GB, free: 2.848 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.3781, allocations: 63.41 kB / 0.5774 GB, free: 2.785 MB / 414.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3781, allocations: 0 / 0.5774 GB, free: 2.785 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03195/0.41, allocations: 9.194 MB / 0.5864 GB, free: 9.863 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.58, allocations: 7.531 kB / 0.5864 GB, free: 9.859 MB / 430.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.715215416043065] Failed to read output from testmodel.py, exit status != 0: ['time', 'eta[1]', 'eta[2]', 'eta[3]', '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'] 13.760719571029767 13.785527898 13.459394195 Calling exit ...