Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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.001792/0.001792, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.00224/0.00224, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.499/1.499, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.2209/0.2209, allocations: 44.91 MB / 359.6 MB, free: 6.281 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.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_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.002006/0.002006, allocations: 67.89 kB / 0.4939 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3193, allocations: 65.48 MB / 0.5578 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003229/0.3225, allocations: 1.821 MB / 0.5596 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.324, allocations: 0.8578 MB / 0.5604 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.326e-05/0.3241, allocations: 4 kB / 0.5604 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002292/0.3243, allocations: 35.75 kB / 0.5605 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003038/0.3246, allocations: 79.64 kB / 0.5606 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.3248, allocations: 71.67 kB / 0.5606 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.325, allocations: 135.5 kB / 0.5607 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.725e-05/0.3251, allocations: 9.953 kB / 0.5608 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002012/0.3253, allocations: 79.69 kB / 0.5608 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.3255, allocations: 87.7 kB / 0.5609 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.3255, allocations: 4 kB / 0.5609 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.3256, allocations: 67.94 kB / 0.561 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.667e-05/0.3257, allocations: 31.84 kB / 0.561 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.387e-05/0.3258, allocations: 43.73 kB / 0.5611 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.3261, allocations: 143.4 kB / 0.5612 GB, free: 4.312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3261, allocations: 0 / 0.5612 GB, free: 4.312 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3261, allocations: 4 kB / 0.5612 GB, free: 4.309 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.3261, allocations: 3.938 kB / 0.5612 GB, free: 4.305 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.000608/0.3267, allocations: 333.9 kB / 0.5615 GB, free: 3.949 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3267, allocations: 8.031 kB / 0.5615 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.408e-05/0.3267, allocations: 4.188 kB / 0.5615 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.371e-05/0.3268, allocations: 42.73 kB / 0.5616 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003311/0.3271, allocations: 40.8 kB / 0.5616 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.3273, allocations: 130.5 kB / 0.5617 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.3273, allocations: 16.06 kB / 0.5618 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.3273, allocations: 12 kB / 0.5618 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.3277, allocations: 172.1 kB / 0.5619 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3277, allocations: 0 / 0.5619 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.3277, allocations: 11.97 kB / 0.5619 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.736e-05/0.3278, allocations: 8 kB / 0.5619 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000324/0.3281, allocations: 135.8 kB / 0.5621 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008745/0.329, allocations: 0.6124 MB / 0.5627 GB, free: 2.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003266/0.3293, allocations: 106.6 kB / 0.5628 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.3294, allocations: 36.81 kB / 0.5628 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.3294, allocations: 7.984 kB / 0.5628 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.3294, allocations: 38.5 kB / 0.5629 GB, free: 2.449 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.3294, allocations: 3.938 kB / 0.5629 GB, free: 2.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004343/0.3299, allocations: 137.6 kB / 0.563 GB, free: 2.305 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.3299, allocations: 51.41 kB / 0.563 GB, free: 2.242 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.33, allocations: 126 kB / 0.5632 GB, free: 2.105 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.33, allocations: 25.7 kB / 0.5632 GB, free: 2.074 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.791e-05/0.3301, allocations: 132.2 kB / 0.5633 GB, free: 1.938 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.3302, allocations: 27.73 kB / 0.5633 GB, free: 1.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.332e-05/0.3302, allocations: 29.7 kB / 0.5634 GB, free: 1.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3304, allocations: 326.8 kB / 0.5637 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.3305, allocations: 35.97 kB / 0.5637 GB, free: 1.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.3306, allocations: 95.69 kB / 0.5638 GB, free: 1.391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.3309, allocations: 139.9 kB / 0.5639 GB, free: 1.227 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3309, allocations: 0 / 0.5639 GB, free: 1.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000329/0.3313, allocations: 161.4 kB / 0.5641 GB, free: 1.062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3313, allocations: 10.66 kB / 0.5641 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.3313, allocations: 0 / 0.5641 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.3313, allocations: 4 kB / 0.5641 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.3315, allocations: 43.91 kB / 0.5641 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.3315, allocations: 4 kB / 0.5642 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.796e-05/0.3316, allocations: 20.12 kB / 0.5642 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.3316, allocations: 12 kB / 0.5642 GB, free: 0.9727 MB / 398.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.000107/0.3317, allocations: 133.6 kB / 0.5643 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.3317, allocations: 7.953 kB / 0.5643 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003227/0.332, allocations: 122 kB / 0.5644 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.332, allocations: 4 kB / 0.5644 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.3321, allocations: 0 / 0.5644 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3321, allocations: 4 kB / 0.5644 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.3323, allocations: 168.7 kB / 0.5646 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3323, allocations: 0 / 0.5646 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.3324, allocations: 27.97 kB / 0.5646 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3324, allocations: 0 / 0.5646 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.3324, allocations: 4 kB / 0.5646 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3324, allocations: 3.938 kB / 0.5646 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3324, allocations: 4 kB / 0.5646 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.3327, allocations: 215.4 kB / 0.5648 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.3328, allocations: 7.953 kB / 0.5649 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.3328, allocations: 7.938 kB / 0.5649 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.71e-05/0.3329, allocations: 7.984 kB / 0.5649 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.3329, allocations: 4 kB / 0.5649 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.3329, allocations: 0 / 0.5649 GB, free: 188 kB / 398.1 MB Notification: Performance of sorting global known variables: time 6.017e-05/0.333, allocations: 103.2 kB / 0.565 GB, free: 84 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.333, allocations: 0 / 0.565 GB, free: 84 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.3332, allocations: 31.89 kB / 0.565 GB, free: 52 kB / 398.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.0006669/0.3339, allocations: 0.7474 MB / 0.5657 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002995/0.3342, allocations: 91.81 kB / 0.5658 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.3342, allocations: 0 / 0.5658 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.3343, allocations: 40.45 kB / 0.5659 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.3346, allocations: 12 kB / 0.5659 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.3366, allocations: 1.677 MB / 0.5675 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.337, allocations: 0.708 MB / 0.5682 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.131e-05/0.3371, allocations: 33.08 kB / 0.5682 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.666e-05/0.3371, allocations: 31.42 kB / 0.5683 GB, free: 12.54 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3371, allocations: 0 / 0.5683 GB, free: 12.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.3579, allocations: 2.487 MB / 0.5707 GB, free: 10.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.53, allocations: 4.062 kB / 0.5707 GB, free: 10.22 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.587212061975151] 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'] 11.687413784966338 11.710675563 11.380213554000001 Calling exit ...