Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.0013/0.0013, 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.001479/0.001479, allocations: 210.7 kB / 24.52 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.4/1.4, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.2146/0.2146, allocations: 46.92 MB / 361.6 MB, free: 4.188 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.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 76.16 kB / 0.497 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3047, allocations: 66.09 MB / 0.5615 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002915/0.3076, allocations: 1.703 MB / 0.5632 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.3091, allocations: 0.854 MB / 0.564 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.501e-05/0.3092, allocations: 4 kB / 0.564 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.3094, allocations: 39.77 kB / 0.5641 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.3095, allocations: 51.73 kB / 0.5641 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.3098, allocations: 111.6 kB / 0.5642 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.3101, allocations: 155.2 kB / 0.5644 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.098e-05/0.3101, allocations: 12.86 kB / 0.5644 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.3103, allocations: 67.7 kB / 0.5644 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.3104, allocations: 75.67 kB / 0.5645 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.3104, allocations: 8 kB / 0.5645 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002918/0.3107, allocations: 167.7 kB / 0.5647 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.03e-05/0.3108, allocations: 35.91 kB / 0.5647 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.46e-05/0.3109, allocations: 63.55 kB / 0.5648 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.3112, allocations: 205.4 kB / 0.565 GB, free: 0.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.3112, allocations: 0 / 0.565 GB, free: 0.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3112, allocations: 0 / 0.565 GB, free: 0.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.3112, allocations: 0 / 0.565 GB, free: 0.75 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005902/0.3118, allocations: 401.4 kB / 0.5654 GB, free: 336 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3118, allocations: 8.031 kB / 0.5654 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.697e-05/0.3118, allocations: 4.188 kB / 0.5654 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.298e-05/0.3119, allocations: 54.72 kB / 0.5654 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004362/0.3123, allocations: 52.78 kB / 0.5655 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.3125, allocations: 166.2 kB / 0.5656 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.3125, allocations: 16.12 kB / 0.5656 GB, free: 0 / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.3126, allocations: 12.05 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000451/0.313, allocations: 241.2 kB / 0.5659 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.313, allocations: 0 / 0.5659 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.3131, allocations: 8 kB / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-05/0.3131, allocations: 19.98 kB / 0.5659 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004401/0.3135, allocations: 219.8 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.3147, allocations: 0.7056 MB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.3149, allocations: 90.44 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.3151, allocations: 44.81 kB / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.3151, allocations: 3.938 kB / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.3151, allocations: 34.56 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.3151, allocations: 4 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005329/0.3156, allocations: 165.7 kB / 0.5671 GB, free: 14.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.3157, allocations: 55.41 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.3159, allocations: 191.2 kB / 0.5674 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.3159, allocations: 25.7 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.316, allocations: 139.8 kB / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.316, allocations: 27.8 kB / 0.5676 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.931e-05/0.3161, allocations: 41.64 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.3162, allocations: 322.8 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.3164, allocations: 43.95 kB / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.3166, allocations: 106.2 kB / 0.568 GB, free: 13.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.3169, allocations: 166.9 kB / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3169, allocations: 0 / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003921/0.3173, allocations: 181.3 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3173, allocations: 10.34 kB / 0.5684 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3173, allocations: 4.219 kB / 0.5684 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3173, allocations: 7.938 kB / 0.5684 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008623/0.3182, allocations: 91.83 kB / 0.5685 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/0.3196, allocations: 1.809 MB / 0.5703 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.3197, allocations: 19.88 kB / 0.5703 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.3197, allocations: 16.12 kB / 0.5703 GB, free: 10.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 11 * 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.0001417/0.3199, allocations: 143 kB / 0.5704 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.3199, allocations: 11.91 kB / 0.5704 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004619/0.3204, allocations: 182.9 kB / 0.5706 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3204, allocations: 0 / 0.5706 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3204, allocations: 0 / 0.5706 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3204, allocations: 0 / 0.5706 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.3206, allocations: 212.5 kB / 0.5708 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3206, allocations: 0 / 0.5708 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007196/0.3214, allocations: 83.91 kB / 0.5709 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.3214, allocations: 0 / 0.5709 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.3214, allocations: 3.984 kB / 0.5709 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/0.3226, allocations: 1.77 MB / 0.5726 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3226, allocations: 3.938 kB / 0.5726 GB, free: 8.422 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003985/0.323, allocations: 247.2 kB / 0.5729 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.222e-05/0.323, allocations: 20.06 kB / 0.5729 GB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.3231, allocations: 4 kB / 0.5729 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.3232, allocations: 11.98 kB / 0.5729 GB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.3232, allocations: 11.98 kB / 0.5729 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.3232, allocations: 0 / 0.5729 GB, free: 8.117 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001269/0.3234, allocations: 148.8 kB / 0.5731 GB, free: 7.973 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3234, allocations: 0 / 0.5731 GB, free: 7.973 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003133/0.3237, allocations: 39.94 kB / 0.5731 GB, free: 7.934 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 (11): * Single equations (assignments): 8 * 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.000793/0.3245, allocations: 0.7906 MB / 0.5739 GB, free: 7.117 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.3257, allocations: 199.7 kB / 0.5741 GB, free: 6.922 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3257, allocations: 0 / 0.5741 GB, free: 6.922 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006631/0.3263, allocations: 108.1 kB / 0.5742 GB, free: 6.816 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.3267, allocations: 35.91 kB / 0.5742 GB, free: 6.781 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.3295, allocations: 2.111 MB / 0.5763 GB, free: 4.551 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.3299, allocations: 0.7435 MB / 0.577 GB, free: 3.781 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.33, allocations: 37.34 kB / 0.577 GB, free: 3.746 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.96e-05/0.3301, allocations: 39.42 kB / 0.5771 GB, free: 3.707 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3301, allocations: 4 kB / 0.5771 GB, free: 3.703 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02522/0.3553, allocations: 5.219 MB / 0.5822 GB, free: 14.65 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.65, allocations: 8.062 kB / 0.5822 GB, free: 14.64 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.638385681028012] Failed to read output from testmodel.py, exit status != 0: ['time', 'zeta_TOT[1]', 'zeta_TOT[2]', 'zeta_TOT[3]', 'rho', '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'] 12.826247434015386 12.854058008 12.537844005 Calling exit ...