Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001513/0.001513, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001652/0.001652, allocations: 216.5 kB / 24.53 MB, free: 4.012 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.381/1.381, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.2224/0.2224, allocations: 46.93 MB / 361.6 MB, free: 4.18 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.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 72.16 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3032, allocations: 66.1 MB / 0.5615 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003213/0.3064, allocations: 1.82 MB / 0.5633 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.3079, allocations: 0.8462 MB / 0.5641 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.327e-05/0.308, allocations: 0 / 0.5641 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.3082, allocations: 43.75 kB / 0.5642 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003128/0.3085, allocations: 79.58 kB / 0.5643 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.3088, allocations: 67.72 kB / 0.5643 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.309, allocations: 139.4 kB / 0.5645 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.86e-05/0.309, allocations: 17.8 kB / 0.5645 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.3092, allocations: 67.77 kB / 0.5645 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.3094, allocations: 91.69 kB / 0.5646 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.3094, allocations: 4 kB / 0.5646 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.3096, allocations: 67.89 kB / 0.5647 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.647e-05/0.3096, allocations: 27.91 kB / 0.5647 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.582e-05/0.3097, allocations: 43.73 kB / 0.5648 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.31, allocations: 147.3 kB / 0.5649 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.31, allocations: 0 / 0.5649 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.31, allocations: 0 / 0.5649 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.31, allocations: 0 / 0.5649 GB, free: 0.7969 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.0005955/0.3106, allocations: 337.9 kB / 0.5652 GB, free: 448 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3106, allocations: 8.031 kB / 0.5652 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.074e-05/0.3106, allocations: 4.188 kB / 0.5652 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.037e-05/0.3107, allocations: 54.72 kB / 0.5653 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003631/0.3111, allocations: 32.81 kB / 0.5653 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.3113, allocations: 130.4 kB / 0.5654 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.3113, allocations: 12.12 kB / 0.5655 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.3113, allocations: 12 kB / 0.5655 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004246/0.3117, allocations: 177.2 kB / 0.5656 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3117, allocations: 3.938 kB / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.3117, allocations: 3.984 kB / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.212e-05/0.3118, allocations: 11.98 kB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003298/0.3121, allocations: 135.9 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009035/0.313, allocations: 0.6084 MB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000338/0.3133, allocations: 110.6 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.3135, allocations: 36.83 kB / 0.5665 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.3135, allocations: 3.938 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.3135, allocations: 34.56 kB / 0.5666 GB, free: 14.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.3135, allocations: 4 kB / 0.5666 GB, free: 14.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004507/0.314, allocations: 133.5 kB / 0.5667 GB, free: 14.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.314, allocations: 55.41 kB / 0.5667 GB, free: 14.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.3141, allocations: 133 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.3142, allocations: 25.7 kB / 0.5669 GB, free: 14.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.314e-05/0.3142, allocations: 124.2 kB / 0.567 GB, free: 14.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.3143, allocations: 31.78 kB / 0.567 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/0.3143, allocations: 29.72 kB / 0.5671 GB, free: 14.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3145, allocations: 322.8 kB / 0.5674 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.3146, allocations: 35.97 kB / 0.5674 GB, free: 14.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.3147, allocations: 91.69 kB / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.315, allocations: 147.8 kB / 0.5676 GB, free: 13.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.315, allocations: 0 / 0.5676 GB, free: 13.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003454/0.3154, allocations: 161.5 kB / 0.5678 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.3154, allocations: 10.34 kB / 0.5678 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3154, allocations: 0 / 0.5678 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3154, allocations: 4 kB / 0.5678 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.3156, allocations: 47.91 kB / 0.5679 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3156, allocations: 0 / 0.5679 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.869e-05/0.3157, allocations: 19.88 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.3157, allocations: 8 kB / 0.5679 GB, free: 13.47 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.0001119/0.3158, allocations: 145.7 kB / 0.568 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.3158, allocations: 7.953 kB / 0.568 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003266/0.3162, allocations: 118 kB / 0.5681 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.3162, allocations: 3.984 kB / 0.5681 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3162, allocations: 7.938 kB / 0.5681 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.3162, allocations: 3.984 kB / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.3164, allocations: 168.7 kB / 0.5683 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3164, allocations: 0 / 0.5683 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.3165, allocations: 27.98 kB / 0.5683 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3165, allocations: 0 / 0.5683 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.3165, allocations: 7.984 kB / 0.5683 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.3165, allocations: 4 kB / 0.5684 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3166, allocations: 0 / 0.5684 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.3169, allocations: 215.3 kB / 0.5686 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.38e-05/0.3169, allocations: 7.953 kB / 0.5686 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.3169, allocations: 3.984 kB / 0.5686 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.383e-05/0.317, allocations: 7.938 kB / 0.5686 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.317, allocations: 15.92 kB / 0.5686 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.317, allocations: 0 / 0.5686 GB, free: 12.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.984e-05/0.3171, allocations: 95.27 kB / 0.5687 GB, free: 12.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3171, allocations: 0 / 0.5687 GB, free: 12.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.3174, allocations: 31.89 kB / 0.5687 GB, free: 12.53 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.0006371/0.318, allocations: 0.7397 MB / 0.5694 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002896/0.3183, allocations: 99.8 kB / 0.5695 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3183, allocations: 0 / 0.5695 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.3184, allocations: 35.97 kB / 0.5696 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.3186, allocations: 11.94 kB / 0.5696 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.3206, allocations: 1.684 MB / 0.5712 GB, free: 9.812 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.3209, allocations: 0.7041 MB / 0.5719 GB, free: 9.082 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.827e-05/0.321, allocations: 28.45 kB / 0.5719 GB, free: 9.055 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.627e-05/0.3211, allocations: 27.44 kB / 0.572 GB, free: 9.031 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3211, allocations: 0 / 0.572 GB, free: 9.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.3414, allocations: 2.483 MB / 0.5744 GB, free: 6.688 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.03, allocations: 7.062 kB / 0.5744 GB, free: 6.684 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.891348939971067] 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.182706264022272 11.197129955 10.884201203 Calling exit ...