Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.001572/0.001572, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001676/0.001676, allocations: 210.7 kB / 24.53 MB, free: 4.07 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.416/1.416, allocations: 230.5 MB / 258.2 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2148/0.2148, allocations: 46.93 MB / 361.6 MB, free: 4.25 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 84.16 kB / 0.497 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2955, allocations: 66.08 MB / 0.5615 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003148/0.2987, allocations: 1.851 MB / 0.5633 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004284/0.303, allocations: 2.99 MB / 0.5663 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.039e-05/0.3031, allocations: 4 kB / 0.5663 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002442/0.3033, allocations: 47.75 kB / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.3036, allocations: 87.56 kB / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.3053, allocations: 0.7386 MB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003288/0.3057, allocations: 242.7 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.095e-05/0.3057, allocations: 12.59 kB / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.306, allocations: 115.5 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.3061, allocations: 123.4 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.3062, allocations: 8 kB / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00186/0.308, allocations: 1.232 MB / 0.5688 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.165e-05/0.3081, allocations: 67.69 kB / 0.5689 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.3082, allocations: 119.2 kB / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.3096, allocations: 0.9382 MB / 0.5699 GB, free: 11.67 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3096, allocations: 0 / 0.5699 GB, free: 11.67 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3096, allocations: 0 / 0.5699 GB, free: 11.67 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.3096, allocations: 3.938 kB / 0.5699 GB, free: 11.66 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001011/0.3106, allocations: 0.6096 MB / 0.5705 GB, free: 11.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3106, allocations: 8.031 kB / 0.5705 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.917e-05/0.3106, allocations: 8.844 kB / 0.5705 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.487e-05/0.3107, allocations: 82.69 kB / 0.5706 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.62e-05/0.3108, allocations: 32.75 kB / 0.5706 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.3111, allocations: 177.1 kB / 0.5708 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.3111, allocations: 24.59 kB / 0.5708 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.65e-05/0.3111, allocations: 27.98 kB / 0.5708 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007391/0.3119, allocations: 467.9 kB / 0.5713 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3119, allocations: 3.938 kB / 0.5713 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.3119, allocations: 12 kB / 0.5713 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-05/0.312, allocations: 48.94 kB / 0.5713 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008598/0.3128, allocations: 0.5543 MB / 0.5719 GB, free: 9.555 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.3147, allocations: 1.272 MB / 0.5731 GB, free: 8.168 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005192/0.3152, allocations: 258.3 kB / 0.5734 GB, free: 7.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.3154, allocations: 92.73 kB / 0.5735 GB, free: 7.816 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.65e-05/0.3155, allocations: 12.36 kB / 0.5735 GB, free: 7.805 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.3155, allocations: 42.5 kB / 0.5735 GB, free: 7.754 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.423e-06/0.3155, allocations: 0 / 0.5735 GB, free: 7.754 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007424/0.3162, allocations: 337.2 kB / 0.5738 GB, free: 7.418 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.3163, allocations: 51.41 kB / 0.5739 GB, free: 7.355 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.3164, allocations: 148.7 kB / 0.574 GB, free: 7.199 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.3164, allocations: 33.7 kB / 0.5741 GB, free: 7.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.3165, allocations: 200.2 kB / 0.5742 GB, free: 6.961 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.558e-05/0.3166, allocations: 91.2 kB / 0.5743 GB, free: 6.871 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.3167, allocations: 69.69 kB / 0.5744 GB, free: 6.797 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3169, allocations: 326.8 kB / 0.5747 GB, free: 6.469 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.3171, allocations: 91.86 kB / 0.5748 GB, free: 6.379 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.3173, allocations: 171 kB / 0.575 GB, free: 6.176 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004985/0.3178, allocations: 298 kB / 0.5752 GB, free: 5.848 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3178, allocations: 7.875 kB / 0.5753 GB, free: 5.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005939/0.3184, allocations: 321.9 kB / 0.5756 GB, free: 5.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.3184, allocations: 8.344 kB / 0.5756 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.3184, allocations: 8 kB / 0.5756 GB, free: 5.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3185, allocations: 4 kB / 0.5756 GB, free: 5.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004891/0.3189, allocations: 115.9 kB / 0.5757 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/0.3203, allocations: 2.367 MB / 0.578 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.3205, allocations: 27.88 kB / 0.578 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.3205, allocations: 23.98 kB / 0.5781 GB, free: 2.875 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001896/0.3207, allocations: 178 kB / 0.5782 GB, free: 2.691 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.3207, allocations: 19.89 kB / 0.5782 GB, free: 2.672 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007693/0.3215, allocations: 358.3 kB / 0.5786 GB, free: 2.316 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.3215, allocations: 4 kB / 0.5786 GB, free: 2.312 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.3215, allocations: 7.922 kB / 0.5786 GB, free: 2.305 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3215, allocations: 3.984 kB / 0.5786 GB, free: 2.301 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00039/0.3219, allocations: 308.5 kB / 0.5789 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3219, allocations: 0 / 0.5789 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004239/0.3223, allocations: 111.9 kB / 0.579 GB, free: 1.848 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3223, allocations: 0 / 0.579 GB, free: 1.848 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.3224, allocations: 11.98 kB / 0.579 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/0.3237, allocations: 2.364 MB / 0.5813 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3237, allocations: 0 / 0.5813 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005844/0.3243, allocations: 375.5 kB / 0.5817 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.3243, allocations: 15.84 kB / 0.5817 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.3244, allocations: 7.984 kB / 0.5817 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.3245, allocations: 12 kB / 0.5817 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/0.3246, allocations: 19.95 kB / 0.5817 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.3246, allocations: 12 kB / 0.5817 GB, free: 14.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.494e-05/0.3247, allocations: 99.27 kB / 0.5818 GB, free: 14.83 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3247, allocations: 3.938 kB / 0.5818 GB, free: 14.83 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007033/0.3254, allocations: 258.7 kB / 0.5821 GB, free: 14.57 MB / 430.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001483/0.3269, allocations: 1.161 MB / 0.5832 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000771/0.3276, allocations: 287.7 kB / 0.5835 GB, free: 13.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3276, allocations: 0 / 0.5835 GB, free: 13.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004409/0.3281, allocations: 172.5 kB / 0.5837 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.3284, allocations: 12 kB / 0.5837 GB, free: 12.92 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003338/0.3317, allocations: 2.594 MB / 0.5862 GB, free: 10.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.3322, allocations: 0.8101 MB / 0.587 GB, free: 9.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002471/0.3324, allocations: 97.69 kB / 0.5871 GB, free: 9.246 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.3326, allocations: 99.38 kB / 0.5872 GB, free: 9.148 MB / 430.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3326, allocations: 0 / 0.5872 GB, free: 9.148 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03046/0.363, allocations: 9.156 MB / 0.5961 GB, free: 140 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/12.97, allocations: 4 kB / 0.5961 GB, free: 136 kB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.0630086910096] Failed to read output from testmodel.py, exit status != 0: ['time', 'MIN', 'A_cross', 'roughness', 'd_hyd', 'K[1]', 'K[2]', 'K[3]', 'K[4]', 'L', 'eta', 'rho', 'input_mdot[1]', 'input_mdot[2]', 'input_mdot[3]', 'input_mdot[4]', 'input_dp[1]', 'input_dp[2]', 'input_dp[3]', 'input_dp[4]', 'M_FLOW[1]', 'M_FLOW[2]', 'M_FLOW[3]', 'M_FLOW[4]', 'DP[1]', 'DP[2]', 'DP[3]', 'DP[4]', 'velocity[1]', 'velocity[2]', 'velocity[3]', 'velocity[4]', 'Re[1]', 'Re[2]', 'Re[3]', 'Re[4]', 'DP_plot[1]', 'DP_plot[2]', 'DP_plot[3]', 'DP_plot[4]', 'zeta_TOT[1]', 'zeta_TOT[2]', 'zeta_TOT[3]', 'zeta_TOT[4]', 'lambda_FRI[1]', 'lambda_FRI[2]', 'lambda_FRI[3]', 'lambda_FRI[4]', 'input_DP.y'] 13.148001139983535 13.168834765 12.855376891 Calling exit ...