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.00139/0.00139, allocations: 105.1 kB / 21.22 MB, free: 0.5078 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.0015/0.0015, allocations: 214.9 kB / 24.52 MB, free: 3.684 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.395/1.395, allocations: 230.5 MB / 258.2 MB, free: 7.75 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.2203/0.2203, allocations: 46.95 MB / 361.6 MB, free: 3.938 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.002231/0.002231, allocations: 79.88 kB / 0.4969 GB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2936, allocations: 66.08 MB / 0.5615 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003023/0.2966, allocations: 1.668 MB / 0.5631 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.298, allocations: 0.7878 MB / 0.5639 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.257e-05/0.298, allocations: 0 / 0.5639 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.2982, allocations: 35.84 kB / 0.5639 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.2984, allocations: 55.67 kB / 0.5639 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.2987, allocations: 103.6 kB / 0.564 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.299, allocations: 155.2 kB / 0.5642 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.806e-05/0.299, allocations: 9.062 kB / 0.5642 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.2992, allocations: 67.7 kB / 0.5643 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.2993, allocations: 79.67 kB / 0.5643 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.2993, allocations: 4 kB / 0.5643 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002584/0.2996, allocations: 139.8 kB / 0.5645 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.114e-05/0.2996, allocations: 43.78 kB / 0.5645 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.586e-05/0.2997, allocations: 47.73 kB / 0.5646 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.3, allocations: 209 kB / 0.5648 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3, allocations: 0 / 0.5648 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3, allocations: 0 / 0.5648 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.3, allocations: 0 / 0.5648 GB, free: 0.6484 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.0006024/0.3006, allocations: 397.4 kB / 0.5651 GB, free: 236 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.3007, allocations: 12.02 kB / 0.5652 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.983e-05/0.3007, allocations: 8.125 kB / 0.5652 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.086e-05/0.3008, allocations: 54.72 kB / 0.5652 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004702/0.3012, allocations: 52.8 kB / 0.5653 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.3015, allocations: 166.3 kB / 0.5654 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.3015, allocations: 12.12 kB / 0.5654 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.3015, allocations: 12 kB / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004707/0.302, allocations: 237.3 kB / 0.5657 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.302, allocations: 4 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.302, allocations: 4 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.678e-05/0.302, allocations: 23.92 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004632/0.3025, allocations: 223.8 kB / 0.5659 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.3036, allocations: 0.52 MB / 0.5664 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.3039, allocations: 86.5 kB / 0.5665 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.304, allocations: 48.81 kB / 0.5666 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.304, allocations: 3.938 kB / 0.5666 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.304, allocations: 30.56 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.304, allocations: 4 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005212/0.3046, allocations: 169.4 kB / 0.5668 GB, free: 14.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.3046, allocations: 51.41 kB / 0.5668 GB, free: 14.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.3048, allocations: 195.2 kB / 0.567 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.3048, allocations: 25.7 kB / 0.567 GB, free: 14.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.3049, allocations: 131.8 kB / 0.5671 GB, free: 14.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.305, allocations: 31.92 kB / 0.5672 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.966e-05/0.305, allocations: 41.59 kB / 0.5672 GB, free: 13.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3052, allocations: 322.8 kB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.3053, allocations: 51.94 kB / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.3055, allocations: 106.1 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003239/0.3058, allocations: 159 kB / 0.5678 GB, free: 13.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3058, allocations: 0 / 0.5678 GB, free: 13.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004024/0.3062, allocations: 189.3 kB / 0.568 GB, free: 13.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3063, allocations: 10.17 kB / 0.568 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.3063, allocations: 4 kB / 0.568 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3063, allocations: 0 / 0.568 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009088/0.3072, allocations: 95.83 kB / 0.5681 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.3086, allocations: 1.809 MB / 0.5699 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.3087, allocations: 19.89 kB / 0.5699 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.3088, allocations: 11.97 kB / 0.5699 GB, free: 11.07 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.000147/0.3089, allocations: 150 kB / 0.57 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.3089, allocations: 15.84 kB / 0.5701 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004654/0.3094, allocations: 175 kB / 0.5702 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.3094, allocations: 7.938 kB / 0.5702 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3094, allocations: 0 / 0.5702 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3094, allocations: 3.984 kB / 0.5702 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.3097, allocations: 204.5 kB / 0.5704 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3097, allocations: 0 / 0.5704 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007525/0.3105, allocations: 83.84 kB / 0.5705 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.3105, allocations: 0 / 0.5705 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.3105, allocations: 8 kB / 0.5705 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.3116, allocations: 1.766 MB / 0.5722 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3116, allocations: 4.031 kB / 0.5722 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003835/0.312, allocations: 243.3 kB / 0.5725 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.3121, allocations: 15.91 kB / 0.5725 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.3121, allocations: 288 / 0.5725 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.3122, allocations: 15.98 kB / 0.5725 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.3123, allocations: 11.92 kB / 0.5725 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.3123, allocations: 0 / 0.5725 GB, free: 8.238 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001316/0.3124, allocations: 144.9 kB / 0.5727 GB, free: 8.098 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3124, allocations: 0 / 0.5727 GB, free: 8.098 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003096/0.3127, allocations: 47.88 kB / 0.5727 GB, free: 8.051 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.0007706/0.3135, allocations: 0.7825 MB / 0.5735 GB, free: 7.242 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.3147, allocations: 212 kB / 0.5737 GB, free: 7.035 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3148, allocations: 0 / 0.5737 GB, free: 7.035 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006672/0.3154, allocations: 88.22 kB / 0.5738 GB, free: 6.949 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.3158, allocations: 44.06 kB / 0.5738 GB, free: 6.906 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.3185, allocations: 2.11 MB / 0.5759 GB, free: 4.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.3186, allocations: 122.6 kB / 0.576 GB, free: 4.535 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.3187, allocations: 41.31 kB / 0.576 GB, free: 4.496 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.504e-05/0.3188, allocations: 43.42 kB / 0.5761 GB, free: 4.453 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3188, allocations: 0 / 0.5761 GB, free: 4.453 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02649/0.3453, allocations: 5.5 MB / 0.5814 GB, free: 15.14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/12.89, allocations: 4 kB / 0.5814 GB, free: 15.14 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.835180327063426] 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'] 13.064536395017058 13.093498207 12.788195813 Calling exit ...