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.001278/0.001278, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001403/0.001403, allocations: 213.5 kB / 24.52 MB, free: 3.918 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.414/1.414, allocations: 230.5 MB / 258.2 MB, free: 7.758 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.2197/0.2197, allocations: 46.94 MB / 361.6 MB, free: 4.02 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.002185/0.002185, allocations: 79.86 kB / 0.4969 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3012, allocations: 66.09 MB / 0.5615 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002962/0.3042, allocations: 1.771 MB / 0.5632 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.3055, allocations: 0.7761 MB / 0.564 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.746e-05/0.3056, allocations: 0 / 0.564 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.3058, allocations: 35.77 kB / 0.564 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002607/0.306, allocations: 83.64 kB / 0.5641 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.3062, allocations: 71.66 kB / 0.5641 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.3064, allocations: 135.5 kB / 0.5643 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.875e-05/0.3065, allocations: 13.81 kB / 0.5643 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.3066, allocations: 67.7 kB / 0.5643 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.3068, allocations: 95.62 kB / 0.5644 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.3068, allocations: 4 kB / 0.5644 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.3069, allocations: 51.97 kB / 0.5645 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.172e-05/0.307, allocations: 35.84 kB / 0.5645 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.444e-05/0.3071, allocations: 27.86 kB / 0.5646 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.3073, allocations: 143.4 kB / 0.5647 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3073, allocations: 0 / 0.5647 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3073, allocations: 0 / 0.5647 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.3073, allocations: 0 / 0.5647 GB, free: 0.7227 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.0005581/0.3079, allocations: 329.9 kB / 0.565 GB, free: 380 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.3079, allocations: 8.031 kB / 0.565 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.143e-05/0.3079, allocations: 8.125 kB / 0.565 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.455e-05/0.308, allocations: 54.67 kB / 0.5651 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003438/0.3083, allocations: 36.81 kB / 0.5651 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.3085, allocations: 126.5 kB / 0.5652 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.3085, allocations: 24.09 kB / 0.5652 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.3085, allocations: 4 kB / 0.5653 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004435/0.309, allocations: 177.2 kB / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.309, allocations: 4 kB / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.309, allocations: 0 / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.076e-05/0.3091, allocations: 11.98 kB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004675/0.3095, allocations: 143.8 kB / 0.5656 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.3107, allocations: 0.5388 MB / 0.5661 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004556/0.3111, allocations: 114.7 kB / 0.5662 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.3113, allocations: 36.83 kB / 0.5662 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.3113, allocations: 0 / 0.5662 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.3113, allocations: 42.5 kB / 0.5663 GB, free: 14.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.3113, allocations: 0 / 0.5663 GB, free: 14.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004511/0.3118, allocations: 129.6 kB / 0.5664 GB, free: 14.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.3118, allocations: 55.41 kB / 0.5665 GB, free: 14.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.3119, allocations: 130 kB / 0.5666 GB, free: 14.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.3119, allocations: 25.7 kB / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.978e-05/0.312, allocations: 124.1 kB / 0.5667 GB, free: 14.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.312, allocations: 27.78 kB / 0.5668 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/0.3121, allocations: 29.72 kB / 0.5668 GB, free: 14.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3122, allocations: 322.8 kB / 0.5671 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.3123, allocations: 35.97 kB / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.3125, allocations: 95.62 kB / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.3128, allocations: 148 kB / 0.5674 GB, free: 13.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3128, allocations: 0 / 0.5674 GB, free: 13.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003719/0.3131, allocations: 165.4 kB / 0.5675 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.3132, allocations: 11.94 kB / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3132, allocations: 0 / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3132, allocations: 4 kB / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.3133, allocations: 35.98 kB / 0.5676 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.3134, allocations: 8.172 kB / 0.5676 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.886e-05/0.3135, allocations: 23.89 kB / 0.5676 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.3135, allocations: 8 kB / 0.5676 GB, free: 13.46 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.0001145/0.3136, allocations: 133.6 kB / 0.5677 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.3136, allocations: 7.953 kB / 0.5677 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003213/0.3139, allocations: 121.9 kB / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.3139, allocations: 4 kB / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3139, allocations: 0 / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.314, allocations: 4 kB / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.3142, allocations: 172.6 kB / 0.568 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3142, allocations: 0 / 0.568 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.3143, allocations: 23.98 kB / 0.568 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.3143, allocations: 4 kB / 0.5681 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.3143, allocations: 7.984 kB / 0.5681 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3143, allocations: 0 / 0.5681 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3143, allocations: 0 / 0.5681 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.3147, allocations: 215.3 kB / 0.5683 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.408e-05/0.3147, allocations: 11.89 kB / 0.5683 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.3147, allocations: 4 kB / 0.5683 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.3148, allocations: 7.984 kB / 0.5683 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.3148, allocations: 7.984 kB / 0.5683 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.3149, allocations: 0 / 0.5683 GB, free: 12.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.625e-05/0.3149, allocations: 95.27 kB / 0.5684 GB, free: 12.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3149, allocations: 0 / 0.5684 GB, free: 12.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.3152, allocations: 31.89 kB / 0.5684 GB, free: 12.55 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.0007338/0.3159, allocations: 0.7513 MB / 0.5692 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003025/0.3162, allocations: 91.86 kB / 0.5692 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3162, allocations: 0.5 kB / 0.5692 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.3163, allocations: 43.91 kB / 0.5693 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.3166, allocations: 8 kB / 0.5693 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.3187, allocations: 1.678 MB / 0.5709 GB, free: 9.824 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.821e-05/0.3188, allocations: 97.3 kB / 0.571 GB, free: 9.711 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.193e-05/0.3189, allocations: 25.09 kB / 0.571 GB, free: 9.688 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.131e-05/0.319, allocations: 31.42 kB / 0.5711 GB, free: 9.656 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.319, allocations: 0 / 0.5711 GB, free: 9.656 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.3421, allocations: 2.484 MB / 0.5735 GB, free: 7.316 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.27, allocations: 4.062 kB / 0.5735 GB, free: 7.312 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: 14.171581968083046] 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.424327993998304 11.439587513 11.129279082 Calling exit ...