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.001545/0.001545, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002079/0.002079, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.429/1.429, allocations: 230.5 MB / 258.2 MB, free: 8.055 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.2229/0.2229, allocations: 46.93 MB / 361.6 MB, free: 4.211 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.002264/0.002264, allocations: 87.86 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.3006, allocations: 66.08 MB / 0.5615 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003357/0.304, allocations: 1.839 MB / 0.5633 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.3055, allocations: 0.8423 MB / 0.5642 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.839e-05/0.3056, allocations: 4 kB / 0.5642 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.3058, allocations: 39.75 kB / 0.5642 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002925/0.3061, allocations: 79.62 kB / 0.5643 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.3063, allocations: 75.67 kB / 0.5643 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.3065, allocations: 127.5 kB / 0.5645 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.802e-05/0.3065, allocations: 13.94 kB / 0.5645 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.3067, allocations: 75.7 kB / 0.5645 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.3069, allocations: 95.69 kB / 0.5646 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.3069, allocations: 4 kB / 0.5646 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.3071, allocations: 71.89 kB / 0.5647 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.18e-05/0.3072, allocations: 23.91 kB / 0.5647 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.84e-05/0.3072, allocations: 43.73 kB / 0.5648 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.3075, allocations: 147.3 kB / 0.5649 GB, free: 0.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3075, allocations: 0 / 0.5649 GB, free: 0.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3075, allocations: 0 / 0.5649 GB, free: 0.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.3075, allocations: 0 / 0.5649 GB, free: 0.707 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.0005839/0.3081, allocations: 337.9 kB / 0.5652 GB, free: 356 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3081, allocations: 8.031 kB / 0.5652 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.953e-05/0.3082, allocations: 46.72 kB / 0.5653 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003382/0.3085, allocations: 40.81 kB / 0.5653 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.3087, allocations: 130.4 kB / 0.5655 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.3087, allocations: 4.375 kB / 0.5655 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.3087, allocations: 11.94 kB / 0.5655 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003819/0.3091, allocations: 180.9 kB / 0.5656 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3091, allocations: 0 / 0.5656 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.3091, allocations: 11.98 kB / 0.5657 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.249e-05/0.3092, allocations: 11.98 kB / 0.5657 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003141/0.3095, allocations: 135.8 kB / 0.5658 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008848/0.3104, allocations: 0.6123 MB / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/0.3107, allocations: 110.6 kB / 0.5665 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.3108, allocations: 36.83 kB / 0.5665 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.3109, allocations: 0 / 0.5665 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.3109, allocations: 30.56 kB / 0.5666 GB, free: 14.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 8.31e-07/0.3109, allocations: 0 / 0.5666 GB, free: 14.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004434/0.3113, allocations: 145.7 kB / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.3114, allocations: 55.34 kB / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.3115, allocations: 129.9 kB / 0.5669 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.3115, allocations: 25.7 kB / 0.5669 GB, free: 14.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.723e-05/0.3116, allocations: 128.1 kB / 0.567 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.3116, allocations: 23.78 kB / 0.567 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/0.3117, allocations: 29.7 kB / 0.5671 GB, free: 14.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.3119, allocations: 322.8 kB / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.312, allocations: 39.97 kB / 0.5674 GB, free: 13.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.3121, allocations: 94.92 kB / 0.5675 GB, free: 13.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.3124, allocations: 143.5 kB / 0.5676 GB, free: 13.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3124, allocations: 8 kB / 0.5677 GB, free: 13.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003356/0.3127, allocations: 161.7 kB / 0.5678 GB, free: 13.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3128, allocations: 4 kB / 0.5678 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.3128, allocations: 4 kB / 0.5678 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3128, allocations: 256 / 0.5678 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.3129, allocations: 47.91 kB / 0.5679 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.313, allocations: 4 kB / 0.5679 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.3131, allocations: 23.88 kB / 0.5679 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.3131, allocations: 4 kB / 0.5679 GB, free: 13.38 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.0001147/0.3132, allocations: 133.6 kB / 0.568 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.3132, allocations: 7.953 kB / 0.568 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003228/0.3135, allocations: 126 kB / 0.5682 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3135, allocations: 0 / 0.5682 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3135, allocations: 0 / 0.5682 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3135, allocations: 3.984 kB / 0.5682 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.3138, allocations: 168.7 kB / 0.5683 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3138, allocations: 0 / 0.5683 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.3139, allocations: 27.92 kB / 0.5683 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3139, allocations: 8 kB / 0.5683 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.3139, allocations: 3.984 kB / 0.5684 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3139, allocations: 0 / 0.5684 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3139, allocations: 0 / 0.5684 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.3142, allocations: 211.4 kB / 0.5686 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.3142, allocations: 3.953 kB / 0.5686 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.3143, allocations: 11.92 kB / 0.5686 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.17e-05/0.3144, allocations: 8 kB / 0.5686 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.3144, allocations: 11.92 kB / 0.5686 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.3144, allocations: 0 / 0.5686 GB, free: 12.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.858e-05/0.3145, allocations: 95.27 kB / 0.5687 GB, free: 12.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3145, allocations: 0 / 0.5687 GB, free: 12.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.3147, allocations: 31.89 kB / 0.5687 GB, free: 12.46 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.0006809/0.3154, allocations: 0.7475 MB / 0.5694 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002985/0.3157, allocations: 104.3 kB / 0.5695 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3157, allocations: 0 / 0.5695 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.3158, allocations: 35.97 kB / 0.5696 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.3161, allocations: 4 kB / 0.5696 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.3182, allocations: 1.68 MB / 0.5712 GB, free: 9.734 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.3186, allocations: 0.7118 MB / 0.5719 GB, free: 8.996 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.707e-05/0.3187, allocations: 33.06 kB / 0.5719 GB, free: 8.965 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.73e-05/0.3188, allocations: 27.44 kB / 0.572 GB, free: 8.941 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3188, allocations: 0 / 0.572 GB, free: 8.941 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02472/0.3435, allocations: 2.352 MB / 0.5743 GB, free: 6.691 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.888/8.232, allocations: 4 kB / 0.5743 GB, free: 6.688 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_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_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.00999872200191] 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.29812233382836 8.313383502 8.002681311 Calling exit ...