Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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.001252/0.001252, allocations: 109.1 kB / 21.22 MB, free: 0.7383 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.001545/0.001545, allocations: 210.7 kB / 24.53 MB, free: 4.098 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.388/1.388, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2125/0.2125, allocations: 46.92 MB / 361.6 MB, free: 4.199 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_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 75.88 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3014, allocations: 66.08 MB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003389/0.3047, allocations: 1.851 MB / 0.5633 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002766/0.3075, allocations: 1.731 MB / 0.565 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.973e-05/0.3076, allocations: 0 / 0.565 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.3078, allocations: 51.67 kB / 0.5651 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.3081, allocations: 83.56 kB / 0.5652 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008656/0.309, allocations: 417.8 kB / 0.5656 GB, free: 180 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003117/0.3093, allocations: 246.7 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.285e-05/0.3094, allocations: 10.56 kB / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.3096, allocations: 107.5 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.3098, allocations: 127.4 kB / 0.566 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.3098, allocations: 8 kB / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000998/0.3108, allocations: 0.7173 MB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.523e-05/0.3109, allocations: 75.67 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.311, allocations: 115.2 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008225/0.3118, allocations: 0.6305 MB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3118, allocations: 0 / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3118, allocations: 0 / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.3118, allocations: 0 / 0.5675 GB, free: 14.14 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.0009182/0.3127, allocations: 0.5554 MB / 0.5681 GB, free: 13.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.3128, allocations: 16.03 kB / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.975e-05/0.3128, allocations: 8.844 kB / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.484e-05/0.3129, allocations: 74.7 kB / 0.5682 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.696e-05/0.3129, allocations: 32.7 kB / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.3132, allocations: 197 kB / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.3132, allocations: 20.66 kB / 0.5684 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.3133, allocations: 20 kB / 0.5684 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007415/0.314, allocations: 467.9 kB / 0.5689 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.314, allocations: 4 kB / 0.5689 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/0.314, allocations: 11.98 kB / 0.5689 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.082e-05/0.3141, allocations: 48.97 kB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008637/0.315, allocations: 0.5426 MB / 0.5695 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.3169, allocations: 1.279 MB / 0.5707 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005187/0.3174, allocations: 258.5 kB / 0.571 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.3176, allocations: 100.7 kB / 0.5711 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.3176, allocations: 4.391 kB / 0.5711 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.3177, allocations: 38.55 kB / 0.5711 GB, free: 10.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.403e-06/0.3177, allocations: 0 / 0.5711 GB, free: 10.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007575/0.3184, allocations: 333.2 kB / 0.5714 GB, free: 9.957 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.3185, allocations: 59.41 kB / 0.5715 GB, free: 9.887 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.3186, allocations: 156 kB / 0.5716 GB, free: 9.723 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.3186, allocations: 25.7 kB / 0.5716 GB, free: 9.691 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.3188, allocations: 196.2 kB / 0.5718 GB, free: 9.496 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.376e-05/0.3188, allocations: 91.22 kB / 0.5719 GB, free: 9.406 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.3189, allocations: 69.69 kB / 0.572 GB, free: 9.332 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3191, allocations: 326.8 kB / 0.5723 GB, free: 9.004 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.3193, allocations: 91.92 kB / 0.5724 GB, free: 8.914 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.3195, allocations: 175 kB / 0.5726 GB, free: 8.707 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004795/0.32, allocations: 290 kB / 0.5728 GB, free: 8.387 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.32, allocations: 0 / 0.5728 GB, free: 8.387 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006086/0.3206, allocations: 333.9 kB / 0.5731 GB, free: 8.055 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3206, allocations: 4 kB / 0.5732 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3206, allocations: 4 kB / 0.5732 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3207, allocations: 4 kB / 0.5732 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004821/0.3211, allocations: 119.9 kB / 0.5733 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/0.3225, allocations: 2.368 MB / 0.5756 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.3227, allocations: 35.84 kB / 0.5756 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.3227, allocations: 19.98 kB / 0.5756 GB, free: 5.41 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.0001818/0.3229, allocations: 173.7 kB / 0.5758 GB, free: 5.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/0.3229, allocations: 15.91 kB / 0.5758 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000772/0.3237, allocations: 366.2 kB / 0.5762 GB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3237, allocations: 4 kB / 0.5762 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3237, allocations: 3.938 kB / 0.5762 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.3237, allocations: 4 kB / 0.5762 GB, free: 4.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003831/0.3241, allocations: 316.5 kB / 0.5765 GB, free: 4.488 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3241, allocations: 8 kB / 0.5765 GB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004287/0.3245, allocations: 103.9 kB / 0.5766 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3245, allocations: 0 / 0.5766 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.3246, allocations: 11.98 kB / 0.5766 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/0.3259, allocations: 2.356 MB / 0.5789 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3259, allocations: 352 / 0.5789 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005579/0.3264, allocations: 375.2 kB / 0.5793 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.332e-05/0.3265, allocations: 23.83 kB / 0.5793 GB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.3265, allocations: 7.938 kB / 0.5793 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.3266, allocations: 8 kB / 0.5793 GB, free: 1.496 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/0.3267, allocations: 23.95 kB / 0.5793 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.3267, allocations: 16 kB / 0.5793 GB, free: 1.457 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.384e-05/0.3268, allocations: 106.5 kB / 0.5794 GB, free: 1.355 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3268, allocations: 0 / 0.5794 GB, free: 1.355 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005336/0.3273, allocations: 179.2 kB / 0.5796 GB, free: 1.18 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 (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.001199/0.3285, allocations: 1.025 MB / 0.5806 GB, free: 128 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007641/0.3293, allocations: 291.8 kB / 0.5809 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3293, allocations: 0 / 0.5809 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004324/0.3297, allocations: 163.8 kB / 0.581 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.3301, allocations: 19.94 kB / 0.5811 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003336/0.3334, allocations: 2.56 MB / 0.5836 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.3338, allocations: 0.8063 MB / 0.5843 GB, free: 12.11 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002504/0.3341, allocations: 101.7 kB / 0.5844 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.3342, allocations: 87.41 kB / 0.5845 GB, free: 11.93 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3342, allocations: 0 / 0.5845 GB, free: 11.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03141/0.3656, allocations: 7.361 MB / 0.5917 GB, free: 4.715 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/12.88, allocations: 7.938 kB / 0.5917 GB, free: 4.707 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.951007801981177] 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.06556197698228 13.08246008 12.767225613 Calling exit ...