Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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.001773/0.001773, allocations: 109.1 kB / 20.22 MB, free: 1.812 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.00218/0.00218, allocations: 220.9 kB / 23.48 MB, free: 5.254 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.42/1.42, allocations: 230.2 MB / 256.8 MB, free: 8.582 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2211/0.2211, allocations: 46.89 MB / 360 MB, free: 4.73 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 79.88 kB / 0.4951 GB, free: 8.527 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3037, allocations: 65.99 MB / 0.5595 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003112/0.3068, allocations: 1.826 MB / 0.5613 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.3081, allocations: 0.8462 MB / 0.5622 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.22e-05/0.3082, allocations: 0 / 0.5622 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002049/0.3084, allocations: 39.75 kB / 0.5622 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.3087, allocations: 79.64 kB / 0.5623 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.3089, allocations: 71.66 kB / 0.5623 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.309, allocations: 135.5 kB / 0.5625 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.684e-05/0.3091, allocations: 13.75 kB / 0.5625 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.3093, allocations: 71.69 kB / 0.5626 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.3094, allocations: 91.69 kB / 0.5626 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.3095, allocations: 4 kB / 0.5626 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.3096, allocations: 71.89 kB / 0.5627 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.144e-05/0.3097, allocations: 31.84 kB / 0.5627 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.771e-05/0.3097, allocations: 39.8 kB / 0.5628 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.31, allocations: 143.4 kB / 0.5629 GB, free: 1.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.31, allocations: 3.938 kB / 0.5629 GB, free: 1.562 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.31, allocations: 0 / 0.5629 GB, free: 1.562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.31, allocations: 0 / 0.5629 GB, free: 1.562 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005734/0.3106, allocations: 411 kB / 0.5633 GB, free: 1.113 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3106, allocations: 8.031 kB / 0.5633 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.095e-05/0.3107, allocations: 42.73 kB / 0.5634 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002827/0.311, allocations: 44.81 kB / 0.5634 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.3111, allocations: 184.3 kB / 0.5636 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.3112, allocations: 8.312 kB / 0.5636 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.3112, allocations: 15.94 kB / 0.5636 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/0.3115, allocations: 172.1 kB / 0.5638 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.3116, allocations: 0 / 0.5638 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.3116, allocations: 8 kB / 0.5638 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.3116, allocations: 11.98 kB / 0.5638 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003164/0.3119, allocations: 131.8 kB / 0.5639 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008582/0.3128, allocations: 0.6445 MB / 0.5645 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.3131, allocations: 106.6 kB / 0.5646 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.3132, allocations: 44.81 kB / 0.5647 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.3132, allocations: 3.938 kB / 0.5647 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.3133, allocations: 34.56 kB / 0.5647 GB, free: 15.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.3133, allocations: 0 / 0.5647 GB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004238/0.3137, allocations: 133.8 kB / 0.5648 GB, free: 15.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.3137, allocations: 51.41 kB / 0.5649 GB, free: 15.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.3138, allocations: 130 kB / 0.565 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.3138, allocations: 25.7 kB / 0.565 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.385e-05/0.3139, allocations: 128.1 kB / 0.5652 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.314, allocations: 27.88 kB / 0.5652 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/0.314, allocations: 29.7 kB / 0.5652 GB, free: 14.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.3141, allocations: 326.8 kB / 0.5655 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.3143, allocations: 35.97 kB / 0.5656 GB, free: 14.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.3144, allocations: 95.69 kB / 0.5657 GB, free: 14.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.3147, allocations: 143.6 kB / 0.5658 GB, free: 14.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3147, allocations: 4 kB / 0.5658 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003246/0.315, allocations: 161.3 kB / 0.566 GB, free: 14.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.315, allocations: 4 kB / 0.566 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.315, allocations: 4 kB / 0.566 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.315, allocations: 3.984 kB / 0.566 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.3152, allocations: 40.17 kB / 0.566 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.3152, allocations: 8 kB / 0.566 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.987e-05/0.3153, allocations: 23.88 kB / 0.566 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.3153, allocations: 4 kB / 0.566 GB, free: 14.04 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.3154, allocations: 129.7 kB / 0.5662 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.3155, allocations: 11.94 kB / 0.5662 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003332/0.3158, allocations: 133.9 kB / 0.5663 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3158, allocations: 0 / 0.5663 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3158, allocations: 4 kB / 0.5663 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3158, allocations: 0 / 0.5663 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.316, allocations: 197.6 kB / 0.5665 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.316, allocations: 0 / 0.5665 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.3162, allocations: 27.97 kB / 0.5665 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3162, allocations: 0 / 0.5665 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.3162, allocations: 4 kB / 0.5665 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.3162, allocations: 3.938 kB / 0.5665 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3162, allocations: 4 kB / 0.5665 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.3165, allocations: 211.3 kB / 0.5667 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.307e-05/0.3165, allocations: 85.06 kB / 0.5668 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.3166, allocations: 4 kB / 0.5668 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.395e-05/0.3167, allocations: 7.984 kB / 0.5668 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.3167, allocations: 8 kB / 0.5668 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.3167, allocations: 0 / 0.5668 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.995e-05/0.3168, allocations: 95.27 kB / 0.5669 GB, free: 13.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3168, allocations: 0 / 0.5669 GB, free: 13.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.317, allocations: 27.95 kB / 0.567 GB, free: 13 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006499/0.3177, allocations: 0.7591 MB / 0.5677 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002858/0.318, allocations: 91.81 kB / 0.5678 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.318, allocations: 0.5 kB / 0.5678 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.3181, allocations: 40.44 kB / 0.5678 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.3183, allocations: 7.984 kB / 0.5678 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.3203, allocations: 1.69 MB / 0.5695 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.3206, allocations: 0.7088 MB / 0.5702 GB, free: 9.527 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.3208, allocations: 28.53 kB / 0.5702 GB, free: 9.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.773e-05/0.3208, allocations: 31.42 kB / 0.5702 GB, free: 9.473 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.3208, allocations: 0 / 0.5702 GB, free: 9.473 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.3439, allocations: 2.267 MB / 0.5724 GB, free: 7.312 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.896/8.24, allocations: 4.062 kB / 0.5724 GB, free: 7.309 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.146128341904841] Failed to read output from testmodel.py, exit status != 0: ['time', 'MIN', 'A_cross', 'roughness', 'd_hyd', 'K[1]', 'L', 'eta', 'rho', 'input_mdot[1]', 'input_dp[1]', 'M_FLOW[1]', 'DP[1]', 'velocity[1]', 'Re[1]', 'DP_plot[1]', 'zeta_TOT[1]', 'lambda_FRI[1]', 'input_DP.y'] 8.319588779937476 8.33649041 8.023083661 Calling exit ...