Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.42/1.42, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2212/0.2212, allocations: 44.9 MB / 359.6 MB, free: 6.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.89 kB / 0.4939 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3089, allocations: 65.48 MB / 0.5578 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003243/0.3121, allocations: 1.699 MB / 0.5595 GB, free: 6.059 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.3138, allocations: 0.8578 MB / 0.5603 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.973e-05/0.3138, allocations: 4 kB / 0.5603 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002114/0.314, allocations: 39.83 kB / 0.5604 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.3142, allocations: 51.67 kB / 0.5604 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.3145, allocations: 107.6 kB / 0.5605 GB, free: 5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.3147, allocations: 151.2 kB / 0.5607 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.467e-05/0.3148, allocations: 9.062 kB / 0.5607 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.315, allocations: 71.75 kB / 0.5607 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.3151, allocations: 75.62 kB / 0.5608 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.3151, allocations: 4 kB / 0.5608 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003065/0.3154, allocations: 159.8 kB / 0.561 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.161e-05/0.3155, allocations: 43.81 kB / 0.561 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.419e-05/0.3156, allocations: 59.61 kB / 0.5611 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003432/0.3159, allocations: 213 kB / 0.5613 GB, free: 4.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3159, allocations: 3.938 kB / 0.5613 GB, free: 4.227 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3159, allocations: 4 kB / 0.5613 GB, free: 4.223 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.316, allocations: 0 / 0.5613 GB, free: 4.223 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.0006187/0.3166, allocations: 397.4 kB / 0.5617 GB, free: 3.805 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3166, allocations: 12.03 kB / 0.5617 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.662e-05/0.3166, allocations: 4.188 kB / 0.5617 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.467e-05/0.3167, allocations: 46.73 kB / 0.5617 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000464/0.3171, allocations: 56.78 kB / 0.5618 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.3174, allocations: 162.3 kB / 0.5619 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.3174, allocations: 16.12 kB / 0.5619 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.3174, allocations: 12 kB / 0.5619 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004657/0.3179, allocations: 246.2 kB / 0.5622 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.3179, allocations: 0 / 0.5622 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.3179, allocations: 4 kB / 0.5622 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.494e-05/0.3179, allocations: 19.98 kB / 0.5622 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004493/0.3184, allocations: 227.8 kB / 0.5624 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.3196, allocations: 0.694 MB / 0.5631 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.3198, allocations: 86.48 kB / 0.5632 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.3199, allocations: 44.81 kB / 0.5632 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.3199, allocations: 7.938 kB / 0.5632 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.32, allocations: 38.5 kB / 0.5633 GB, free: 2.004 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.32, allocations: 0 / 0.5633 GB, free: 2.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005242/0.3205, allocations: 165.5 kB / 0.5634 GB, free: 1.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.3205, allocations: 51.41 kB / 0.5635 GB, free: 1.773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.3207, allocations: 191.2 kB / 0.5637 GB, free: 1.574 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.3208, allocations: 29.7 kB / 0.5637 GB, free: 1.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.891e-05/0.3209, allocations: 139.9 kB / 0.5638 GB, free: 1.398 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.3209, allocations: 27.78 kB / 0.5638 GB, free: 1.371 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.36e-05/0.321, allocations: 37.66 kB / 0.5639 GB, free: 1.328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3211, allocations: 322.8 kB / 0.5642 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.3212, allocations: 47.94 kB / 0.5642 GB, free: 0.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.3214, allocations: 110.8 kB / 0.5643 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.3218, allocations: 154.7 kB / 0.5645 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3218, allocations: 0 / 0.5645 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000426/0.3222, allocations: 201.6 kB / 0.5647 GB, free: 456 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3222, allocations: 4 kB / 0.5647 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.3222, allocations: 4 kB / 0.5647 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.3222, allocations: 4 kB / 0.5647 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009045/0.3231, allocations: 95.77 kB / 0.5648 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.3246, allocations: 1.809 MB / 0.5666 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.3248, allocations: 15.92 kB / 0.5666 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.3248, allocations: 11.98 kB / 0.5666 GB, free: 14.43 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.0001568/0.3249, allocations: 142.2 kB / 0.5667 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.325, allocations: 15.91 kB / 0.5667 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004884/0.3255, allocations: 175 kB / 0.5669 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3255, allocations: 0 / 0.5669 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3255, allocations: 0 / 0.5669 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3255, allocations: 4 kB / 0.5669 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.3258, allocations: 224.4 kB / 0.5671 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3258, allocations: 0 / 0.5671 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007299/0.3265, allocations: 79.84 kB / 0.5672 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3265, allocations: 0 / 0.5672 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.3265, allocations: 4 kB / 0.5672 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.3277, allocations: 1.77 MB / 0.5689 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3277, allocations: 0 / 0.5689 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004105/0.3281, allocations: 247.6 kB / 0.5692 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.4e-05/0.3282, allocations: 11.91 kB / 0.5692 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.3282, allocations: 4 kB / 0.5692 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.3283, allocations: 11.92 kB / 0.5692 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.3284, allocations: 11.92 kB / 0.5692 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.3284, allocations: 8 kB / 0.5692 GB, free: 11.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001286/0.3285, allocations: 137.8 kB / 0.5693 GB, free: 11.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3285, allocations: 3.938 kB / 0.5693 GB, free: 11.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003274/0.3288, allocations: 47.92 kB / 0.5694 GB, free: 11.41 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.0008248/0.3297, allocations: 0.7826 MB / 0.5702 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.331, allocations: 204 kB / 0.5703 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.331, allocations: 0 / 0.5703 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006771/0.3316, allocations: 100.1 kB / 0.5704 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.3321, allocations: 55.98 kB / 0.5705 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.3349, allocations: 2.103 MB / 0.5725 GB, free: 8.027 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.3352, allocations: 0.7358 MB / 0.5733 GB, free: 7.266 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.3354, allocations: 41.28 kB / 0.5733 GB, free: 7.227 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.883e-05/0.3354, allocations: 51.41 kB / 0.5734 GB, free: 7.176 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3354, allocations: 0 / 0.5734 GB, free: 7.176 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02695/0.3624, allocations: 5.223 MB / 0.5785 GB, free: 2.156 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.11, allocations: 0 / 0.5785 GB, free: 2.156 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.178392844973132] 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.287985871022101 13.30597068 12.986656915 Calling exit ...