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.001291/0.001291, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001477/0.001477, allocations: 210.9 kB / 24.52 MB, free: 3.941 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.432/1.432, allocations: 230.5 MB / 258.2 MB, free: 7.797 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.2263/0.2263, allocations: 46.96 MB / 361.6 MB, free: 3.922 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.002214/0.002214, allocations: 83.86 kB / 0.4969 GB, free: 7.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3051, allocations: 66.07 MB / 0.5615 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003444/0.3086, allocations: 1.804 MB / 0.5632 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00264/0.3112, allocations: 1.528 MB / 0.5647 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.749e-05/0.3113, allocations: 4 kB / 0.5647 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002365/0.3115, allocations: 43.75 kB / 0.5648 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003176/0.3118, allocations: 83.56 kB / 0.5648 GB, free: 432 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009196/0.3128, allocations: 417.8 kB / 0.5652 GB, free: 16 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000322/0.3131, allocations: 242.7 kB / 0.5655 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.753e-05/0.3131, allocations: 10.42 kB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.3134, allocations: 111.5 kB / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.3135, allocations: 127.4 kB / 0.5657 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.3136, allocations: 8 kB / 0.5657 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006303/0.3142, allocations: 335.3 kB / 0.566 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.3143, allocations: 79.66 kB / 0.5661 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.3144, allocations: 91.36 kB / 0.5662 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007926/0.3152, allocations: 0.5253 MB / 0.5667 GB, free: 14.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3152, allocations: 0 / 0.5667 GB, free: 14.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3152, allocations: 0 / 0.5667 GB, free: 14.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.3152, allocations: 0 / 0.5667 GB, free: 14.5 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.0009844/0.3162, allocations: 0.5632 MB / 0.5673 GB, free: 13.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.3162, allocations: 8.031 kB / 0.5673 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.88e-05/0.3163, allocations: 12.84 kB / 0.5673 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.493e-05/0.3163, allocations: 74.72 kB / 0.5674 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.869e-05/0.3164, allocations: 36.64 kB / 0.5674 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.3167, allocations: 189 kB / 0.5676 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.3167, allocations: 24.64 kB / 0.5676 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.343e-05/0.3168, allocations: 20 kB / 0.5676 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007697/0.3175, allocations: 467.9 kB / 0.5681 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3175, allocations: 0 / 0.5681 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.3176, allocations: 12 kB / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.16e-05/0.3176, allocations: 48.95 kB / 0.5681 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008644/0.3185, allocations: 0.5504 MB / 0.5687 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.3204, allocations: 1.036 MB / 0.5697 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005859/0.3209, allocations: 278.3 kB / 0.5699 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.3211, allocations: 92.73 kB / 0.57 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.031e-05/0.3212, allocations: 7.984 kB / 0.57 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.3212, allocations: 42.55 kB / 0.5701 GB, free: 10.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.563e-06/0.3212, allocations: 0 / 0.5701 GB, free: 10.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007481/0.322, allocations: 333.2 kB / 0.5704 GB, free: 10.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.322, allocations: 55.41 kB / 0.5704 GB, free: 10.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.3221, allocations: 156.7 kB / 0.5706 GB, free: 10.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.877e-05/0.3222, allocations: 29.7 kB / 0.5706 GB, free: 10.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.3223, allocations: 192.2 kB / 0.5708 GB, free: 10.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.837e-05/0.3224, allocations: 91.22 kB / 0.5709 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-05/0.3225, allocations: 65.7 kB / 0.5709 GB, free: 9.961 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3226, allocations: 326.8 kB / 0.5713 GB, free: 9.633 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.3228, allocations: 87.92 kB / 0.5713 GB, free: 9.547 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.3231, allocations: 183 kB / 0.5715 GB, free: 9.332 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005078/0.3236, allocations: 282 kB / 0.5718 GB, free: 9.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.3236, allocations: 4 kB / 0.5718 GB, free: 9.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006723/0.3243, allocations: 330.2 kB / 0.5721 GB, free: 8.688 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3243, allocations: 12.03 kB / 0.5721 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3243, allocations: 0 / 0.5721 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.3243, allocations: 8 kB / 0.5721 GB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005475/0.3249, allocations: 127.9 kB / 0.5722 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.3263, allocations: 2.372 MB / 0.5746 GB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.3265, allocations: 31.77 kB / 0.5746 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.3265, allocations: 16 kB / 0.5746 GB, free: 6.031 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.0001958/0.3267, allocations: 177.7 kB / 0.5748 GB, free: 5.848 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.584e-05/0.3268, allocations: 15.91 kB / 0.5748 GB, free: 5.832 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008066/0.3276, allocations: 366.3 kB / 0.5751 GB, free: 5.469 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3276, allocations: 0 / 0.5751 GB, free: 5.469 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.3276, allocations: 7.938 kB / 0.5751 GB, free: 5.461 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/0.3276, allocations: 8 kB / 0.5752 GB, free: 5.453 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003942/0.328, allocations: 308.9 kB / 0.5755 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.328, allocations: 0 / 0.5755 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004802/0.3285, allocations: 119.9 kB / 0.5756 GB, free: 4.992 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.3285, allocations: 4 kB / 0.5756 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.3285, allocations: 11.98 kB / 0.5756 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/0.3299, allocations: 2.36 MB / 0.5779 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3299, allocations: 3.938 kB / 0.5779 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005969/0.3305, allocations: 371.2 kB / 0.5782 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.671e-05/0.3306, allocations: 19.83 kB / 0.5783 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.485e-05/0.3306, allocations: 11.94 kB / 0.5783 GB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.3307, allocations: 8 kB / 0.5783 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/0.3308, allocations: 24.2 kB / 0.5783 GB, free: 2.078 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.3308, allocations: 16 kB / 0.5783 GB, free: 2.062 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.997e-05/0.3309, allocations: 99.25 kB / 0.5784 GB, free: 1.965 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3309, allocations: 0 / 0.5784 GB, free: 1.965 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005744/0.3315, allocations: 179.2 kB / 0.5786 GB, free: 1.789 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.001264/0.3327, allocations: 1.025 MB / 0.5796 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007807/0.3335, allocations: 292.3 kB / 0.5799 GB, free: 460 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3335, allocations: 4 kB / 0.5799 GB, free: 456 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004548/0.334, allocations: 167.8 kB / 0.58 GB, free: 288 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.3344, allocations: 17.12 kB / 0.58 GB, free: 272 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00412/0.3385, allocations: 2.561 MB / 0.5825 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.3387, allocations: 197.8 kB / 0.5827 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002837/0.339, allocations: 97.73 kB / 0.5828 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.3392, allocations: 87.41 kB / 0.5829 GB, free: 13.16 MB / 430.1 MB Notification: Performance of SimCode: time 1.252e-06/0.3392, allocations: 0 / 0.5829 GB, free: 13.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/0.369, allocations: 7.381 MB / 0.5901 GB, free: 5.934 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.06, allocations: 11.94 kB / 0.5901 GB, free: 5.922 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: 16.226700946921483] 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.234731203061529 13.262362603 12.94220731 Calling exit ...